diff options
author | adam <adam@pkgsrc.org> | 2020-12-08 15:03:58 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-12-08 15:03:58 +0000 |
commit | 0e3fda5a2693da652de1da3e9fc1d821685946f1 (patch) | |
tree | e15f924479097ecf8cf3b4b3ab44cea9d674dc1f /textproc | |
parent | 5e397e6fb92da08d7a067fef3f1884f567861350 (diff) | |
download | pkgsrc-0e3fda5a2693da652de1da3e9fc1d821685946f1.tar.gz |
py-pybtex: updated to 0.23.0
Version 0.23.0
--------------
- Reimplemented :py:class:`~pybtex.utils.OrderedCaseInsensitiveDict` using
:py:class:`python:collections.OrderedDict` (so it has a __delitem__).
- ``unsrt.py`` now supports type when formatting phdthesis.
- Added :py:meth:`~pybtex.database.BibliographyData.from_string` to
:py:class:`pybtex.database.BibliographyData`.
- Added :py:meth:`~pybtex.database.Entry.from_string` and
:py:meth:`~pybtex.database.Entry.to_string` to
:py:class:`pybtex.database.Entry`.
- Added indentation to ``__repr__`` in
:py:class:`pybtex.database.BibliographyData` and
:py:class:`pybtex.database.Entry`.
- Preserve order in
:py:meth:`pybtex.utils.OrderedCaseInsensitiveDict.__repr__`.
- Fixed entries with duplicate keys being removed during sorting.
- Fixed handling of duplicate person fields
- Use :py:mod:`~xml.etree.ElementTree` instead of the deprecated
``cElementTree``.
- Import base classes from :py:mod:`python:collections.abc` instead of
:py:mod:`python:collections`.
- Use ``__iter__`` instead of deprecated ``Element.getchildren()``.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-pybtex/Makefile | 4 | ||||
-rw-r--r-- | textproc/py-pybtex/distinfo | 12 | ||||
-rw-r--r-- | textproc/py-pybtex/patches/patch-setup.py | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/textproc/py-pybtex/Makefile b/textproc/py-pybtex/Makefile index 2203398e216..34066c9a01f 100644 --- a/textproc/py-pybtex/Makefile +++ b/textproc/py-pybtex/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2019/10/22 06:37:36 adam Exp $ +# $NetBSD: Makefile,v 1.6 2020/12/08 15:03:58 adam Exp $ -DISTNAME= pybtex-0.22.2 +DISTNAME= pybtex-0.23.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybtex/} diff --git a/textproc/py-pybtex/distinfo b/textproc/py-pybtex/distinfo index 361ed10c806..42f3f2694f0 100644 --- a/textproc/py-pybtex/distinfo +++ b/textproc/py-pybtex/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.4 2019/10/22 06:37:36 adam Exp $ +$NetBSD: distinfo,v 1.5 2020/12/08 15:03:58 adam Exp $ -SHA1 (pybtex-0.22.2.tar.gz) = d6b7ef53377cc7fe01bb9a9c80a0ed78f794ee6b -RMD160 (pybtex-0.22.2.tar.gz) = b4ae9fa536ae35dc6813f5706a01276a10306f5c -SHA512 (pybtex-0.22.2.tar.gz) = afabae8c47008651fa9c4c6546bf87f4a2c74d3184f1d0c1b4c2bd68ad8110ea37054026b5934312b86d97354a592bae5c0b6d384003b4e56f0157f6520b77a1 -Size (pybtex-0.22.2.tar.gz) = 363094 bytes -SHA1 (patch-setup.py) = 10bec6f1a6eace5baea5633425db1b7c4dabe2eb +SHA1 (pybtex-0.23.0.tar.gz) = 0901ed8adce1addac8ae9131a2b48ece2c429a6a +RMD160 (pybtex-0.23.0.tar.gz) = 74288f8e34f3db2d71d6dcb168fe8b13f33fa356 +SHA512 (pybtex-0.23.0.tar.gz) = 11b4c8141f237a25c320726b18fb254df077f4b644ac26fa2bf9f3d85c4301ab839f3544a3c1849243e75bbcbf194b25642b0ef11d354e3711578a4e19565bde +Size (pybtex-0.23.0.tar.gz) = 400649 bytes +SHA1 (patch-setup.py) = 5a0649e4ad5ca646fc87b906e6d78329e64628db diff --git a/textproc/py-pybtex/patches/patch-setup.py b/textproc/py-pybtex/patches/patch-setup.py index fffce8c04d2..f48258dbe1b 100644 --- a/textproc/py-pybtex/patches/patch-setup.py +++ b/textproc/py-pybtex/patches/patch-setup.py @@ -1,12 +1,12 @@ -$NetBSD: patch-setup.py,v 1.1 2018/12/13 21:01:01 adam Exp $ +$NetBSD: patch-setup.py,v 1.2 2020/12/08 15:03:58 adam Exp $ Do not install tests. ---- setup.py.orig 2018-12-13 20:55:25.000000000 +0000 +--- setup.py.orig 2020-12-08 14:55:32.000000000 +0000 +++ setup.py -@@ -82,7 +82,7 @@ setup( - ], +@@ -92,7 +92,7 @@ setup( install_requires=install_requires, + extras_require=extras_require, python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*', - packages=find_packages(exclude=['docs']), + packages=find_packages(exclude=['docs','tests*']), |