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.22.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b6835ce4086
branches:  trunk
changeset: 326745:5b6835ce4086
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Dec 13 20:45:49 2018 +0000

description:
py-pybtex: updated to 0.22.0

Version 0.22.0
Fixed handling of duplicate fields in .bib biles.
BibTeX parser is now up to 10% faster on some files.
Fixed parsing of names with \~ characters.
Fixed formatting proceedings without an editor field in unsrt.py.
In case of too many braces in a BibTeX string, PybtexSyntaxError is now raised instead of RecursionError.
Dropped 2to3, made the code compatible with both Python 2 and 3 with Six.
Moved tests outside of the pybtex package.
Fixed searching in docs with recent versions of Sphinx.
API: renamed bibtex.BibTeXEntryIterator to bibtex.LowLevelParser for clarity.
API: removed confusing usage of Person.text in tempate.names.
API: Entry.fields does not automagically look for cross-referenced entries anymore.

diffstat:

 textproc/py-pybtex/ALTERNATIVES |    3 +
 textproc/py-pybtex/Makefile     |   20 +++-
 textproc/py-pybtex/PLIST        |  174 ++++++++++++++++++++--------------------
 textproc/py-pybtex/distinfo     |   10 +-
 4 files changed, 109 insertions(+), 98 deletions(-)

diffs (270 lines):

diff -r 24b0367f3291 -r 5b6835ce4086 textproc/py-pybtex/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-pybtex/ALTERNATIVES   Thu Dec 13 20:45:49 2018 +0000
@@ -0,0 +1,3 @@
+bin/pybtex @PREFIX@/bin/pybtex-@PYVERSSUFFIX@
+bin/pybtex-convert @PREFIX@/bin/pybtex-convert-@PYVERSSUFFIX@
+bin/pybtex-format @PREFIX@/bin/pybtex-format-@PYVERSSUFFIX@
diff -r 24b0367f3291 -r 5b6835ce4086 textproc/py-pybtex/Makefile
--- a/textproc/py-pybtex/Makefile       Thu Dec 13 20:00:16 2018 +0000
+++ b/textproc/py-pybtex/Makefile       Thu Dec 13 20:45:49 2018 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2018/07/26 14:20:29 jaapb Exp $
+# $NetBSD: Makefile,v 1.4 2018/12/13 20:45:49 adam Exp $
 
-DISTNAME=      pybtex-0.21
+DISTNAME=      pybtex-0.22.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
-CATEGORIES=    textproc
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pybtex/}
 
 MAINTAINER=    jaapb%NetBSD.org@localhost
@@ -11,8 +10,17 @@
 COMMENT=       BibTeX-compatible bibliography processor written in Python
 LICENSE=       mit
 
-DEPENDS+=              ${PYPKGPREFIX}-latexcodec-[0-9]*:../../print/py-latexcodec
-DEPENDS+=              ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+DEPENDS+=      ${PYPKGPREFIX}-latexcodec>=1.0.4:../../print/py-latexcodec
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.01:../../textproc/py-yaml
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} pybtex pybtex-${PYVERSSUFFIX} && \
+               ${MV} pybtex-convert pybtex-convert-${PYVERSSUFFIX} && \
+               ${MV} pybtex-format pybtex-format-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 24b0367f3291 -r 5b6835ce4086 textproc/py-pybtex/PLIST
--- a/textproc/py-pybtex/PLIST  Thu Dec 13 20:00:16 2018 +0000
+++ b/textproc/py-pybtex/PLIST  Thu Dec 13 20:45:49 2018 +0000
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1 2018/07/26 13:55:30 jaapb Exp $
-bin/pybtex
-bin/pybtex-convert
-bin/pybtex-format
+@comment $NetBSD: PLIST,v 1.2 2018/12/13 20:45:49 adam Exp $
+bin/pybtex-${PYVERSSUFFIX}
+bin/pybtex-convert-${PYVERSSUFFIX}
+bin/pybtex-format-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -9,12 +9,6 @@
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
-${PYSITELIB}/custom_fixers/__init__.py
-${PYSITELIB}/custom_fixers/__init__.pyc
-${PYSITELIB}/custom_fixers/__init__.pyo
-${PYSITELIB}/custom_fixers/fix_alt_unicode.py
-${PYSITELIB}/custom_fixers/fix_alt_unicode.pyc
-${PYSITELIB}/custom_fixers/fix_alt_unicode.pyo
 ${PYSITELIB}/pybtex/__init__.py
 ${PYSITELIB}/pybtex/__init__.pyc
 ${PYSITELIB}/pybtex/__init__.pyo
@@ -60,6 +54,9 @@
 ${PYSITELIB}/pybtex/bibtex/names.py
 ${PYSITELIB}/pybtex/bibtex/names.pyc
 ${PYSITELIB}/pybtex/bibtex/names.pyo
+${PYSITELIB}/pybtex/bibtex/runner.py
+${PYSITELIB}/pybtex/bibtex/runner.pyc
+${PYSITELIB}/pybtex/bibtex/runner.pyo
 ${PYSITELIB}/pybtex/bibtex/utils.py
 ${PYSITELIB}/pybtex/bibtex/utils.pyc
 ${PYSITELIB}/pybtex/bibtex/utils.pyo
@@ -129,6 +126,9 @@
 ${PYSITELIB}/pybtex/plugin/__init__.py
 ${PYSITELIB}/pybtex/plugin/__init__.pyc
 ${PYSITELIB}/pybtex/plugin/__init__.pyo
+${PYSITELIB}/pybtex/py3compat.py
+${PYSITELIB}/pybtex/py3compat.pyc
+${PYSITELIB}/pybtex/py3compat.pyo
 ${PYSITELIB}/pybtex/richtext.py
 ${PYSITELIB}/pybtex/richtext.pyc
 ${PYSITELIB}/pybtex/richtext.pyo
@@ -183,86 +183,86 @@
 ${PYSITELIB}/pybtex/style/template.py
 ${PYSITELIB}/pybtex/style/template.pyc
 ${PYSITELIB}/pybtex/style/template.pyo
-${PYSITELIB}/pybtex/tests/__init__.py
-${PYSITELIB}/pybtex/tests/__init__.pyc
-${PYSITELIB}/pybtex/tests/__init__.pyo
-${PYSITELIB}/pybtex/tests/bibtex_parser_test.py
-${PYSITELIB}/pybtex/tests/bibtex_parser_test.pyc
-${PYSITELIB}/pybtex/tests/bibtex_parser_test.pyo
-${PYSITELIB}/pybtex/tests/bst_parser_test/__init__.py
-${PYSITELIB}/pybtex/tests/bst_parser_test/__init__.pyc
-${PYSITELIB}/pybtex/tests/bst_parser_test/__init__.pyo
-${PYSITELIB}/pybtex/tests/bst_parser_test/apacite.py
-${PYSITELIB}/pybtex/tests/bst_parser_test/apacite.pyc
-${PYSITELIB}/pybtex/tests/bst_parser_test/apacite.pyo
-${PYSITELIB}/pybtex/tests/bst_parser_test/bst_parser_test.py
-${PYSITELIB}/pybtex/tests/bst_parser_test/bst_parser_test.pyc
-${PYSITELIB}/pybtex/tests/bst_parser_test/bst_parser_test.pyo
-${PYSITELIB}/pybtex/tests/bst_parser_test/jurabib.py
-${PYSITELIB}/pybtex/tests/bst_parser_test/jurabib.pyc
-${PYSITELIB}/pybtex/tests/bst_parser_test/jurabib.pyo
-${PYSITELIB}/pybtex/tests/bst_parser_test/plain.py
-${PYSITELIB}/pybtex/tests/bst_parser_test/plain.pyc
-${PYSITELIB}/pybtex/tests/bst_parser_test/plain.pyo
-${PYSITELIB}/pybtex/tests/data/IEEEtran.aux
-${PYSITELIB}/pybtex/tests/data/IEEEtran.bib
-${PYSITELIB}/pybtex/tests/data/IEEEtran.bst
-${PYSITELIB}/pybtex/tests/data/IEEEtran_IEEEtran.bibtex.bbl
-${PYSITELIB}/pybtex/tests/data/__init__.py
-${PYSITELIB}/pybtex/tests/data/__init__.pyc
-${PYSITELIB}/pybtex/tests/data/__init__.pyo
-${PYSITELIB}/pybtex/tests/data/alpha.bst
-${PYSITELIB}/pybtex/tests/data/apacite.bst
-${PYSITELIB}/pybtex/tests/data/cyrillic.bib
-${PYSITELIB}/pybtex/tests/data/cyrillic_alpha.bibtex.bbl
-${PYSITELIB}/pybtex/tests/data/cyrillic_alpha.pybtex.bbl
-${PYSITELIB}/pybtex/tests/data/cyrillic_plain.pybtex.bbl
-${PYSITELIB}/pybtex/tests/data/cyrillic_unsrt.bibtex.bbl
-${PYSITELIB}/pybtex/tests/data/cyrillic_unsrt.pybtex.bbl
-${PYSITELIB}/pybtex/tests/data/extrafields.bib
-${PYSITELIB}/pybtex/tests/data/extrafields_unsrt.pybtex.bbl
-${PYSITELIB}/pybtex/tests/data/jurabib.bst
-${PYSITELIB}/pybtex/tests/data/plain.bst
-${PYSITELIB}/pybtex/tests/data/unsrt.bst
-${PYSITELIB}/pybtex/tests/data/unsrt_mixed.bst
-${PYSITELIB}/pybtex/tests/data/xampl.bib
-${PYSITELIB}/pybtex/tests/data/xampl_alpha.bibtex.bbl
-${PYSITELIB}/pybtex/tests/data/xampl_jurabib.bibtex.bbl
-${PYSITELIB}/pybtex/tests/data/xampl_mixed.bib
-${PYSITELIB}/pybtex/tests/data/xampl_mixed_unsrt_mixed.aux
-${PYSITELIB}/pybtex/tests/data/xampl_mixed_unsrt_mixed.bibtex.bbl
-${PYSITELIB}/pybtex/tests/data/xampl_plain.bibtex.bbl
-${PYSITELIB}/pybtex/tests/data/xampl_unsrt.bibtex.bbl
-${PYSITELIB}/pybtex/tests/database_test/__init__.py
-${PYSITELIB}/pybtex/tests/database_test/__init__.pyc
-${PYSITELIB}/pybtex/tests/database_test/__init__.pyo
-${PYSITELIB}/pybtex/tests/database_test/data.py
-${PYSITELIB}/pybtex/tests/database_test/data.pyc
-${PYSITELIB}/pybtex/tests/database_test/data.pyo
-${PYSITELIB}/pybtex/tests/database_test/database_test.py
-${PYSITELIB}/pybtex/tests/database_test/database_test.pyc
-${PYSITELIB}/pybtex/tests/database_test/database_test.pyo
-${PYSITELIB}/pybtex/tests/general_engine_test.py
-${PYSITELIB}/pybtex/tests/general_engine_test.pyc
-${PYSITELIB}/pybtex/tests/general_engine_test.pyo
-${PYSITELIB}/pybtex/tests/io_test.py
-${PYSITELIB}/pybtex/tests/io_test.pyc
-${PYSITELIB}/pybtex/tests/io_test.pyo
-${PYSITELIB}/pybtex/tests/parse_name_test.py
-${PYSITELIB}/pybtex/tests/parse_name_test.pyc
-${PYSITELIB}/pybtex/tests/parse_name_test.pyo
-${PYSITELIB}/pybtex/tests/plugin_test.py
-${PYSITELIB}/pybtex/tests/plugin_test.pyc
-${PYSITELIB}/pybtex/tests/plugin_test.pyo
-${PYSITELIB}/pybtex/tests/richtext_test.py
-${PYSITELIB}/pybtex/tests/richtext_test.pyc
-${PYSITELIB}/pybtex/tests/richtext_test.pyo
-${PYSITELIB}/pybtex/tests/run_bibtex.py
-${PYSITELIB}/pybtex/tests/run_bibtex.pyc
-${PYSITELIB}/pybtex/tests/run_bibtex.pyo
 ${PYSITELIB}/pybtex/textutils.py
 ${PYSITELIB}/pybtex/textutils.pyc
 ${PYSITELIB}/pybtex/textutils.pyo
 ${PYSITELIB}/pybtex/utils.py
 ${PYSITELIB}/pybtex/utils.pyc
 ${PYSITELIB}/pybtex/utils.pyo
+${PYSITELIB}/tests/__init__.py
+${PYSITELIB}/tests/__init__.pyc
+${PYSITELIB}/tests/__init__.pyo
+${PYSITELIB}/tests/bibtex_parser_test.py
+${PYSITELIB}/tests/bibtex_parser_test.pyc
+${PYSITELIB}/tests/bibtex_parser_test.pyo
+${PYSITELIB}/tests/bst_parser_test/__init__.py
+${PYSITELIB}/tests/bst_parser_test/__init__.pyc
+${PYSITELIB}/tests/bst_parser_test/__init__.pyo
+${PYSITELIB}/tests/bst_parser_test/apacite.py
+${PYSITELIB}/tests/bst_parser_test/apacite.pyc
+${PYSITELIB}/tests/bst_parser_test/apacite.pyo
+${PYSITELIB}/tests/bst_parser_test/bst_parser_test.py
+${PYSITELIB}/tests/bst_parser_test/bst_parser_test.pyc
+${PYSITELIB}/tests/bst_parser_test/bst_parser_test.pyo
+${PYSITELIB}/tests/bst_parser_test/jurabib.py
+${PYSITELIB}/tests/bst_parser_test/jurabib.pyc
+${PYSITELIB}/tests/bst_parser_test/jurabib.pyo
+${PYSITELIB}/tests/bst_parser_test/plain.py
+${PYSITELIB}/tests/bst_parser_test/plain.pyc
+${PYSITELIB}/tests/bst_parser_test/plain.pyo
+${PYSITELIB}/tests/data/IEEEtran.aux
+${PYSITELIB}/tests/data/IEEEtran.bib
+${PYSITELIB}/tests/data/IEEEtran.bst
+${PYSITELIB}/tests/data/IEEEtran_IEEEtran.bibtex.bbl
+${PYSITELIB}/tests/data/__init__.py
+${PYSITELIB}/tests/data/__init__.pyc
+${PYSITELIB}/tests/data/__init__.pyo
+${PYSITELIB}/tests/data/alpha.bst
+${PYSITELIB}/tests/data/apacite.bst
+${PYSITELIB}/tests/data/cyrillic.bib
+${PYSITELIB}/tests/data/cyrillic_alpha.bibtex.bbl
+${PYSITELIB}/tests/data/cyrillic_alpha.pybtex.bbl
+${PYSITELIB}/tests/data/cyrillic_plain.pybtex.bbl
+${PYSITELIB}/tests/data/cyrillic_unsrt.bibtex.bbl
+${PYSITELIB}/tests/data/cyrillic_unsrt.pybtex.bbl
+${PYSITELIB}/tests/data/extrafields.bib
+${PYSITELIB}/tests/data/extrafields_unsrt.pybtex.bbl
+${PYSITELIB}/tests/data/jurabib.bst
+${PYSITELIB}/tests/data/plain.bst
+${PYSITELIB}/tests/data/unsrt.bst
+${PYSITELIB}/tests/data/unsrt_mixed.bst
+${PYSITELIB}/tests/data/xampl.bib
+${PYSITELIB}/tests/data/xampl_alpha.bibtex.bbl
+${PYSITELIB}/tests/data/xampl_jurabib.bibtex.bbl
+${PYSITELIB}/tests/data/xampl_mixed.bib
+${PYSITELIB}/tests/data/xampl_mixed_unsrt_mixed.aux
+${PYSITELIB}/tests/data/xampl_mixed_unsrt_mixed.bibtex.bbl
+${PYSITELIB}/tests/data/xampl_plain.bibtex.bbl
+${PYSITELIB}/tests/data/xampl_unsrt.bibtex.bbl
+${PYSITELIB}/tests/database_test/__init__.py
+${PYSITELIB}/tests/database_test/__init__.pyc
+${PYSITELIB}/tests/database_test/__init__.pyo
+${PYSITELIB}/tests/database_test/data.py
+${PYSITELIB}/tests/database_test/data.pyc
+${PYSITELIB}/tests/database_test/data.pyo
+${PYSITELIB}/tests/database_test/database_test.py
+${PYSITELIB}/tests/database_test/database_test.pyc
+${PYSITELIB}/tests/database_test/database_test.pyo
+${PYSITELIB}/tests/general_engine_test.py
+${PYSITELIB}/tests/general_engine_test.pyc
+${PYSITELIB}/tests/general_engine_test.pyo
+${PYSITELIB}/tests/io_test.py
+${PYSITELIB}/tests/io_test.pyc
+${PYSITELIB}/tests/io_test.pyo
+${PYSITELIB}/tests/parse_name_test.py
+${PYSITELIB}/tests/parse_name_test.pyc
+${PYSITELIB}/tests/parse_name_test.pyo
+${PYSITELIB}/tests/plugin_test.py
+${PYSITELIB}/tests/plugin_test.pyc
+${PYSITELIB}/tests/plugin_test.pyo
+${PYSITELIB}/tests/richtext_test.py
+${PYSITELIB}/tests/richtext_test.pyc
+${PYSITELIB}/tests/richtext_test.pyo
+${PYSITELIB}/tests/utils.py
+${PYSITELIB}/tests/utils.pyc
+${PYSITELIB}/tests/utils.pyo
diff -r 24b0367f3291 -r 5b6835ce4086 textproc/py-pybtex/distinfo
--- a/textproc/py-pybtex/distinfo       Thu Dec 13 20:00:16 2018 +0000
+++ b/textproc/py-pybtex/distinfo       Thu Dec 13 20:45:49 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/07/26 13:55:30 jaapb Exp $
+$NetBSD: distinfo,v 1.2 2018/12/13 20:45:49 adam Exp $
 
-SHA1 (pybtex-0.21.tar.gz) = c8387343b8a8203316b73a0a3bac3a3dfe45dad5
-RMD160 (pybtex-0.21.tar.gz) = df7b5504fbeaabbd748801ee9917d2138b62a6a6
-SHA512 (pybtex-0.21.tar.gz) = 25540b879a2ddec9db28e63fa18ce4f4e3992f5e2feef7f35339644c4b7ba1358464a3388ec356f06d5c90f1a344ba440d3e940447ab848b76e34b353b2b3d9b
-Size (pybtex-0.21.tar.gz) = 364772 bytes
+SHA1 (pybtex-0.22.0.tar.gz) = cfd437f61d5b97607fe18e6993df454b68805360
+RMD160 (pybtex-0.22.0.tar.gz) = dbf66be6874dcb858f0ba8e2c19c739e039d0795
+SHA512 (pybtex-0.22.0.tar.gz) = eb10111414f8ff894d7d43462ffa02c748af052172439038ce2fdb3c0ca0aa735e480e2f31ee5e49ac29762c046a357e42efc58515d7a0f7d59369617d5f2660
+Size (pybtex-0.22.0.tar.gz) = 365268 bytes



Home | Main Index | Thread Index | Old Index