diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-07-18 16:17:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-07-18 16:37:40 +0200 |
commit | 877c739695b3b8fdb1579a6cf3b52df18089aba9 (patch) | |
tree | b508ea326f79c1f2deb56c63977dc3378925d907 /dev-python/python-magic | |
parent | sys-apps/file: Enable py3.7 (diff) | |
download | gentoo-877c739695b3b8fdb1579a6cf3b52df18089aba9.tar.gz gentoo-877c739695b3b8fdb1579a6cf3b52df18089aba9.tar.bz2 gentoo-877c739695b3b8fdb1579a6cf3b52df18089aba9.zip |
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
Diffstat (limited to 'dev-python/python-magic')
-rw-r--r-- | dev-python/python-magic/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-magic/python-magic-0.4.15.ebuild | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/python-magic/Manifest b/dev-python/python-magic/Manifest index 0c9277f1daa0..3c176e1fff4b 100644 --- a/dev-python/python-magic/Manifest +++ b/dev-python/python-magic/Manifest @@ -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 diff --git a/dev-python/python-magic/python-magic-0.4.15.ebuild b/dev-python/python-magic/python-magic-0.4.15.ebuild index 272c99c42619..1abf74ba9369 100644 --- a/dev-python/python-magic/python-magic-0.4.15.ebuild +++ b/dev-python/python-magic/python-magic-0.4.15.ebuild @@ -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}" } |