pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-stem py-stem: update to 1.8.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8e726af76ba6
branches: trunk
changeset: 410875:8e726af76ba6
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 30 23:32:23 2020 +0000
description:
py-stem: update to 1.8.0.
Stem 1.8 is the final release in Stem?s 1.x series and with it
Python 2.x support. Over a year in the making, this introduces
CollecTor, bandwidth metric, and HSv3 descriptor support.
Controller
Added get_start_time() method to the Controller
Added get_uptime() method to the Controller
Controller events could fail to be delivered in a timely fashion (ticket 27173)
Adjusted get_microdescriptors() fallback to also use '.new' cache files (ticket 28508)
ExitPolicies could raise TypeError when read concurrently (ticket 29899)
Moved the arrived_at attribute from Event to ControlMessage
STALE_DESC Flag (spec)
DORMANT and ACTIVE Signal (spec)
QUERY_RATE_LIMITED HSDescReason (spec)
EXTOR and HTTPTUNNEL Listener
Descriptors
Added the stem.descriptor.collector module (ticket 17979)
Added v3 hidden service descriptor support (ticket 31369)
Bandwidth file support (ticket 29056)
stem.descriptor.remote methods now raise stem.DownloadFailed
Check Ed25519 validity though the cryptography module rather than PyNaCl (ticket 22022)
Download compressed descriptors by default (ticket 29186)
Added Compression class
Added stem.descriptor.remote.get_microdescriptors()
Added stem.descriptor.remote.get_bandwidth_file() (ticket 26902)
Added DetachedSignature parsing (ticket 28495)
Added from_str() method (ticket 28450)
Added type_annotation() method (ticket 28397)
Added digest() method (ticket 28398)
Added the hash_type and encoding arguments to ServerDescriptor and ExtraInfo's digest methods (ticket 28398)
Added the network status vote's new bandwidth_file_digest attribute (spec)
Added is_valid() and is_fresh() methods (ticket 28448)
Replaced RouterStatusEntryMicroV3() hex encoded digest attribute with a base64 encoded microdescriptor_digest
Replaced the digest attribute of Microdescriptor with a method by the same name (ticket 28398)
Default the version_flavor attribute of NetworkStatusDocumentV3 to 'ns' (spec)
DescriptorDownloader crashed if use_mirrors is set (ticket 28393)
Renamed stem.descriptor.hidden_service_descriptor to stem.descriptor.hidden_service
Don't download from Serge, a bridge authority that frequently timeout
Updated dizum authority's address (ticket 31406)
Client
Sockets with ORPorts errored if responses exceeded a hardcoded buffer size (ticket 28961)
Utilities
is_valid_hidden_service_address() now provides true if a v3 hidden servie address
Fixed 'invalid escape sequence' python 3.6 warnings (ticket 27270)
Website
Migrated to GitHub's issue tracker
Added NetBSD to our download page
Describe advanced listener usage
Exemplify manual SAFECOOKIE authentication
Update PyPI links (ticket 30137)
Interpreter
tor-prompt is now ~34% faster when used to non-interactively invoke commands
diffstat:
devel/py-stem/Makefile | 7 ++++---
devel/py-stem/PLIST | 14 +++++++++++++-
devel/py-stem/distinfo | 10 +++++-----
3 files changed, 22 insertions(+), 9 deletions(-)
diffs (82 lines):
diff -r 8ef9f89ebcd6 -r 8e726af76ba6 devel/py-stem/Makefile
--- a/devel/py-stem/Makefile Thu Jan 30 23:32:08 2020 +0000
+++ b/devel/py-stem/Makefile Thu Jan 30 23:32:23 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2019/11/03 10:18:29 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2020/01/30 23:32:23 wiz Exp $
-DISTNAME= stem-1.7.1
+DISTNAME= stem-1.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= net python
+CATEGORIES= devel net python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stem/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -17,6 +17,7 @@
DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-nacl-[0-9]*:../../security/py-nacl
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
diff -r 8ef9f89ebcd6 -r 8e726af76ba6 devel/py-stem/PLIST
--- a/devel/py-stem/PLIST Thu Jan 30 23:32:08 2020 +0000
+++ b/devel/py-stem/PLIST Thu Jan 30 23:32:23 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/10/23 01:42:34 riastradh Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/01/30 23:32:23 wiz Exp $
bin/tor-prompt
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/stem/__init__.py
@@ -24,15 +24,24 @@
${PYSITELIB}/stem/descriptor/__init__.py
${PYSITELIB}/stem/descriptor/__init__.pyc
${PYSITELIB}/stem/descriptor/__init__.pyo
+${PYSITELIB}/stem/descriptor/bandwidth_file.py
+${PYSITELIB}/stem/descriptor/bandwidth_file.pyc
+${PYSITELIB}/stem/descriptor/bandwidth_file.pyo
${PYSITELIB}/stem/descriptor/certificate.py
${PYSITELIB}/stem/descriptor/certificate.pyc
${PYSITELIB}/stem/descriptor/certificate.pyo
+${PYSITELIB}/stem/descriptor/collector.py
+${PYSITELIB}/stem/descriptor/collector.pyc
+${PYSITELIB}/stem/descriptor/collector.pyo
${PYSITELIB}/stem/descriptor/export.py
${PYSITELIB}/stem/descriptor/export.pyc
${PYSITELIB}/stem/descriptor/export.pyo
${PYSITELIB}/stem/descriptor/extrainfo_descriptor.py
${PYSITELIB}/stem/descriptor/extrainfo_descriptor.pyc
${PYSITELIB}/stem/descriptor/extrainfo_descriptor.pyo
+${PYSITELIB}/stem/descriptor/hidden_service.py
+${PYSITELIB}/stem/descriptor/hidden_service.pyc
+${PYSITELIB}/stem/descriptor/hidden_service.pyo
${PYSITELIB}/stem/descriptor/hidden_service_descriptor.py
${PYSITELIB}/stem/descriptor/hidden_service_descriptor.pyc
${PYSITELIB}/stem/descriptor/hidden_service_descriptor.pyo
@@ -125,6 +134,9 @@
${PYSITELIB}/stem/util/connection.py
${PYSITELIB}/stem/util/connection.pyc
${PYSITELIB}/stem/util/connection.pyo
+${PYSITELIB}/stem/util/ed25519.py
+${PYSITELIB}/stem/util/ed25519.pyc
+${PYSITELIB}/stem/util/ed25519.pyo
${PYSITELIB}/stem/util/enum.py
${PYSITELIB}/stem/util/enum.pyc
${PYSITELIB}/stem/util/enum.pyo
diff -r 8ef9f89ebcd6 -r 8e726af76ba6 devel/py-stem/distinfo
--- a/devel/py-stem/distinfo Thu Jan 30 23:32:08 2020 +0000
+++ b/devel/py-stem/distinfo Thu Jan 30 23:32:23 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/02/28 06:22:28 wiz Exp $
+$NetBSD: distinfo,v 1.3 2020/01/30 23:32:23 wiz Exp $
-SHA1 (stem-1.7.1.tar.gz) = e096c44dd6d2a119935df61e5f189af27a6e97a6
-RMD160 (stem-1.7.1.tar.gz) = 8d355a11d357d0d9581ea2d1cb2da83220211973
-SHA512 (stem-1.7.1.tar.gz) = a275f59bba650cb5bb151cf53fb1dd820334f9abbeae1a25e64502adc854c7f54c51bc3d6c1656b595d142fc0695ffad53aab3c57bc285421c1f4f10c9c3db4c
-Size (stem-1.7.1.tar.gz) = 2196854 bytes
+SHA1 (stem-1.8.0.tar.gz) = 8ca33b811e9368dee264176df980798f83935206
+RMD160 (stem-1.8.0.tar.gz) = ad16dab1188a8e9b011f2935b8f3e7691f177b90
+SHA512 (stem-1.8.0.tar.gz) = aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d
+Size (stem-1.8.0.tar.gz) = 2853802 bytes
Home |
Main Index |
Thread Index |
Old Index