diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-17 00:55:34 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-17 01:08:36 +0100 |
commit | 79a660c825fcab60249e532b38ea57e91f4fc474 (patch) | |
tree | 7700c9fb8712b6ab5ca2eb86ad7ae8590ad7247c /dev-python/bibtexparser | |
parent | package.mask: Last rite dev-python/backports-{csv,os} (diff) | |
download | gentoo-79a660c825fcab60249e532b38ea57e91f4fc474.tar.gz gentoo-79a660c825fcab60249e532b38ea57e91f4fc474.tar.bz2 gentoo-79a660c825fcab60249e532b38ea57e91f4fc474.zip |
dev-python/bibtexparser: Port up to py3.9, fix ebuild
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 | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild b/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild index 5b5c3522fdae..a72537c27481 100644 --- a/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild +++ b/dev-python/bibtexparser/bibtexparser-1.1.0.ebuild @@ -3,27 +3,19 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 python-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}.tar.gz" +S="${WORKDIR}/python-${P}" LICENSE="|| ( BSD LGPL-3 )" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/python-${P}" -src_test() { - python_foreach_impl nosetests -} +distutils_enable_tests nose |