1 |
commit: aa5076d024d487dde1870d6cfd35c5e0e49b6cb0 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 11:39:41 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 12:19:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa5076d0 |
7 |
|
8 |
dev-python/bibtexparser: nose-->pytest, enable py3.11 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
.../bibtexparser/bibtexparser-1.2.0-r1.ebuild | 31 ++++++++++++++++++++++ |
13 |
1 file changed, 31 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/bibtexparser/bibtexparser-1.2.0-r1.ebuild b/dev-python/bibtexparser/bibtexparser-1.2.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..0d1dd2ae0417 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/bibtexparser/bibtexparser-1.2.0-r1.ebuild |
20 |
@@ -0,0 +1,31 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+PYTHON_COMPAT=( python3_{8..11} ) |
27 |
+DISTUTILS_USE_PEP517=setuptools |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="A BibTeX parser written in python" |
31 |
+HOMEPAGE="https://github.com/sciunto-org/python-bibtexparser" |
32 |
+SRC_URI=" |
33 |
+ https://github.com/sciunto-org/python-bibtexparser/archive/v${PV}.tar.gz |
34 |
+ -> ${P}.gh.tar.gz |
35 |
+" |
36 |
+S="${WORKDIR}/python-${P}" |
37 |
+ |
38 |
+LICENSE="|| ( BSD LGPL-3 )" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+ |
42 |
+RDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]" |
43 |
+ |
44 |
+distutils_enable_tests pytest |
45 |
+ |
46 |
+src_prepare() { |
47 |
+ # fixed in upstream 5f98bac62e8ff3c8ab6b956f288f1c61b99c6a5d |
48 |
+ sed -e 's:unittest2:unittest:' \ |
49 |
+ -i bibtexparser/tests/test_crossref_resolving.py || die |
50 |
+ distutils-r1_src_prepare |
51 |
+} |