summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-28 17:12:20 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-28 17:12:20 +0100
commit320c89f875ff5273fd8daac7b2d259fe78cf9ecb (patch)
tree24ba3c378d2aa4d0a88e191d34340249c4bb5005 /dev-python/embedly
parentdev-python/elasticsearch-curator: Remove Py2 (diff)
downloadgentoo-320c89f875ff5273fd8daac7b2d259fe78cf9ecb.tar.gz
gentoo-320c89f875ff5273fd8daac7b2d259fe78cf9ecb.tar.bz2
gentoo-320c89f875ff5273fd8daac7b2d259fe78cf9ecb.zip
dev-python/embedly: 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/embedly')
-rw-r--r--dev-python/embedly/embedly-0.5.0-r1.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/dev-python/embedly/embedly-0.5.0-r1.ebuild b/dev-python/embedly/embedly-0.5.0-r1.ebuild
index 313b05cf3fe1..3721058887b8 100644
--- a/dev-python/embedly/embedly-0.5.0-r1.ebuild
+++ b/dev-python/embedly/embedly-0.5.0-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_{5,6}} )
+PYTHON_COMPAT=( python3_{5,6} )
inherit distutils-r1
@@ -16,17 +16,14 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="test"
+# Testsuite relies upon connection to various sites on the net
+RESTRICT="test"
RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
S="${WORKDIR}/${MY_P}"
-# Testsuite relies upon connection to various sites on the net
-RESTRICT="test"
-
python_test() {
esetup.py test
}