pkgsrc/devel/py-stem/Makefile
wiz eff8944749 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
2020-01-30 23:32:23 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2020/01/30 23:32:23 wiz Exp $
DISTNAME= stem-1.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel net python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stem/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://stem.torproject.org/
COMMENT= Python controller library for the tor daemon
LICENSE= gnu-gpl-v3
USE_LANGUAGES= # none
TOOL_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
TOOL_DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
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
REPLACE_PYTHON+= cache_fallback_directories.py
REPLACE_PYTHON+= cache_manual.py
REPLACE_PYTHON+= run_tests.py
REPLACE_PYTHON+= setup.py
REPLACE_PYTHON+= tor-prompt
do-test:
cd ${WRKSRC} && ./run_tests.py --unit
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"