Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-yarl py-yarl: updated to 1.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7e57cf7afc41
branches:  trunk
changeset: 436139:7e57cf7afc41
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jul 27 17:25:02 2020 +0000

description:
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:

 www/py-yarl/Makefile |   4 ++--
 www/py-yarl/PLIST    |  21 ++++++++++++++-------
 www/py-yarl/distinfo |  10 +++++-----
 3 files changed, 21 insertions(+), 14 deletions(-)

diffs (60 lines):

diff -r 108c22d6a0fb -r 7e57cf7afc41 www/py-yarl/Makefile
--- a/www/py-yarl/Makefile      Mon Jul 27 17:21:40 2020 +0000
+++ b/www/py-yarl/Makefile      Mon Jul 27 17:25:02 2020 +0000
@@ -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 -r 108c22d6a0fb -r 7e57cf7afc41 www/py-yarl/PLIST
--- a/www/py-yarl/PLIST Mon Jul 27 17:21:40 2020 +0000
+++ b/www/py-yarl/PLIST Mon Jul 27 17:25:02 2020 +0000
@@ -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__.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 -r 108c22d6a0fb -r 7e57cf7afc41 www/py-yarl/distinfo
--- a/www/py-yarl/distinfo      Mon Jul 27 17:21:40 2020 +0000
+++ b/www/py-yarl/distinfo      Mon Jul 27 17:25:02 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index