mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-06-15 19:58:07 -07:00
dev-python/python-magic: Actually run tests
Actually run the tests from the package rather than CPython's own test suite. Closes: https://bugs.gentoo.org/659102
This commit is contained in:
@@ -9,7 +9,7 @@ inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Access the libmagic file type identification library"
|
||||
HOMEPAGE="https://github.com/ahupp/python-magic"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/ahupp/python-magic/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
@@ -20,9 +20,6 @@ RDEPEND="sys-apps/file[-python]"
|
||||
DEPEND="${DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# Needs MacOS python module, bug #659102
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
"${EPYTHON}" test/test.py -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user