mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 20:48:31 -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:
@@ -1,2 +1,2 @@
|
||||
DIST python-magic-0.4.10.tar.gz 3950 BLAKE2B f672b95082a68ff8fb2c4b50da0d22316456cda4b72b92d4244fdcd47c43bf599821a9577c76d99bc2a3ae578f4ff05aa76efcfcde684f27a06b90e28d58235e SHA512 8dadfd069bbca574a159dc034fca84fb110a3015ba54fa62c715006b586a5fd10373a5108a4847887bd86c6b7f2c4da90dfb7041cd5e4d51829ac1b94b8e1a03
|
||||
DIST python-magic-0.4.15.tar.gz 73194 BLAKE2B 578056caa69dc617135336d00ac7b2da45f56f48e9cf99e9fe71c4ceb6b8432927c90d1aa84516564b3ead63d501789a22f89ac681950dea0bf9735aef263625 SHA512 df028669209e02cde06f4db0481d84c316cefc191273ab3c749e88a23c92cb79a703077f601a0cc194fccbbcf62b38de8bab79290827a8505bc06e2f4aa0c2bb
|
||||
DIST python-magic-0.4.15.gh.tar.gz 75476 BLAKE2B dad4973f69a21d08972e1e29bc92a51bc92f405907cc28f18eb9357029afdf9f1ba68010ce651acd821140d60dc10eb2e04138627fb19d132f185a2831fcea28 SHA512 004d6bfde52d58a9d3019ef4ff8c5b18b6a4206bf89820d3a0ae0ed78813f80dfba422aee9685528f88c990526ba65fa2153ac3b95b8863ce6cb3ebe925bd780
|
||||
|
||||
@@ -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