diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-06-05 14:42:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-06-05 14:55:18 +0200 |
commit | 92e104513f32653a8aee80860f07284e0b4772fa (patch) | |
tree | c286454a1c80cce5ede52d689ffd8b6ee8b81aa7 /dev-python/bibtexparser | |
parent | dev-python/alembic: Enable py3.10 (diff) | |
download | gentoo-92e104513f32653a8aee80860f07284e0b4772fa.tar.gz gentoo-92e104513f32653a8aee80860f07284e0b4772fa.tar.bz2 gentoo-92e104513f32653a8aee80860f07284e0b4772fa.zip |
dev-python/bibtexparser: Enable py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/bibtexparser')
-rw-r--r-- | dev-python/bibtexparser/bibtexparser-1.1.0.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild b/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild index 070a81e1b0db..89963f80b88c 100644 --- a/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild +++ b/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 python-r1 @@ -19,3 +19,10 @@ 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 +} |