pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-pybtex py-pybtex: updated to 0.23.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/84d7007132b3
branches: trunk
changeset: 443197:84d7007132b3
user: adam <adam%pkgsrc.org@localhost>
date: Tue Dec 08 15:03:58 2020 +0000
description:
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:
textproc/py-pybtex/Makefile | 4 ++--
textproc/py-pybtex/distinfo | 12 ++++++------
textproc/py-pybtex/patches/patch-setup.py | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diffs (49 lines):
diff -r c27bea8c2b46 -r 84d7007132b3 textproc/py-pybtex/Makefile
--- a/textproc/py-pybtex/Makefile Tue Dec 08 14:44:59 2020 +0000
+++ b/textproc/py-pybtex/Makefile Tue Dec 08 15:03:58 2020 +0000
@@ -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 -r c27bea8c2b46 -r 84d7007132b3 textproc/py-pybtex/distinfo
--- a/textproc/py-pybtex/distinfo Tue Dec 08 14:44:59 2020 +0000
+++ b/textproc/py-pybtex/distinfo Tue Dec 08 15:03:58 2020 +0000
@@ -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 -r c27bea8c2b46 -r 84d7007132b3 textproc/py-pybtex/patches/patch-setup.py
--- a/textproc/py-pybtex/patches/patch-setup.py Tue Dec 08 14:44:59 2020 +0000
+++ b/textproc/py-pybtex/patches/patch-setup.py Tue Dec 08 15:03:58 2020 +0000
@@ -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*']),
Home |
Main Index |
Thread Index |
Old Index