1 |
commit: 9534cdacfd0b09a02c2789a59bb671b0cfa1ebec |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 17 14:22:25 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 17 16:48:27 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9534cdac |
7 |
|
8 |
dev-python/bibtexparser: add 1.2.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/bibtexparser/Manifest | 1 + |
13 |
dev-python/bibtexparser/bibtexparser-1.2.0.ebuild | 30 +++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/bibtexparser/Manifest b/dev-python/bibtexparser/Manifest |
17 |
index b283466b8d76..97e6c099c048 100644 |
18 |
--- a/dev-python/bibtexparser/Manifest |
19 |
+++ b/dev-python/bibtexparser/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST bibtexparser-1.1.0.tar.gz 88656 BLAKE2B e5285953fbf79558643e19ea39f6421394f93afbfc6820be9bee0583c1efa010b9fe3478c9f3e36bea0c64e35c9d5bcb8341f1ee784c4150883e160723b94119 SHA512 f984cb307bfb8ee8143499469c0a83a28b3e9f061b17e5b43b7f9aa730c91427f2b2c441e501d37ab62f99ce2b7dd1cd7dee40b21c9f1a8e8b2dddf8eac2e74b |
22 |
+DIST bibtexparser-1.2.0.gh.tar.gz 88600 BLAKE2B f02fca0330f035b3d9051c04ab5da57232178c637d250839c3939780424d2be9afa619d7a7781cbc92917da12aeb5f35847a54f460823b46a2a717f4b0ca6f8e SHA512 c8775f17d963c6dc5cf3f9dda52c798b70c939cf4c7a90501194561abd7f2386d6681cc236615366a9d8917ad01238fc2e6a4299f98b50b594c74c99bdb3ecee |
23 |
|
24 |
diff --git a/dev-python/bibtexparser/bibtexparser-1.2.0.ebuild b/dev-python/bibtexparser/bibtexparser-1.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..d973deb63dd5 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/bibtexparser/bibtexparser-1.2.0.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="A BibTeX parser written in python" |
39 |
+HOMEPAGE="https://github.com/sciunto-org/python-bibtexparser" |
40 |
+SRC_URI=" |
41 |
+ https://github.com/sciunto-org/python-bibtexparser/archive/v${PV}.tar.gz |
42 |
+ -> ${P}.gh.tar.gz |
43 |
+" |
44 |
+S="${WORKDIR}/python-${P}" |
45 |
+ |
46 |
+LICENSE="|| ( BSD LGPL-3 )" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+RDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]" |
51 |
+ |
52 |
+distutils_enable_tests nose |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ # fixed in upstream 5f98bac62e8ff3c8ab6b956f288f1c61b99c6a5d |
56 |
+ sed -e 's:unittest2:unittest:' \ |
57 |
+ -i bibtexparser/tests/test_crossref_resolving.py || die |
58 |
+ distutils-r1_src_prepare |
59 |
+} |