pkgsrc/www/py-hyperlink/Makefile
adam 6fa7709959 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)
2018-03-05 12:31:17 +00:00

18 lines
492 B
Makefile

# $NetBSD: Makefile,v 1.4 2018/03/05 12:31:17 adam Exp $
DISTNAME= hyperlink-18.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/hyperlink/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/python-hyper/hyperlink
COMMENT= Featureful, correct URL for Python
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"