mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/bibtexparser: Port up to py3.9, fix ebuild
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user