diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-05 21:58:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-05 22:21:26 +0100 |
commit | 0187738d03cfa27cffebde1240a6719e72082765 (patch) | |
tree | 216fa87ded7b702e6a3d229f99e09614d77e045f /dev-python | |
parent | dev-python/PyUtilib: Remove py2 (diff) | |
download | gentoo-0187738d03cfa27cffebde1240a6719e72082765.tar.gz gentoo-0187738d03cfa27cffebde1240a6719e72082765.tar.bz2 gentoo-0187738d03cfa27cffebde1240a6719e72082765.zip |
dev-python/qrcode: Remove py2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/qrcode/qrcode-5.1-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-python/qrcode/qrcode-6.1.ebuild | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/dev-python/qrcode/qrcode-5.1-r1.ebuild b/dev-python/qrcode/qrcode-5.1-r1.ebuild index b31e50dc1957..2a2e7529533f 100644 --- a/dev-python/qrcode/qrcode-5.1-r1.ebuild +++ b/dev-python/qrcode/qrcode-5.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 @@ -25,8 +25,7 @@ RDEPEND=" dev-python/pillow[${PYTHON_USEDEP}]" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} - $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) )" + test? ( ${RDEPEND} )" PATCHES=( "${FILESDIR}"/${P}-unicode.patch diff --git a/dev-python/qrcode/qrcode-6.1.ebuild b/dev-python/qrcode/qrcode-6.1.ebuild index a59ffe76e88b..6478dfae767c 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_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -22,8 +22,7 @@ RDEPEND=" dev-python/lxml[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}]" DEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )" + dev-python/setuptools[${PYTHON_USEDEP}]" distutils_enable_tests unittest |