diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-13 05:35:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-13 05:35:51 +0000 |
commit | 9e166f0fa8bc64fb267aaba88d9a55f8393e15a0 (patch) | |
tree | 8e5bf47e5b23c73057fb21ad97f5babca40da0cd /dev-python/zope-configuration | |
parent | fd3c1be769bb61186a7d433ce694b0059a8f84a5 (diff) |
gentoo auto-resync : 13:02:2024 - 05:35:50
Diffstat (limited to 'dev-python/zope-configuration')
-rw-r--r-- | dev-python/zope-configuration/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zope-configuration/zope-configuration-5.0.1.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/zope-configuration/Manifest b/dev-python/zope-configuration/Manifest index e841ea64e554..f74399dafa14 100644 --- a/dev-python/zope-configuration/Manifest +++ b/dev-python/zope-configuration/Manifest @@ -1,3 +1,5 @@ +DIST zope.configuration-5.0.1.tar.gz 83327 BLAKE2B 665687d49e77c43e08293d5e7816a1f1abc9ff0c97dcfa83a90693d6da9d5767ebc24512dd7593316464103c38655c41909949bb1c8bb3f5db272e3637066284 SHA512 58fec7b330a4ee5f9bb71238fbcb8f07fdd7b6767cb2d8e054699ffcb915973b9dfead33e5515f40049f6aede233d31624d09d7f84d75b96318e63f8ab454147 DIST zope.configuration-5.0.tar.gz 83357 BLAKE2B 8fa72cda6abf663d8dcf7b168c1a6c84401c1a93d6395b96eb2c691efab1395b56631aa92c95cc7401974832249c1ec734d49952a489be50b2eaf82252e919bb SHA512 59a720b9062ba5254b8a0c9b7dd4f44ab709ac29050c9f2eeb05827ed34f74940eed52ce5ec551bc0c8292f5ed0921a4d07c110f1b68baedcc6c02cd5edd9e00 +EBUILD zope-configuration-5.0.1.ebuild 1199 BLAKE2B 09793950ad865d423866e35d0b9d966e4f92dc50e98404ef6e9103e2f0243837e1856a23866a75e1d1a2a1fbb4d7728dac2b944832d5aff80aea16d60e5480c7 SHA512 ec6c447225335d8c0b67e2e0791be6eb3425b3104d35d1005326468afc21953f61d255deadc2917c2c5c71acfb1fbd49b505f63899a685fad422e5d68eea83fe EBUILD zope-configuration-5.0.ebuild 1196 BLAKE2B 70fe4af7954f97f0b3d0b45d5588d2d0faf86e7ffa6ba909162391b78109bf1c37c266e68688197d10ee3032311120754da4b74f453e07b31cb32177c90fd412 SHA512 d369965b272a9ccdcfbfd555dac65a548fdf0b321176647d5dfe35953333bf6f31b5b425307243b8a2423e815bcea9af1d47947bdba3ccfe0742d56cc5a984e2 MISC metadata.xml 671 BLAKE2B ebe65df9424a7f5e93a1095224dcbed784cdcef2f463dd9ee6e9580883ff93ea11e72463a897d5a1756c7f5c4f6c9fff562ba5d30dd8de8913aec58547ce3280 SHA512 e72a1d422e9c322fd92bd53f4bd8a5d9f0e5505fdb18dec30b9605d8ef5b943c1893f0fa78398fb8610fd7f3b9bcee5a602a3ce1cef8821239cd9681a340dbeb diff --git a/dev-python/zope-configuration/zope-configuration-5.0.1.ebuild b/dev-python/zope-configuration/zope-configuration-5.0.1.ebuild new file mode 100644 index 000000000000..f61e15e6270a --- /dev/null +++ b/dev-python/zope-configuration/zope-configuration-5.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Zope Configuration Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.configuration/ + https://github.com/zopefoundation/zope.configuration/ + https://zopeconfiguration.readthedocs.io/en/latest/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + >=dev-python/zope-schema-4.9[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/manuel[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +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 +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |