summaryrefslogtreecommitdiff
path: root/dev-python/bibtexparser
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/bibtexparser')
-rw-r--r--dev-python/bibtexparser/Manifest4
-rw-r--r--dev-python/bibtexparser/bibtexparser-1.2.0.ebuild30
-rw-r--r--dev-python/bibtexparser/metadata.xml1
3 files changed, 34 insertions, 1 deletions
diff --git a/dev-python/bibtexparser/Manifest b/dev-python/bibtexparser/Manifest
index 49b53f16afec..0c65dbed9318 100644
--- a/dev-python/bibtexparser/Manifest
+++ b/dev-python/bibtexparser/Manifest
@@ -1,3 +1,5 @@
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
EBUILD bibtexparser-1.1.0.ebuild 754 BLAKE2B a71827b9a9935c9b1332b13fcf698a71c5ee118feef195d69672bd5fb1d376e7a805253f7e9020eb5d37dee777af5d34054b388c7bd9971f93730f61f9809756 SHA512 5476178fc2f8b85f8e4488bd5084daf112e424e71922b4a325acd4d28d93eb8551654c23798c857dd4d824c02b491c5fa0ffd41df388d808bf18833a837100f5
-MISC metadata.xml 396 BLAKE2B 37f7a464a036f3bf4de13cca9de1b65028e834a76ef79ca0d199e0684e82ed9e89ca8476fad25310b6a9dab2484e7ea590a328df9545bf1fc8f97541d7504590 SHA512 ec5ca7339c507e9700fd2f62eb5517ac57cfa7430b384cc053d43df8b9581fdd543a88ec9c8c80a3fd328e9e84e7b1ea86e9a3e9d5606050f55df6513f4093e4
+EBUILD bibtexparser-1.2.0.ebuild 751 BLAKE2B df35bc66a8e57314ea5bfdc3397049c0a56b954999680c3c185aa5135a3842f4ca6e9e30a06618bef143ca4fded392a9017736bfce4ecc13b2539cdbab899c69 SHA512 bdbd245fe0ab5099e77963221c94e08d25f6eb13466624979fbc8985fbf4915a960e49a249b60b8b0a88ca76eed1aa3166b594a98095bce3e419686977fae4e4
+MISC metadata.xml 420 BLAKE2B 931e6f1915be7d1b809bd2f59fec9f057fe3f6c6219ae3d5d8103a5e5155d13dc6decfbb5865d7a333247178371adae7f2712d12f0e001badb941d5fb2b8e6e7 SHA512 254ba66a5078b040ff86a77ae890c70f4d49374f2094b67c5046a8acc308901048fe8c46d1eb8d9716f13c0ac6a6c48625aa799837a1c586b2ce450a50704d33
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
+}
diff --git a/dev-python/bibtexparser/metadata.xml b/dev-python/bibtexparser/metadata.xml
index ca346551695e..f0faa17f6101 100644
--- a/dev-python/bibtexparser/metadata.xml
+++ b/dev-python/bibtexparser/metadata.xml
@@ -5,6 +5,7 @@
<email>tex@gentoo.org</email>
<name>Gentoo TeX Project</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<remote-id type="github">sciunto-org/python-bibtexparser</remote-id>
<remote-id type="pypi">bibtexparser</remote-id>