From: David Seifert Date: Sat, 28 Dec 2019 16:12:55 +0000 (+0100) Subject: dev-python/imapclient: Remove Py2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aec4a8662bcc3d67d8a610044f891bd57024da21;p=gentoo.git dev-python/imapclient: Remove Py2 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert --- diff --git a/dev-python/imapclient/imapclient-0.13.ebuild b/dev-python/imapclient/imapclient-0.13.ebuild index 6d307b59f89f..751ac20caba8 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 5742007c8532..f38ee2f691f2 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