summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-28 17:12:55 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-28 17:12:55 +0100
commitaec4a8662bcc3d67d8a610044f891bd57024da21 (patch)
tree6f25d3121d16baf9a4af63bc7b21b5c881a541bf /dev-python/imapclient
parentdev-python/ijson: Remove Py2 (diff)
downloadgentoo-aec4a8662bcc3d67d8a610044f891bd57024da21.tar.gz
gentoo-aec4a8662bcc3d67d8a610044f891bd57024da21.tar.bz2
gentoo-aec4a8662bcc3d67d8a610044f891bd57024da21.zip
dev-python/imapclient: Remove Py2
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/imapclient')
-rw-r--r--dev-python/imapclient/imapclient-0.13.ebuild8
-rw-r--r--dev-python/imapclient/imapclient-2.1.0.ebuild8
2 files changed, 6 insertions, 10 deletions
diff --git a/dev-python/imapclient/imapclient-0.13.ebuild b/dev-python/imapclient/imapclient-0.13.ebuild
index 6d307b59f89..751ac20caba 100644
--- a/dev-python/imapclient/imapclient-0.13.ebuild
+++ b/dev-python/imapclient/imapclient-0.13.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
+PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1
@@ -17,13 +17,11 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
+IUSE="doc examples"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy) )"
+ dev-python/setuptools[${PYTHON_USEDEP}]"
S=${WORKDIR}/${MY_P}
diff --git a/dev-python/imapclient/imapclient-2.1.0.ebuild b/dev-python/imapclient/imapclient-2.1.0.ebuild
index 5742007c853..f38ee2f691f 100644
--- a/dev-python/imapclient/imapclient-2.1.0.ebuild
+++ b/dev-python/imapclient/imapclient-2.1.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} pypy )
+PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
@@ -14,14 +14,12 @@ SRC_URI="https://github.com/mjs/imapclient/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc examples test"
-RESTRICT="!test? ( test )"
+IUSE="doc examples"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )"
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
PATCHES=(
# fix incorrect assumption about py3.6 behavior