Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-hyperlink py-hyperlink: updated to 20.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/4bba9a1f1837
branches: trunk
changeset: 436556:4bba9a1f1837
user: adam <adam%pkgsrc.org@localhost>
date: Wed Aug 05 06:46:02 2020 +0000
description:
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:
www/py-hyperlink/Makefile | 12 +++++++++---
www/py-hyperlink/PLIST | 15 ++++++++++++++-
www/py-hyperlink/distinfo | 10 +++++-----
3 files changed, 28 insertions(+), 9 deletions(-)
diffs (90 lines):
diff -r c454d4e9f15e -r 4bba9a1f1837 www/py-hyperlink/Makefile
--- a/www/py-hyperlink/Makefile Wed Aug 05 06:24:32 2020 +0000
+++ b/www/py-hyperlink/Makefile Wed Aug 05 06:46:02 2020 +0000
@@ -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 @@
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 -r c454d4e9f15e -r 4bba9a1f1837 www/py-hyperlink/PLIST
--- a/www/py-hyperlink/PLIST Wed Aug 05 06:24:32 2020 +0000
+++ b/www/py-hyperlink/PLIST Wed Aug 05 06:46:02 2020 +0000
@@ -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}/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_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 -r c454d4e9f15e -r 4bba9a1f1837 www/py-hyperlink/distinfo
--- a/www/py-hyperlink/distinfo Wed Aug 05 06:24:32 2020 +0000
+++ b/www/py-hyperlink/distinfo Wed Aug 05 06:46:02 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index