diff options
author | adam <adam@pkgsrc.org> | 2020-08-05 06:46:02 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-08-05 06:46:02 +0000 |
commit | fe7512ac3d723095786d2bcfa5de7cffa5f87c56 (patch) | |
tree | 763393e8f9571dfa7a788ce122e045bb7d0d0788 /www | |
parent | afe7e0e4cc0efd191d760aaf3e25ac6b38797f5a (diff) | |
download | pkgsrc-fe7512ac3d723095786d2bcfa5de7cffa5f87c56.tar.gz |
py-hyperlink: updated to 20.0.1
20.0.1
Rerelease to fix packaging metadata around conditional requirements.
20.0.0
* CPython 3.7 and 3.8 and PyPy3 added to test matrix
* Hyperlink now has type hints and they are now exported per
[PEP 561](https://www.python.org/dev/peps/pep-0561/).
* Several bugs related to hidden state were fixed, making it so that all data
on a `URL` object (including `rooted` and `uses_netloc`) is reflected by and
consistent with its textual representation.
This does mean that sometimes these constructor arguments are ignored, if it
would create invalid or unparseable URL text.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-hyperlink/Makefile | 12 | ||||
-rw-r--r-- | www/py-hyperlink/PLIST | 15 | ||||
-rw-r--r-- | www/py-hyperlink/distinfo | 10 |
3 files changed, 28 insertions, 9 deletions
diff --git a/www/py-hyperlink/Makefile b/www/py-hyperlink/Makefile index ce992ecbbd2..cdcc125227a 100644 --- a/www/py-hyperlink/Makefile +++ b/www/py-hyperlink/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2019/08/11 13:25:07 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2020/08/05 06:46:02 adam Exp $ -DISTNAME= hyperlink-19.0.0 +DISTNAME= hyperlink-20.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/hyperlink/} @@ -12,8 +11,15 @@ COMMENT= Featureful, correct URL for Python LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna +.include "../../lang/python/pyversion.mk" +.if ${_PYTHON_VERSION} == 27 +DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing +.endif USE_LANGUAGES= # none +do-test: + cd ${WRKSRC}/src && ${PYTHONBIN} -m unittest discover -v + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-hyperlink/PLIST b/www/py-hyperlink/PLIST index 10a52705d09..67f449cf928 100644 --- a/www/py-hyperlink/PLIST +++ b/www/py-hyperlink/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2018/03/05 12:31:17 adam Exp $ +@comment $NetBSD: PLIST,v 1.4 2020/08/05 06:46:02 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -8,9 +8,16 @@ ${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/hyperlink/__init__.py ${PYSITELIB}/hyperlink/__init__.pyc ${PYSITELIB}/hyperlink/__init__.pyo +${PYSITELIB}/hyperlink/_socket.py +${PYSITELIB}/hyperlink/_socket.pyc +${PYSITELIB}/hyperlink/_socket.pyo ${PYSITELIB}/hyperlink/_url.py ${PYSITELIB}/hyperlink/_url.pyc ${PYSITELIB}/hyperlink/_url.pyo +${PYSITELIB}/hyperlink/hypothesis.py +${PYSITELIB}/hyperlink/hypothesis.pyc +${PYSITELIB}/hyperlink/hypothesis.pyo +${PYSITELIB}/hyperlink/py.typed ${PYSITELIB}/hyperlink/test/__init__.py ${PYSITELIB}/hyperlink/test/__init__.pyc ${PYSITELIB}/hyperlink/test/__init__.pyo @@ -23,12 +30,18 @@ ${PYSITELIB}/hyperlink/test/test_common.pyo ${PYSITELIB}/hyperlink/test/test_decoded_url.py ${PYSITELIB}/hyperlink/test/test_decoded_url.pyc ${PYSITELIB}/hyperlink/test/test_decoded_url.pyo +${PYSITELIB}/hyperlink/test/test_hypothesis.py +${PYSITELIB}/hyperlink/test/test_hypothesis.pyc +${PYSITELIB}/hyperlink/test/test_hypothesis.pyo ${PYSITELIB}/hyperlink/test/test_parse.py ${PYSITELIB}/hyperlink/test/test_parse.pyc ${PYSITELIB}/hyperlink/test/test_parse.pyo ${PYSITELIB}/hyperlink/test/test_scheme_registration.py ${PYSITELIB}/hyperlink/test/test_scheme_registration.pyc ${PYSITELIB}/hyperlink/test/test_scheme_registration.pyo +${PYSITELIB}/hyperlink/test/test_socket.py +${PYSITELIB}/hyperlink/test/test_socket.pyc +${PYSITELIB}/hyperlink/test/test_socket.pyo ${PYSITELIB}/hyperlink/test/test_url.py ${PYSITELIB}/hyperlink/test/test_url.pyc ${PYSITELIB}/hyperlink/test/test_url.pyo diff --git a/www/py-hyperlink/distinfo b/www/py-hyperlink/distinfo index 492fcf7f5bd..05987054b42 100644 --- a/www/py-hyperlink/distinfo +++ b/www/py-hyperlink/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2019/05/30 09:34:38 adam Exp $ +$NetBSD: distinfo,v 1.6 2020/08/05 06:46:02 adam Exp $ -SHA1 (hyperlink-19.0.0.tar.gz) = 7a1541bdf91f678f4581babd5556c9a8cbb7d46e -RMD160 (hyperlink-19.0.0.tar.gz) = b996d17692e60718e03e984df3c3fd072d930c0c -SHA512 (hyperlink-19.0.0.tar.gz) = 5d5723bc0bd0c381edd3a9ef7bab3ba9ad4252027d5a4afa61e6cfff3e5b8457994b6dd36ecc356e638d41f797fe3367a3010249e0e77bee6e9e94336c1e7c2e -Size (hyperlink-19.0.0.tar.gz) = 99099 bytes +SHA1 (hyperlink-20.0.1.tar.gz) = 2004894d4e90436988065c3cb00d13f4d9c1dcce +RMD160 (hyperlink-20.0.1.tar.gz) = 829fd84d5c8e2987018207bb82a5433c84ed67fe +SHA512 (hyperlink-20.0.1.tar.gz) = f935c09d35baf8a8a3c8d4dc6aaf64135d13dda4636187f5d47f3fe4de675498efa29cd93d802c0912db2fa371d0e58213767b1c3c42e5a14bb837ea96a72193 +Size (hyperlink-20.0.1.tar.gz) = 140291 bytes |