summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-01-17 16:22:25 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-01-17 18:48:27 +0200
commit9534cdacfd0b09a02c2789a59bb671b0cfa1ebec (patch)
treee8ace1960b5b6b8c63a14a25e84ec165cabf7a6f /dev-python/bibtexparser
parentdev-lang/spidermonkey: add 91.5.0 (diff)
downloadgentoo-9534cdacfd0b09a02c2789a59bb671b0cfa1ebec.tar.gz
gentoo-9534cdacfd0b09a02c2789a59bb671b0cfa1ebec.tar.bz2
gentoo-9534cdacfd0b09a02c2789a59bb671b0cfa1ebec.zip
dev-python/bibtexparser: add 1.2.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/bibtexparser')
-rw-r--r--dev-python/bibtexparser/Manifest1
-rw-r--r--dev-python/bibtexparser/bibtexparser-1.2.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/bibtexparser/Manifest b/dev-python/bibtexparser/Manifest
index b283466b8d76..97e6c099c048 100644
--- a/dev-python/bibtexparser/Manifest
+++ b/dev-python/bibtexparser/Manifest
@@ -1 +1,2 @@
DIST bibtexparser-1.1.0.tar.gz 88656 BLAKE2B e5285953fbf79558643e19ea39f6421394f93afbfc6820be9bee0583c1efa010b9fe3478c9f3e36bea0c64e35c9d5bcb8341f1ee784c4150883e160723b94119 SHA512 f984cb307bfb8ee8143499469c0a83a28b3e9f061b17e5b43b7f9aa730c91427f2b2c441e501d37ab62f99ce2b7dd1cd7dee40b21c9f1a8e8b2dddf8eac2e74b
+DIST bibtexparser-1.2.0.gh.tar.gz 88600 BLAKE2B f02fca0330f035b3d9051c04ab5da57232178c637d250839c3939780424d2be9afa619d7a7781cbc92917da12aeb5f35847a54f460823b46a2a717f4b0ca6f8e SHA512 c8775f17d963c6dc5cf3f9dda52c798b70c939cf4c7a90501194561abd7f2386d6681cc236615366a9d8917ad01238fc2e6a4299f98b50b594c74c99bdb3ecee
diff --git a/dev-python/bibtexparser/bibtexparser-1.2.0.ebuild b/dev-python/bibtexparser/bibtexparser-1.2.0.ebuild
new file mode 100644
index 000000000000..d973deb63dd5
--- /dev/null
+++ b/dev-python/bibtexparser/bibtexparser-1.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="A BibTeX parser written in python"
+HOMEPAGE="https://github.com/sciunto-org/python-bibtexparser"
+SRC_URI="
+ https://github.com/sciunto-org/python-bibtexparser/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/python-${P}"
+
+LICENSE="|| ( BSD LGPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]"
+
+distutils_enable_tests nose
+
+src_prepare() {
+ # fixed in upstream 5f98bac62e8ff3c8ab6b956f288f1c61b99c6a5d
+ sed -e 's:unittest2:unittest:' \
+ -i bibtexparser/tests/test_crossref_resolving.py || die
+ distutils-r1_src_prepare
+}