mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-python/zope-cachedescriptors: add 5.0
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST zope-cachedescriptors-4.4.gh.tar.gz 10194 BLAKE2B e5d505beef056610c4980d66bd8e183bd883e730aaf4cbfec0b1648be34ef7cd5547c20de465f173f9b54072014f4aa337337178d11a8c2ab1d8ad997f64d68d SHA512 22ba430ac899131512c4a69933155d06ade8a607a874c9cf733171148f7f9e50d4fde9976ab28aec19f19871a654cb78ba09d8fea0799cf0bb73bbbbe5680554
|
||||
DIST zope.cachedescriptors-5.0.tar.gz 13250 BLAKE2B b6e3f78555327d1676ffc7bfd4102fca701173bca0d0592fd1349343dcab769f7fc8456fd692bc1e7642e25dcf7ce2bd6b1304b084ab74cfd07f2323f9ceaed2 SHA512 fc310ba8a732871d578d689c2b98638b4e6de8455eaa2583eba2334ea021052a4bbd81eb57151a2ed6bd06ebdcea3348ebd98d4777e66ae613a078bc13911224
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYPI_PN="${PN/-/\.}"
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Python descriptors which cache their output"
|
||||
HOMEPAGE="https://github.com/zopefoundation/zope.cachedescriptors"
|
||||
|
||||
LICENSE="ZPL"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_prepare() {
|
||||
# strip rdep specific to namespaces
|
||||
sed -i -e "/'setuptools'/d" setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
find "${BUILD_DIR}" -name '*.pth' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user