dev-python/repoze-lru: readd py2

This commit is contained in:
nemunaire 2020-05-16 21:05:03 +02:00
parent ab1ec38a42
commit d983237143
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST repoze-lru-0.7-r1.tar.gz 19489 BLAKE2B b0a33dab1fd69962f04e9c088b005a2a6d456ec8dd17f628b7077b51841bef5e9503034959c8b89e84bf5c471d9366d467ee6b7a610508c4b098775532628fc2 SHA512 52e7ab83979d34a4f0c97e62600e64bf430ed0311120fe948f6b407b7713446d5e954c54f811b85ade74eebf2a4d54653c12c38d07bdac51c456aea86334468f
EBUILD repoze-lru-0.7-r1.ebuild 715 BLAKE2B e8180b0ffabdbc902fe820ad1334b03bf819bb213b3affe2f0fd9f3a9d3d7f713b6463bcede9a2c0893704042dd5239b39f8599620fc0a8a9db125a4a33d9291 SHA512 d84217706ac549e1c60f4693379810fe1e67ee1cd0f079d2c7973dc8f31060eba2a93c984b8011c594530baa24633acb0a5dc4b9b396cfc37dad55b82b948c4a

View File

@ -0,0 +1,29 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
MY_PN=${PN/-/.}
MY_P=${MY_PN}-${PV}
DESCRIPTION="A tiny LRU cache implementation and decorator"
HOMEPAGE="http://www.repoze.org"
SRC_URI="https://github.com/repoze/repoze.lru/archive/${PV}.tar.gz -> ${PN}-${PVR}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="repoze"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
RDEPEND="dev-python/namespace-repoze[${PYTHON_USEDEP}]"
distutils_enable_tests unittest
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name '*.pth' -delete || die
}