py-txtorcon: updated to 23.11.0

v23.11.0

* Fix test-failures on Python 3.12
* Particular GETINFO hanging
  (ultra-long lines over 16KiB caused problems in the protocol)
* Use built-in `mock` only
* Remove `incremental`
This commit is contained in:
adam 2024-01-20 08:51:16 +00:00
parent 5599df7218
commit 9a7fd8efc3
3 changed files with 17 additions and 20 deletions

View File

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2023/06/18 05:39:37 adam Exp $
# $NetBSD: Makefile,v 1.9 2024/01/20 08:51:16 adam Exp $
DISTNAME= txtorcon-23.5.0
DISTNAME= txtorcon-23.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/txtorcon/}
@ -10,12 +10,12 @@ HOMEPAGE= https://txtorcon.readthedocs.io/
COMMENT= Twisted Python library for controlling tor daemon
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-zope.interface>=3.6.1:../../devel/py-zope.interface
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-automat-[0-9]*:../../devel/py-automat
DEPENDS+= ${PYPKGPREFIX}-incremental-[0-9]*:../../devel/py-incremental
DEPENDS+= ${PYPKGPREFIX}-twisted>=15.5.0:../../net/py-twisted
DEPENDS+= ${PYPKGPREFIX}-zope.interface>=3.6.1:../../devel/py-zope.interface
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
@ -23,11 +23,7 @@ CHECK_INTERPRETER_SKIP+= share/txtorcon/examples/*
PYTHON_VERSIONS_INCOMPATIBLE= 27
# 2 failed, 678 passed, 2 skipped, 129 warnings
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
PYTHON_VERSIONED_DEPENDENCIES+= cryptography
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,9 +1,9 @@
@comment $NetBSD: PLIST,v 1.4 2020/05/16 17:55:38 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.5 2024/01/20 08:51:16 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.py
${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.pyc
${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.pyo
@ -89,6 +89,7 @@ share/txtorcon/examples/connect.py
share/txtorcon/examples/disallow_streams_by_port.py
share/txtorcon/examples/dns_lookups.py
share/txtorcon/examples/hidden_echo.py
share/txtorcon/examples/launch_onion.py
share/txtorcon/examples/launch_tor.py
share/txtorcon/examples/launch_tor2web.py
share/txtorcon/examples/launch_tor_endpoint.py

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2023/05/21 18:54:42 wiz Exp $
$NetBSD: distinfo,v 1.8 2024/01/20 08:51:16 adam Exp $
BLAKE2s (txtorcon-23.5.0.tar.gz) = 2ef409b6d140a17d0f2fcfeebc50e8462f7e90c865ac3260b4a3c6b5534ddb4d
SHA512 (txtorcon-23.5.0.tar.gz) = 68b4ddf22e4d00c8f5f964ccf192dec884434b96668c4f71de5e80170724e04e8ca96d0405fe773a5e86b357012120fe6a34a847cbd3db3e4e360b01e593db9c
Size (txtorcon-23.5.0.tar.gz) = 311564 bytes
BLAKE2s (txtorcon-23.11.0.tar.gz) = 2542ac63004a6aedd2e9ce1739537432cbee80d091631743f6801d32ea427853
SHA512 (txtorcon-23.11.0.tar.gz) = abc9776ad6e071a09f13e54c7582b5adab17efc752d485ff7a94baa3e71eb9c093983ceebeebd2218c85ed193bfd0b39dcd11a73d54bd2a28f9d9b2b9149ecd6
Size (txtorcon-23.11.0.tar.gz) = 313549 bytes