-DIST python-Levenshtein-0.11.2.tar.gz 45458 BLAKE2B 073871d18a2b02ba31be51af49ec907ffdf6c390f90e965c0710b5d3462f15238620e6a25b64b5fd19b922074493beec7753a0719714d893c5257eaf753aa4c0 SHA512 67d701e841c9a846948a1f2c70ea06c6473e3ae1437f73df2a2747d576024889a12e00c4a61e95b6c14826554b1ebaf65375cf5be4f26df3b208568403192bf3
DIST python-Levenshtein-0.12.0.tar.gz 48617 BLAKE2B 67a720f2a76152b008bce86405b4f15f14f203e55c09931f83624c85199626582dcbc255ace914e103e7cd459c8570b0ea0c0d69abfd2c314aa488cb235583a4 SHA512 95df064490970618b003bccbef9071b1a2a3ee4645ac8e851f4205bd4e8123d21ee0ee733adfeec79085faa01ba39902e2a4a26bfb21b70678377579157df4a5
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 pypy )
-
-inherit distutils-r1
-
-MY_PN="python-Levenshtein"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations"
-HOMEPAGE="
- https://github.com/ztane/python-Levenshtein/
- https://pypi.org/project/python-Levenshtein/"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 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"
- "${PYTHON}" "${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
-}