pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-hyperlink



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Mar  5 12:31:17 UTC 2018

Modified Files:
        pkgsrc/www/py-hyperlink: Makefile PLIST distinfo

Log Message:
py-hyperlink: updated to 18.0.0

18.0.0:
When passed to str() URLs now stringify to usable URL strings.
Switched off of Python's built-in IDNA facilities to using the idna package. Not only is it much more modern, it's also much more strict and correct in its output.
Added new DecodedURL type with almost-identical API to the normal URL, except that it automatically handles reserved characters in argument values passed to its methods.
Added top-level parse() convenience function that now represents the main entrypoint to hyperlink.
Accept dictionaries as ‘query=’ arguments, in addition to sequences of tuples
URL.child() will no longer fail when child gets no segments
URL.normalize() now supports encoding stray/unmatched % characters in character-encoded fields (userinfo, path, query string, fragment)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-hyperlink/Makefile \
    pkgsrc/www/py-hyperlink/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-hyperlink/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-hyperlink/Makefile
diff -u pkgsrc/www/py-hyperlink/Makefile:1.3 pkgsrc/www/py-hyperlink/Makefile:1.4
--- pkgsrc/www/py-hyperlink/Makefile:1.3        Sun Aug 27 13:09:34 2017
+++ pkgsrc/www/py-hyperlink/Makefile    Mon Mar  5 12:31:17 2018
@@ -1,16 +1,18 @@
-# $NetBSD: Makefile,v 1.3 2017/08/27 13:09:34 adam Exp $
+# $NetBSD: Makefile,v 1.4 2018/03/05 12:31:17 adam Exp $
 
-DISTNAME=      hyperlink-17.3.1
+DISTNAME=      hyperlink-18.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hyperlink/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/python-hyper/hyperlink/
+HOMEPAGE=      https://github.com/python-hyper/hyperlink
 COMMENT=       Featureful, correct URL for Python
 LICENSE=       modified-bsd
 
-USE_LANGUAGES=         # empty
+DEPENDS+=      ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
+
+USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-hyperlink/distinfo
diff -u pkgsrc/www/py-hyperlink/distinfo:1.3 pkgsrc/www/py-hyperlink/distinfo:1.4
--- pkgsrc/www/py-hyperlink/distinfo:1.3        Sun Aug 27 13:09:34 2017
+++ pkgsrc/www/py-hyperlink/distinfo    Mon Mar  5 12:31:17 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2017/08/27 13:09:34 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/03/05 12:31:17 adam Exp $
 
-SHA1 (hyperlink-17.3.1.tar.gz) = adda500bc6a7c822309e51966f7d2d2e04115812
-RMD160 (hyperlink-17.3.1.tar.gz) = b77318cebf0c7dcade0c50536b1e54836a2656b6
-SHA512 (hyperlink-17.3.1.tar.gz) = c0c9d99a530c938b1d1e97b8344c5a0fb18f894c8b0b294cc8ae6aa6a550a5a0272cc6be7a913d371f3ce3dd8695b7ed239999f3ae5e8ce97e3693625ae761bb
-Size (hyperlink-17.3.1.tar.gz) = 91359 bytes
+SHA1 (hyperlink-18.0.0.tar.gz) = f51f4495795e51ae9468a13dd79ff26b3f457f40
+RMD160 (hyperlink-18.0.0.tar.gz) = 3a6a0286143a584a5989bcf74e07dfd26a150639
+SHA512 (hyperlink-18.0.0.tar.gz) = 21b5f88f7aaa3f2b0b60566fdb0fefdf6d42866060606dac181c8e3d357c76a5c23fa5dc982812af2b7d49dc1f9d623bd5bea89bf2cf31916c855bc4ae85589d
+Size (hyperlink-18.0.0.tar.gz) = 97625 bytes

Index: pkgsrc/www/py-hyperlink/PLIST
diff -u pkgsrc/www/py-hyperlink/PLIST:1.2 pkgsrc/www/py-hyperlink/PLIST:1.3
--- pkgsrc/www/py-hyperlink/PLIST:1.2   Thu Jul 20 10:28:33 2017
+++ pkgsrc/www/py-hyperlink/PLIST       Mon Mar  5 12:31:17 2018
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2017/07/20 10:28:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/03/05 12:31:17 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/hyperlink/__init__.py
 ${PYSITELIB}/hyperlink/__init__.pyc
@@ -19,6 +20,12 @@ ${PYSITELIB}/hyperlink/test/common.pyo
 ${PYSITELIB}/hyperlink/test/test_common.py
 ${PYSITELIB}/hyperlink/test/test_common.pyc
 ${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_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



Home | Main Index | Thread Index | Old Index