diff options
author | 2019-11-24 20:18:36 +0100 | |
---|---|---|
committer | 2019-11-24 20:31:47 +0100 | |
commit | e6bbedddaef5121063d059c351310f42d20a9839 (patch) | |
tree | 8315c0d032be167cc24ec10235ef7c99c15ced7d | |
parent | dev-python/pillow: Enable py3.8 (diff) | |
download | gentoo-e6bbedddaef5121063d059c351310f42d20a9839.tar.gz gentoo-e6bbedddaef5121063d059c351310f42d20a9839.tar.bz2 gentoo-e6bbedddaef5121063d059c351310f42d20a9839.zip |
dev-python/qrcode: Enable py3.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/qrcode/qrcode-6.1.ebuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-python/qrcode/qrcode-6.1.ebuild b/dev-python/qrcode/qrcode-6.1.ebuild index b59ee7e4b562..f73d0b581265 100644 --- a/dev-python/qrcode/qrcode-6.1.ebuild +++ b/dev-python/qrcode/qrcode-6.1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} ) inherit distutils-r1 @@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" # optional deps: # - pillow and lxml for svg backend, set as hard deps @@ -25,12 +23,9 @@ RDEPEND=" dev-python/pillow[${PYTHON_USEDEP}]" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" + test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" -python_test() { - "${EPYTHON}" -m unittest discover -v || die "Testing failed with ${EPYTHON}" -} +distutils_enable_tests unittest src_install() { distutils-r1_src_install |