summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2020-02-05 17:33:59 -0800
committerPatrick McLean <chutzpah@gentoo.org>2020-02-05 17:33:59 -0800
commit951059dc183074da420073013b482c222f95b7be (patch)
treec7e9e86274f01141cb016ae5d81eba8cd856bc0f /dev-python/python-levenshtein
parentprofiles: x32: mask ceph USE flags on bareos (diff)
downloadgentoo-951059dc183074da420073013b482c222f95b7be.tar.gz
gentoo-951059dc183074da420073013b482c222f95b7be.tar.bz2
gentoo-951059dc183074da420073013b482c222f95b7be.zip
dev-python/python-levenshtein-0.12.0: Drop doc USE flag as it needs python2
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/python-levenshtein')
-rw-r--r--dev-python/python-levenshtein/python-levenshtein-0.12.0.ebuild22
1 files changed, 1 insertions, 21 deletions
diff --git a/dev-python/python-levenshtein/python-levenshtein-0.12.0.ebuild b/dev-python/python-levenshtein/python-levenshtein-0.12.0.ebuild
index aa9ccd728426..1fc1b7dce524 100644
--- a/dev-python/python-levenshtein/python-levenshtein-0.12.0.ebuild
+++ b/dev-python/python-levenshtein/python-levenshtein-0.12.0.ebuild
@@ -4,6 +4,7 @@
EAPI=6
PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
@@ -19,28 +20,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64 ~ia64 x86"
-IUSE="doc"
-
-REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*' pypy) ) )"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
- use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' pypy )
-}
-
-python_compile_all() {
- if use doc; then
- einfo "Generation of documentation"
- "${EPYTHON}" "${FILESDIR}/genextdoc.py" Levenshtein \
- || die "Generation of documentation failed"
- fi
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( Levenshtein.html )
- distutils-r1_python_install_all
-}