diff options
author | adam <adam@pkgsrc.org> | 2020-07-27 17:25:02 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-07-27 17:25:02 +0000 |
commit | 4e4f2fb3937d0b73766b235dc6f0a7537b6ee3c7 (patch) | |
tree | 75c2f67b8b466755ffff67c144030178eeafb56c /www/py-yarl | |
parent | e8682a9bacf0de27d1ab5cbad4e135bf11331ef5 (diff) | |
download | pkgsrc-4e4f2fb3937d0b73766b235dc6f0a7537b6ee3c7.tar.gz |
py-yarl: updated to 1.5.0
1.5.0:
Features
- Convert host to lowercase on URL building.
- Allow using ``mod`` operator (`%`) for updating query string (an alias for ``update_query()`` method).
- Allow use of sequences such as ``list`` and ``tuple`` in the values
of a mapping such as ``dict`` to represent that a key has many values::
url = URL("http://example.com")
assert url.with_query({"a": [1, 2]}) == URL("http://example.com/?a=1&a=2")
- Support URL.build() with scheme and path (creates a relative URL).
- Cache slow IDNA encode/decode calls.
- Add ``@final`` / ``Final`` type hints
- Support URL authority/raw_authority properties and authority argument of ``URL.build()`` method.
- Hide the library implementation details, make the exposed public list very clean.
Diffstat (limited to 'www/py-yarl')
-rw-r--r-- | www/py-yarl/Makefile | 4 | ||||
-rw-r--r-- | www/py-yarl/PLIST | 21 | ||||
-rw-r--r-- | www/py-yarl/distinfo | 10 |
3 files changed, 21 insertions, 14 deletions
diff --git a/www/py-yarl/Makefile b/www/py-yarl/Makefile index d9c6f450920..0450d1f4fef 100644 --- a/www/py-yarl/Makefile +++ b/www/py-yarl/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.20 2019/12/11 09:00:36 adam Exp $ +# $NetBSD: Makefile,v 1.21 2020/07/27 17:25:02 adam Exp $ -DISTNAME= yarl-1.4.2 +DISTNAME= yarl-1.5.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=y/yarl/} diff --git a/www/py-yarl/PLIST b/www/py-yarl/PLIST index b838c156cc0..18ccf048891 100644 --- a/www/py-yarl/PLIST +++ b/www/py-yarl/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2018/05/02 07:07:41 adam Exp $ +@comment $NetBSD: PLIST,v 1.3 2020/07/27 17:25:02 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -8,10 +8,17 @@ ${PYSITELIB}/yarl/__init__.py ${PYSITELIB}/yarl/__init__.pyc ${PYSITELIB}/yarl/__init__.pyi ${PYSITELIB}/yarl/__init__.pyo -${PYSITELIB}/yarl/_quoting.c -${PYSITELIB}/yarl/_quoting.pyx -${PYSITELIB}/yarl/_quoting.so +${PYSITELIB}/yarl/_quoting.py +${PYSITELIB}/yarl/_quoting.pyc +${PYSITELIB}/yarl/_quoting.pyo +${PYSITELIB}/yarl/_quoting_c.c +${PYSITELIB}/yarl/_quoting_c.pyi +${PYSITELIB}/yarl/_quoting_c.pyx +${PYSITELIB}/yarl/_quoting_c.so +${PYSITELIB}/yarl/_quoting_py.py +${PYSITELIB}/yarl/_quoting_py.pyc +${PYSITELIB}/yarl/_quoting_py.pyo +${PYSITELIB}/yarl/_url.py +${PYSITELIB}/yarl/_url.pyc +${PYSITELIB}/yarl/_url.pyo ${PYSITELIB}/yarl/py.typed -${PYSITELIB}/yarl/quoting.py -${PYSITELIB}/yarl/quoting.pyc -${PYSITELIB}/yarl/quoting.pyo diff --git a/www/py-yarl/distinfo b/www/py-yarl/distinfo index ded34a978fb..af13ab86635 100644 --- a/www/py-yarl/distinfo +++ b/www/py-yarl/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.17 2019/12/11 09:00:36 adam Exp $ +$NetBSD: distinfo,v 1.18 2020/07/27 17:25:02 adam Exp $ -SHA1 (yarl-1.4.2.tar.gz) = 781353656b6318d0061c08faf0ccee111b18b494 -RMD160 (yarl-1.4.2.tar.gz) = 0c0c2cd97bd7e27039e1edbfe44786f62a224048 -SHA512 (yarl-1.4.2.tar.gz) = 036562b645d7b9b3ed4a749decb189587b41ab13b5dda5ff461b00eebadf1ecdbd8d5ae06932cc7d8b7ff551cd630f8671eb0f6c854b20996cda4a6897994fa0 -Size (yarl-1.4.2.tar.gz) = 163521 bytes +SHA1 (yarl-1.5.0.tar.gz) = d392d11706a45f2ee52b53e18658944d13bef737 +RMD160 (yarl-1.5.0.tar.gz) = 1fdaa6011be9e3c43f71ceb9a0c43cd9015bbfc2 +SHA512 (yarl-1.5.0.tar.gz) = 2e6aeb7c2d254395558c6ad689376f63da5bfec3213e4879fd096d1c60cba3653e3b4dc4793d8583ee37c4c75a3a4a69d6f00db73de88ee13c989e8bd44198e6 +Size (yarl-1.5.0.tar.gz) = 172945 bytes |