summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2018-07-26 13:55:30 +0000
committerjaapb <jaapb@pkgsrc.org>2018-07-26 13:55:30 +0000
commit50181c7b412184ce170362239ecc3401fa884172 (patch)
treefcc523d8c6364313013fbf582283f8f6a41d7b09
parent25aa4befe061244e206b0768e3db23aaa22451dc (diff)
downloadpkgsrc-50181c7b412184ce170362239ecc3401fa884172.tar.gz
Added package textproc/py-pybtex, a BibTeX processor in python.
This is needed as a dependency for an update to lang/coq.
-rw-r--r--textproc/py-pybtex/DESCR12
-rw-r--r--textproc/py-pybtex/Makefile17
-rw-r--r--textproc/py-pybtex/PLIST268
-rw-r--r--textproc/py-pybtex/distinfo6
4 files changed, 303 insertions, 0 deletions
diff --git a/textproc/py-pybtex/DESCR b/textproc/py-pybtex/DESCR
new file mode 100644
index 00000000000..217c9d4bc95
--- /dev/null
+++ b/textproc/py-pybtex/DESCR
@@ -0,0 +1,12 @@
+Pybtex aims to be 100% compatible with BibTeX. It accepts the same command line
+options, fully supports BibTeX's .bst styles and produces byte-identical output.
+
+Additionally,
+
+* Pybtex is Unicode-aware.
+* Pybtex supports bibliography formats other than BibTeX.
+* It is possible to write formatting styles in Python.
+* As a bonus, Pythonic styles can produce HTML, Markdown and other markup
+ besides the usual LaTeX.
+
+Pybtex also includes a Python API for managing bibliographies from Python.
diff --git a/textproc/py-pybtex/Makefile b/textproc/py-pybtex/Makefile
new file mode 100644
index 00000000000..6a46e4098dd
--- /dev/null
+++ b/textproc/py-pybtex/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2018/07/26 13:55:30 jaapb Exp $
+
+DISTNAME= pybtex-0.21
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybtex/}
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= https://pybtex.org/
+COMMENT= BibTeX-compatible bibliography processor written in Python
+LICENSE= mit
+
+BUILD_DEPENDS+= py[0-9]*-latexcodec-[0-9]*:../../print/py-latexcodec
+BUILD_DEPENDS+= py[0-9]*-yaml-[0-9]*:../../textproc/py-yaml
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-pybtex/PLIST b/textproc/py-pybtex/PLIST
new file mode 100644
index 00000000000..ee92ea4d067
--- /dev/null
+++ b/textproc/py-pybtex/PLIST
@@ -0,0 +1,268 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/26 13:55:30 jaapb Exp $
+bin/pybtex
+bin/pybtex-convert
+bin/pybtex-format
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${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
+${PYSITELIB}/pybtex/__main__.py
+${PYSITELIB}/pybtex/__main__.pyc
+${PYSITELIB}/pybtex/__main__.pyo
+${PYSITELIB}/pybtex/__version__.py
+${PYSITELIB}/pybtex/__version__.pyc
+${PYSITELIB}/pybtex/__version__.pyo
+${PYSITELIB}/pybtex/auxfile.py
+${PYSITELIB}/pybtex/auxfile.pyc
+${PYSITELIB}/pybtex/auxfile.pyo
+${PYSITELIB}/pybtex/backends/__init__.py
+${PYSITELIB}/pybtex/backends/__init__.pyc
+${PYSITELIB}/pybtex/backends/__init__.pyo
+${PYSITELIB}/pybtex/backends/html.py
+${PYSITELIB}/pybtex/backends/html.pyc
+${PYSITELIB}/pybtex/backends/html.pyo
+${PYSITELIB}/pybtex/backends/latex.py
+${PYSITELIB}/pybtex/backends/latex.pyc
+${PYSITELIB}/pybtex/backends/latex.pyo
+${PYSITELIB}/pybtex/backends/markdown.py
+${PYSITELIB}/pybtex/backends/markdown.pyc
+${PYSITELIB}/pybtex/backends/markdown.pyo
+${PYSITELIB}/pybtex/backends/plaintext.py
+${PYSITELIB}/pybtex/backends/plaintext.pyc
+${PYSITELIB}/pybtex/backends/plaintext.pyo
+${PYSITELIB}/pybtex/bibtex/__init__.py
+${PYSITELIB}/pybtex/bibtex/__init__.pyc
+${PYSITELIB}/pybtex/bibtex/__init__.pyo
+${PYSITELIB}/pybtex/bibtex/bst.py
+${PYSITELIB}/pybtex/bibtex/bst.pyc
+${PYSITELIB}/pybtex/bibtex/bst.pyo
+${PYSITELIB}/pybtex/bibtex/builtins.py
+${PYSITELIB}/pybtex/bibtex/builtins.pyc
+${PYSITELIB}/pybtex/bibtex/builtins.pyo
+${PYSITELIB}/pybtex/bibtex/exceptions.py
+${PYSITELIB}/pybtex/bibtex/exceptions.pyc
+${PYSITELIB}/pybtex/bibtex/exceptions.pyo
+${PYSITELIB}/pybtex/bibtex/interpreter.py
+${PYSITELIB}/pybtex/bibtex/interpreter.pyc
+${PYSITELIB}/pybtex/bibtex/interpreter.pyo
+${PYSITELIB}/pybtex/bibtex/names.py
+${PYSITELIB}/pybtex/bibtex/names.pyc
+${PYSITELIB}/pybtex/bibtex/names.pyo
+${PYSITELIB}/pybtex/bibtex/utils.py
+${PYSITELIB}/pybtex/bibtex/utils.pyc
+${PYSITELIB}/pybtex/bibtex/utils.pyo
+${PYSITELIB}/pybtex/charwidths/__init__.py
+${PYSITELIB}/pybtex/charwidths/__init__.pyc
+${PYSITELIB}/pybtex/charwidths/__init__.pyo
+${PYSITELIB}/pybtex/charwidths/make_charwidths.py
+${PYSITELIB}/pybtex/charwidths/make_charwidths.pyc
+${PYSITELIB}/pybtex/charwidths/make_charwidths.pyo
+${PYSITELIB}/pybtex/cmdline.py
+${PYSITELIB}/pybtex/cmdline.pyc
+${PYSITELIB}/pybtex/cmdline.pyo
+${PYSITELIB}/pybtex/database/__init__.py
+${PYSITELIB}/pybtex/database/__init__.pyc
+${PYSITELIB}/pybtex/database/__init__.pyo
+${PYSITELIB}/pybtex/database/convert/__init__.py
+${PYSITELIB}/pybtex/database/convert/__init__.pyc
+${PYSITELIB}/pybtex/database/convert/__init__.pyo
+${PYSITELIB}/pybtex/database/convert/__main__.py
+${PYSITELIB}/pybtex/database/convert/__main__.pyc
+${PYSITELIB}/pybtex/database/convert/__main__.pyo
+${PYSITELIB}/pybtex/database/format/__init__.py
+${PYSITELIB}/pybtex/database/format/__init__.pyc
+${PYSITELIB}/pybtex/database/format/__init__.pyo
+${PYSITELIB}/pybtex/database/format/__main__.py
+${PYSITELIB}/pybtex/database/format/__main__.pyc
+${PYSITELIB}/pybtex/database/format/__main__.pyo
+${PYSITELIB}/pybtex/database/input/__init__.py
+${PYSITELIB}/pybtex/database/input/__init__.pyc
+${PYSITELIB}/pybtex/database/input/__init__.pyo
+${PYSITELIB}/pybtex/database/input/bibtex.py
+${PYSITELIB}/pybtex/database/input/bibtex.pyc
+${PYSITELIB}/pybtex/database/input/bibtex.pyo
+${PYSITELIB}/pybtex/database/input/bibtexml.py
+${PYSITELIB}/pybtex/database/input/bibtexml.pyc
+${PYSITELIB}/pybtex/database/input/bibtexml.pyo
+${PYSITELIB}/pybtex/database/input/bibyaml.py
+${PYSITELIB}/pybtex/database/input/bibyaml.pyc
+${PYSITELIB}/pybtex/database/input/bibyaml.pyo
+${PYSITELIB}/pybtex/database/output/__init__.py
+${PYSITELIB}/pybtex/database/output/__init__.pyc
+${PYSITELIB}/pybtex/database/output/__init__.pyo
+${PYSITELIB}/pybtex/database/output/bibtex.py
+${PYSITELIB}/pybtex/database/output/bibtex.pyc
+${PYSITELIB}/pybtex/database/output/bibtex.pyo
+${PYSITELIB}/pybtex/database/output/bibtexml.py
+${PYSITELIB}/pybtex/database/output/bibtexml.pyc
+${PYSITELIB}/pybtex/database/output/bibtexml.pyo
+${PYSITELIB}/pybtex/database/output/bibyaml.py
+${PYSITELIB}/pybtex/database/output/bibyaml.pyc
+${PYSITELIB}/pybtex/database/output/bibyaml.pyo
+${PYSITELIB}/pybtex/errors.py
+${PYSITELIB}/pybtex/errors.pyc
+${PYSITELIB}/pybtex/errors.pyo
+${PYSITELIB}/pybtex/exceptions.py
+${PYSITELIB}/pybtex/exceptions.pyc
+${PYSITELIB}/pybtex/exceptions.pyo
+${PYSITELIB}/pybtex/io.py
+${PYSITELIB}/pybtex/io.pyc
+${PYSITELIB}/pybtex/io.pyo
+${PYSITELIB}/pybtex/kpathsea.py
+${PYSITELIB}/pybtex/kpathsea.pyc
+${PYSITELIB}/pybtex/kpathsea.pyo
+${PYSITELIB}/pybtex/markup/__init__.py
+${PYSITELIB}/pybtex/markup/__init__.pyc
+${PYSITELIB}/pybtex/markup/__init__.pyo
+${PYSITELIB}/pybtex/plugin/__init__.py
+${PYSITELIB}/pybtex/plugin/__init__.pyc
+${PYSITELIB}/pybtex/plugin/__init__.pyo
+${PYSITELIB}/pybtex/richtext.py
+${PYSITELIB}/pybtex/richtext.pyc
+${PYSITELIB}/pybtex/richtext.pyo
+${PYSITELIB}/pybtex/scanner.py
+${PYSITELIB}/pybtex/scanner.pyc
+${PYSITELIB}/pybtex/scanner.pyo
+${PYSITELIB}/pybtex/style/__init__.py
+${PYSITELIB}/pybtex/style/__init__.pyc
+${PYSITELIB}/pybtex/style/__init__.pyo
+${PYSITELIB}/pybtex/style/formatting/__init__.py
+${PYSITELIB}/pybtex/style/formatting/__init__.pyc
+${PYSITELIB}/pybtex/style/formatting/__init__.pyo
+${PYSITELIB}/pybtex/style/formatting/alpha.py
+${PYSITELIB}/pybtex/style/formatting/alpha.pyc
+${PYSITELIB}/pybtex/style/formatting/alpha.pyo
+${PYSITELIB}/pybtex/style/formatting/plain.py
+${PYSITELIB}/pybtex/style/formatting/plain.pyc
+${PYSITELIB}/pybtex/style/formatting/plain.pyo
+${PYSITELIB}/pybtex/style/formatting/unsrt.py
+${PYSITELIB}/pybtex/style/formatting/unsrt.pyc
+${PYSITELIB}/pybtex/style/formatting/unsrt.pyo
+${PYSITELIB}/pybtex/style/formatting/unsrtalpha.py
+${PYSITELIB}/pybtex/style/formatting/unsrtalpha.pyc
+${PYSITELIB}/pybtex/style/formatting/unsrtalpha.pyo
+${PYSITELIB}/pybtex/style/labels/__init__.py
+${PYSITELIB}/pybtex/style/labels/__init__.pyc
+${PYSITELIB}/pybtex/style/labels/__init__.pyo
+${PYSITELIB}/pybtex/style/labels/alpha.py
+${PYSITELIB}/pybtex/style/labels/alpha.pyc
+${PYSITELIB}/pybtex/style/labels/alpha.pyo
+${PYSITELIB}/pybtex/style/labels/number.py
+${PYSITELIB}/pybtex/style/labels/number.pyc
+${PYSITELIB}/pybtex/style/labels/number.pyo
+${PYSITELIB}/pybtex/style/names/__init__.py
+${PYSITELIB}/pybtex/style/names/__init__.pyc
+${PYSITELIB}/pybtex/style/names/__init__.pyo
+${PYSITELIB}/pybtex/style/names/lastfirst.py
+${PYSITELIB}/pybtex/style/names/lastfirst.pyc
+${PYSITELIB}/pybtex/style/names/lastfirst.pyo
+${PYSITELIB}/pybtex/style/names/plain.py
+${PYSITELIB}/pybtex/style/names/plain.pyc
+${PYSITELIB}/pybtex/style/names/plain.pyo
+${PYSITELIB}/pybtex/style/sorting/__init__.py
+${PYSITELIB}/pybtex/style/sorting/__init__.pyc
+${PYSITELIB}/pybtex/style/sorting/__init__.pyo
+${PYSITELIB}/pybtex/style/sorting/author_year_title.py
+${PYSITELIB}/pybtex/style/sorting/author_year_title.pyc
+${PYSITELIB}/pybtex/style/sorting/author_year_title.pyo
+${PYSITELIB}/pybtex/style/sorting/none.py
+${PYSITELIB}/pybtex/style/sorting/none.pyc
+${PYSITELIB}/pybtex/style/sorting/none.pyo
+${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
diff --git a/textproc/py-pybtex/distinfo b/textproc/py-pybtex/distinfo
new file mode 100644
index 00000000000..73db4a0755e
--- /dev/null
+++ b/textproc/py-pybtex/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/26 13:55:30 jaapb 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