From 21acec44fffc125e6148e55f65fd5c82edd3ca8d Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 23 Apr 2022 00:51:22 +0000 Subject: Adding metadata --- .../django-tables2/django-tables2-2.4.1.ebuild | 3 + dev-python/fonttools/Manifest | 1 + dev-python/fonttools/fonttools-4.33.1.ebuild | 58 ++++++++ dev-python/pooch/pooch-1.6.0.ebuild | 4 +- dev-python/pyopenssl/pyopenssl-22.0.0.ebuild | 2 +- .../setuptools-rust-1.2.0-r1.ebuild | 160 +++++++++++++++++++++ .../setuptools-rust/setuptools-rust-1.2.0.ebuild | 154 -------------------- .../zope-component/zope-component-4.4.1-r1.ebuild | 54 ------- .../zope-component/zope-component-4.4.1-r2.ebuild | 55 +++++++ .../zope-component/zope-component-4.4.1.ebuild | 37 ----- .../zope-configuration-4.4.1-r1.ebuild | 56 -------- .../zope-configuration-4.4.1-r2.ebuild | 57 ++++++++ .../zope-deprecation-4.4.0-r1.ebuild | 42 ------ .../zope-deprecation-4.4.0-r2.ebuild | 46 ++++++ dev-python/zope-event/zope-event-4.5.0-r2.ebuild | 42 ------ dev-python/zope-event/zope-event-4.5.0-r3.ebuild | 46 ++++++ .../zope-exceptions/zope-exceptions-4.5-r1.ebuild | 46 ++++++ .../zope-exceptions/zope-exceptions-4.5.ebuild | 45 ------ .../zope-i18nmessageid-5.0.1-r1.ebuild | 46 ------ .../zope-i18nmessageid-5.0.1-r2.ebuild | 47 ++++++ .../zope-i18nmessageid-5.0.1.ebuild | 40 ------ .../zope-interface/zope-interface-5.4.0-r1.ebuild | 51 ------- .../zope-interface/zope-interface-5.4.0-r2.ebuild | 54 +++++++ dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild | 53 ------- dev-python/zope-schema/zope-schema-6.2.0-r2.ebuild | 54 +++++++ .../zope-testing/zope-testing-4.10-r1.ebuild | 43 ------ .../zope-testing/zope-testing-4.10-r2.ebuild | 47 ++++++ 27 files changed, 678 insertions(+), 665 deletions(-) create mode 100644 dev-python/fonttools/fonttools-4.33.1.ebuild create mode 100644 dev-python/setuptools-rust/setuptools-rust-1.2.0-r1.ebuild delete mode 100644 dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild delete mode 100644 dev-python/zope-component/zope-component-4.4.1-r1.ebuild create mode 100644 dev-python/zope-component/zope-component-4.4.1-r2.ebuild delete mode 100644 dev-python/zope-component/zope-component-4.4.1.ebuild delete mode 100644 dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild create mode 100644 dev-python/zope-configuration/zope-configuration-4.4.1-r2.ebuild delete mode 100644 dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild create mode 100644 dev-python/zope-deprecation/zope-deprecation-4.4.0-r2.ebuild delete mode 100644 dev-python/zope-event/zope-event-4.5.0-r2.ebuild create mode 100644 dev-python/zope-event/zope-event-4.5.0-r3.ebuild create mode 100644 dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild delete mode 100644 dev-python/zope-exceptions/zope-exceptions-4.5.ebuild delete mode 100644 dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild create mode 100644 dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r2.ebuild delete mode 100644 dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1.ebuild delete mode 100644 dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild create mode 100644 dev-python/zope-interface/zope-interface-5.4.0-r2.ebuild delete mode 100644 dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild create mode 100644 dev-python/zope-schema/zope-schema-6.2.0-r2.ebuild delete mode 100644 dev-python/zope-testing/zope-testing-4.10-r1.ebuild create mode 100644 dev-python/zope-testing/zope-testing-4.10-r2.ebuild (limited to 'dev-python') diff --git a/dev-python/django-tables2/django-tables2-2.4.1.ebuild b/dev-python/django-tables2/django-tables2-2.4.1.ebuild index 21b6e4a711bf..509be4b01c90 100644 --- a/dev-python/django-tables2/django-tables2-2.4.1.ebuild +++ b/dev-python/django-tables2/django-tables2-2.4.1.ebuild @@ -32,6 +32,9 @@ BDEPEND=" ${RDEPEND} dev-python/django-filter[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/psycopg:2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] ) " diff --git a/dev-python/fonttools/Manifest b/dev-python/fonttools/Manifest index 7ea2267a9902..abe838319248 100644 --- a/dev-python/fonttools/Manifest +++ b/dev-python/fonttools/Manifest @@ -3,3 +3,4 @@ DIST fonttools-4.31.1.tar.gz 2964489 BLAKE2B d1bb7059383785dd527f7276ef876042f81 DIST fonttools-4.31.2.tar.gz 2965796 BLAKE2B d776073e7a9358e67b8753dd4557e2b1b4c44d9662c8c728abe42d970bca1db1789a655df8865fef39eed3a32271749d2cb772e306f34efc87e737b7384c0b5d SHA512 50cc8bca9136675a413ac947b583f694d512872127cee129a78505d0259fe1cf6922f806558761af982758f72c7d95e1245b8de55b6ebd6ddd3bd7506d41abcf DIST fonttools-4.32.0.tar.gz 2966840 BLAKE2B 67a79c8c2e26f9f72fcf6ea4ab5ee3712d3541b47528a209221f9fcf82a5b5db589561200e4b6911a32102a4f4dc4b4e34c8271eb97b1cee18a81b3039efdf03 SHA512 a71a44601c7ec9f709ddc14da1c26d1248909fba8a0bfb7104ebe5f9b85949fe479c5eabdd2c94086d9999756035291e68bb7e861488d4123ccf667ac3ac2e03 DIST fonttools-4.33.0.tar.gz 3525052 BLAKE2B 5ea275adbfbf6e01222f6eba8f5eef7afe533b9692e6a7a2fb644fb68dec632ab2962d6b7f6b4ff876676e8314aadbfc04a005ea7a389904e398723feaa756d0 SHA512 147f6d41d1a6b27ebe6973cb91a90384291ad8c7b75b71c3b814908012530066b79f4c39bdd6da9e98614ef61b1cc19803756aba73e4da7ce2e82147390f0023 +DIST fonttools-4.33.1.tar.gz 3526591 BLAKE2B c720e9159602168bc2f435f96e9b470e95a748e3e61aac717659e01e5998c8ead825056fe6114cb40be47ab1ebcd7dc6f3152cccd87aec5b49134147694aa3eb SHA512 14e4da0e146d4b88ab6375ad7c912f1ec6f437386e2d676bbffcd5a84be980151ed4f77f69bf618843b321106ca763af564cf05dfb6fa11888f02adfde7d74b2 diff --git a/dev-python/fonttools/fonttools-4.33.1.ebuild b/dev-python/fonttools/fonttools-4.33.1.ebuild new file mode 100644 index 000000000000..0597adaf64a8 --- /dev/null +++ b/dev-python/fonttools/fonttools-4.33.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 virtualx + +DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts" +HOMEPAGE="https://github.com/fonttools/fonttools/" +SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" + +RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + test? ( + app-arch/brotli[python,${PYTHON_USEDEP}] + app-arch/zopfli + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # When dev-python/pytest-shutil is installed, we get weird import errors. + # This is due to incomplete nesting in the Tests/ tree: + # + # Tests/feaLib/__init__.py + # Tests/ufoLib/__init__.py + # Tests/svgLib/path/__init__.py + # Tests/otlLib/__init__.py + # Tests/varLib/__init__.py + # + # This tree requires an __init__.py in Tests/svgLib/ too, bug #701148. + touch Tests/svgLib/__init__.py || die + + distutils-r1_python_prepare_all +} + +src_configure() { + export FONTTOOLS_WITH_CYTHON=1 +} + +src_test() { + # virtualx used when matplotlib is installed causing plot module tests to run + virtx distutils-r1_src_test +} + +python_test() { + epytest Tests fontTools || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/pooch/pooch-1.6.0.ebuild b/dev-python/pooch/pooch-1.6.0.ebuild index ebbb9a0c3a1e..4be19e4940bc 100644 --- a/dev-python/pooch/pooch-1.6.0.ebuild +++ b/dev-python/pooch/pooch-1.6.0.ebuild @@ -30,7 +30,9 @@ BDEPEND=" dev-python/tqdm[${PYTHON_USEDEP}] )" -distutils_enable_sphinx doc dev-python/sphinx_rtd_theme +### docs no included in pypi tarball +# distutils_enable_sphinx doc \ +# dev-python/sphinx_rtd_theme distutils_enable_tests pytest export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild b/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild index 0cb0675a642a..3b07c9d1b65b 100644 --- a/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild +++ b/dev-python/pyopenssl/pyopenssl-22.0.0.ebuild @@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="~amd64 ~ppc ~riscv" RDEPEND=" >=dev-python/cryptography-35.0[${PYTHON_USEDEP}] diff --git a/dev-python/setuptools-rust/setuptools-rust-1.2.0-r1.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.2.0-r1.ebuild new file mode 100644 index 000000000000..777d85f8f2f5 --- /dev/null +++ b/dev-python/setuptools-rust/setuptools-rust-1.2.0-r1.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CARGO_OPTIONAL=yes +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +CRATES=" + bitflags-1.3.2 + byteorder-1.4.3 + cfg-if-1.0.0 + convert_case-0.4.0 + cssparser-0.27.2 + cssparser-macros-0.6.0 + derive_more-0.99.17 + dtoa-0.4.8 + dtoa-short-0.3.3 + futf-0.1.5 + fxhash-0.2.1 + getrandom-0.1.16 + html5ever-0.25.1 + indoc-1.0.4 + instant-0.1.12 + itoa-0.4.8 + kuchiki-0.8.1 + lazy_static-1.4.0 + libc-0.2.121 + lock_api-0.4.6 + log-0.4.14 + mac-0.1.1 + markup5ever-0.10.1 + matches-0.1.9 + new_debug_unreachable-1.0.4 + nodrop-0.1.14 + once_cell-1.10.0 + parking_lot-0.11.2 + parking_lot_core-0.8.5 + phf-0.8.0 + phf_codegen-0.8.0 + phf_generator-0.8.0 + phf_macros-0.8.0 + phf_shared-0.10.0 + phf_shared-0.8.0 + ppv-lite86-0.2.16 + precomputed-hash-0.1.1 + proc-macro2-1.0.36 + proc-macro-hack-0.5.19 + pyo3-0.16.2 + pyo3-build-config-0.16.2 + pyo3-ffi-0.16.2 + pyo3-macros-0.16.2 + pyo3-macros-backend-0.16.2 + quote-1.0.16 + rand-0.7.3 + rand_chacha-0.2.2 + rand_core-0.5.1 + rand_hc-0.2.0 + rand_pcg-0.2.1 + redox_syscall-0.2.11 + rustc_version-0.4.0 + scopeguard-1.1.0 + selectors-0.22.0 + semver-1.0.6 + serde-1.0.136 + servo_arc-0.1.1 + siphasher-0.3.10 + smallvec-1.8.0 + stable_deref_trait-1.2.0 + string_cache-0.8.3 + string_cache_codegen-0.5.1 + syn-1.0.89 + tendril-0.4.2 + thin-slice-0.1.1 + unicode-xid-0.2.2 + unindent-0.1.8 + utf-8-0.7.6 + wasi-0.9.0+wasi-snapshot-preview1 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit distutils-r1 cargo + +DESCRIPTION="A plugin for setuptools to build Rust Python extensions" +HOMEPAGE=" + https://github.com/PyO3/setuptools-rust/ + https://pypi.org/project/setuptools-rust/ +" +SRC_URI=" + mirror://pypi/${PN::1}/${PN}/${P}.tar.gz + test? ( $(cargo_crate_uris ${CRATES}) ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + virtual/rust + =dev-python/semantic_version-2.8.2[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-3.7.4.3[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/setuptools_scm-6.3.2[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*') + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" +# there seems to be a problem with setuptools-rust and python-distutils-extra +# being installed simultaneously +# https://github.com/PyO3/setuptools-rust/issues/221 +RDEPEND+=" + !!dev-python/python-distutils-extra +" + +src_unpack() { + cargo_src_unpack +} + +python_test() { + local examples=( + html-py-ever + namespace_package + rust_with_cffi + ) + for example_dir in ${examples[@]}; do + pushd examples/${example_dir} >/dev/null || die + einfo "Running ${example_dir} test" + esetup.py build --build-lib=build/lib + + case ${example_dir} in + html-py-ever) + pushd test >/dev/null || die + local -x PYTHONPATH=../build/lib + ${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}" + popd >/dev/null || die + ;; + *) + pushd build/lib >/dev/null || die + epytest ../../tests + popd >/dev/null || die + ;; + esac + + rm -rf build || die + popd >/dev/null || die + done +} diff --git a/dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild b/dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild deleted file mode 100644 index 431e6e86fb3c..000000000000 --- a/dev-python/setuptools-rust/setuptools-rust-1.2.0.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CARGO_OPTIONAL=yes -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -CRATES=" - bitflags-1.3.2 - byteorder-1.4.3 - cfg-if-1.0.0 - convert_case-0.4.0 - cssparser-0.27.2 - cssparser-macros-0.6.0 - derive_more-0.99.17 - dtoa-0.4.8 - dtoa-short-0.3.3 - futf-0.1.5 - fxhash-0.2.1 - getrandom-0.1.16 - html5ever-0.25.1 - indoc-1.0.4 - instant-0.1.12 - itoa-0.4.8 - kuchiki-0.8.1 - lazy_static-1.4.0 - libc-0.2.121 - lock_api-0.4.6 - log-0.4.14 - mac-0.1.1 - markup5ever-0.10.1 - matches-0.1.9 - new_debug_unreachable-1.0.4 - nodrop-0.1.14 - once_cell-1.10.0 - parking_lot-0.11.2 - parking_lot_core-0.8.5 - phf-0.8.0 - phf_codegen-0.8.0 - phf_generator-0.8.0 - phf_macros-0.8.0 - phf_shared-0.10.0 - phf_shared-0.8.0 - ppv-lite86-0.2.16 - precomputed-hash-0.1.1 - proc-macro2-1.0.36 - proc-macro-hack-0.5.19 - pyo3-0.16.2 - pyo3-build-config-0.16.2 - pyo3-ffi-0.16.2 - pyo3-macros-0.16.2 - pyo3-macros-backend-0.16.2 - quote-1.0.16 - rand-0.7.3 - rand_chacha-0.2.2 - rand_core-0.5.1 - rand_hc-0.2.0 - rand_pcg-0.2.1 - redox_syscall-0.2.11 - rustc_version-0.4.0 - scopeguard-1.1.0 - selectors-0.22.0 - semver-1.0.6 - serde-1.0.136 - servo_arc-0.1.1 - siphasher-0.3.10 - smallvec-1.8.0 - stable_deref_trait-1.2.0 - string_cache-0.8.3 - string_cache_codegen-0.5.1 - syn-1.0.89 - tendril-0.4.2 - thin-slice-0.1.1 - unicode-xid-0.2.2 - unindent-0.1.8 - utf-8-0.7.6 - wasi-0.9.0+wasi-snapshot-preview1 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-x86_64-pc-windows-gnu-0.4.0 -" - -inherit distutils-r1 cargo - -DESCRIPTION="A plugin for setuptools to build Rust Python extensions" -HOMEPAGE=" - https://github.com/PyO3/setuptools-rust/ - https://pypi.org/project/setuptools-rust/ -" -SRC_URI=" - mirror://pypi/${PN::1}/${PN}/${P}.tar.gz - test? ( $(cargo_crate_uris ${CRATES}) ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - virtual/rust - =dev-python/semantic_version-2.8.2[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-3.7.4.3[${PYTHON_USEDEP}] -" -BDEPEND=" - >=dev-python/setuptools_scm-6.3.2[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/beautifulsoup4[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/cffi[${PYTHON_USEDEP}] - ' 'python*') - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - ) -" - -src_unpack() { - cargo_src_unpack -} - -python_test() { - local examples=( - html-py-ever - namespace_package - rust_with_cffi - ) - for example_dir in ${examples[@]}; do - pushd examples/${example_dir} >/dev/null || die - einfo "Running ${example_dir} test" - esetup.py build --build-lib=build/lib - - case ${example_dir} in - html-py-ever) - pushd test >/dev/null || die - local -x PYTHONPATH=../build/lib - ${EPYTHON} run_all.py || die "Tests failed with ${EPYTHON}" - popd >/dev/null || die - ;; - *) - pushd build/lib >/dev/null || die - epytest ../../tests - popd >/dev/null || die - ;; - esac - - rm -rf build || die - popd >/dev/null || die - done -} diff --git a/dev-python/zope-component/zope-component-4.4.1-r1.ebuild b/dev-python/zope-component/zope-component-4.4.1-r1.ebuild deleted file mode 100644 index 2adb4fd8b9c5..000000000000 --- a/dev-python/zope-component/zope-component-4.4.1-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_PN=zope.component -MY_P=${MY_PN}-${PV} -DESCRIPTION="Zope Component Architecture" -HOMEPAGE=" - https://pypi.org/project/zope.component/ - https://github.com/zopefoundation/zope.component/ -" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - dev-python/zope-event[${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.1.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/zope-configuration[${PYTHON_USEDEP}] - dev-python/zope-i18nmessageid[${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 -} diff --git a/dev-python/zope-component/zope-component-4.4.1-r2.ebuild b/dev-python/zope-component/zope-component-4.4.1-r2.ebuild new file mode 100644 index 000000000000..50bc49ce1e0c --- /dev/null +++ b/dev-python/zope-component/zope-component-4.4.1-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_PN=zope.component +MY_P=${MY_PN}-${PV} +DESCRIPTION="Zope Component Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.component/ + https://github.com/zopefoundation/zope.component/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" + +RDEPEND=" + dev-python/zope-event[${PYTHON_USEDEP}] + >=dev-python/zope-interface-4.1.0[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/zope-configuration[${PYTHON_USEDEP}] + dev-python/zope-i18nmessageid[${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 +} diff --git a/dev-python/zope-component/zope-component-4.4.1.ebuild b/dev-python/zope-component/zope-component-4.4.1.ebuild deleted file mode 100644 index d0391adde0f2..000000000000 --- a/dev-python/zope-component/zope-component-4.4.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 -MY_PN=zope.component -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Zope Component Architecture" -HOMEPAGE="https://github.com/zopefoundation/zope.component - https://zopecomponent.readthedocs.io/en/latest/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] - dev-python/zope-event[${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.1.0[${PYTHON_USEDEP}]" - -# Uses multiple new dependencies, which isn't worth it -RESTRICT="test" - -distutils_enable_tests nose - -python_install_all() { - distutils-r1_python_install_all - - # remove .pth files since dev-python/namespace-zope handles the ns - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild b/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild deleted file mode 100644 index 331f4fd5f317..000000000000 --- a/dev-python/zope-configuration/zope-configuration-4.4.1-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Zope Configuration Architecture" -HOMEPAGE=" - https://pypi.org/project/zope.configuration/ - https://github.com/zopefoundation/zope.configuration/ - https://zopeconfiguration.readthedocs.io/en/latest/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -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}] -" -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 -} diff --git a/dev-python/zope-configuration/zope-configuration-4.4.1-r2.ebuild b/dev-python/zope-configuration/zope-configuration-4.4.1-r2.ebuild new file mode 100644 index 000000000000..9fb94e2a7df9 --- /dev/null +++ b/dev-python/zope-configuration/zope-configuration-4.4.1-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Zope Configuration Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.configuration/ + https://github.com/zopefoundation/zope.configuration/ + https://zopeconfiguration.readthedocs.io/en/latest/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +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 +} diff --git a/dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild b/dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild deleted file mode 100644 index ca7cc09caa6b..000000000000 --- a/dev-python/zope-deprecation/zope-deprecation-4.4.0-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} -DESCRIPTION="Zope Deprecation Infrastructure" -HOMEPAGE=" - https://pypi.org/project/zope.deprecation/ - https://github.com/zopefoundation/zope.deprecation/ -" -SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="amd64 x86" - -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 -} diff --git a/dev-python/zope-deprecation/zope-deprecation-4.4.0-r2.ebuild b/dev-python/zope-deprecation/zope-deprecation-4.4.0-r2.ebuild new file mode 100644 index 000000000000..fa3e49d18b5a --- /dev/null +++ b/dev-python/zope-deprecation/zope-deprecation-4.4.0-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Zope Deprecation Infrastructure" +HOMEPAGE=" + https://pypi.org/project/zope.deprecation/ + https://github.com/zopefoundation/zope.deprecation/ +" +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="amd64 x86" + +RDEPEND=" + !dev-python/namespace-zope +" + +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 +} diff --git a/dev-python/zope-event/zope-event-4.5.0-r2.ebuild b/dev-python/zope-event/zope-event-4.5.0-r2.ebuild deleted file mode 100644 index 8db104c763bd..000000000000 --- a/dev-python/zope-event/zope-event-4.5.0-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} -DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture" -HOMEPAGE=" - https://pypi.org/project/zope.event/ - https://github.com/zopefoundation/zope.event/ -" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -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 -} diff --git a/dev-python/zope-event/zope-event-4.5.0-r3.ebuild b/dev-python/zope-event/zope-event-4.5.0-r3.ebuild new file mode 100644 index 000000000000..3662ba26cdc0 --- /dev/null +++ b/dev-python/zope-event/zope-event-4.5.0-r3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.event/ + https://github.com/zopefoundation/zope.event/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" + +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 +} diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild new file mode 100644 index 000000000000..54a18b76c516 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_P=${P/-/.} +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" + +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 +} diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild deleted file mode 100644 index b846fc939ebe..000000000000 --- a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_P=${P/-/.} -DESCRIPTION="General purpose exceptions for Zope packages" -HOMEPAGE=" - https://pypi.org/project/zope.exceptions/ - https://github.com/zopefoundation/zope.exceptions/ -" -SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND=" - dev-python/zope-interface[${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 -} diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild deleted file mode 100644 index 37194b9b55e8..000000000000 --- a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} -DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)" -HOMEPAGE=" - https://pypi.org/project/zope.i18nmessageid/ - https://github.com/zopefoundation/zope.i18nmessageid/ -" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest - -src_prepare() { - # strip rdep specific to namespaces - sed -i -e "s:'setuptools',::" 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 -} diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r2.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r2.ebuild new file mode 100644 index 000000000000..e71e4965470a --- /dev/null +++ b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)" +HOMEPAGE=" + https://pypi.org/project/zope.i18nmessageid/ + https://github.com/zopefoundation/zope.i18nmessageid/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "s:'setuptools',::" 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 +} diff --git a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1.ebuild b/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1.ebuild deleted file mode 100644 index 8739ad706b24..000000000000 --- a/dev-python/zope-i18nmessageid/zope-i18nmessageid-5.0.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Zope support for i18nmessageid (tagging source of i18n strings)" -HOMEPAGE="https://github.com/zopefoundation/zope.i18nmessageid" -HOMEPAGE+=" " -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND=" - dev-python/namespace-zope[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}]" - -distutils_enable_tests unittest - -python_test() { - eunittest "${BUILD_DIR}"/lib -} - -python_install_all() { - distutils-r1_python_install_all - - # remove .pth files since dev-python/namespace-zope handles the ns - find "${D}" -name '*.pth' -delete || die -} diff --git a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild deleted file mode 100644 index b73037e01104..000000000000 --- a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Interfaces for Python" -HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -BDEPEND=" - test? ( - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-testing[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/5.1.0-drop-coverage.patch -) - -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 -} diff --git a/dev-python/zope-interface/zope-interface-5.4.0-r2.ebuild b/dev-python/zope-interface/zope-interface-5.4.0-r2.ebuild new file mode 100644 index 000000000000..0de4af64a097 --- /dev/null +++ b/dev-python/zope-interface/zope-interface-5.4.0-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Interfaces for Python" +HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/5.1.0-drop-coverage.patch +) + +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 +} diff --git a/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild b/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild deleted file mode 100644 index 9cd19a5c86f7..000000000000 --- a/dev-python/zope-schema/zope-schema-6.2.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} -DESCRIPTION="Zope schema Architecture" -HOMEPAGE=" - https://pypi.org/project/zope.schema/ - https://github.com/zopefoundation/zope.schema/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" - -RDEPEND=" - dev-python/zope-event[${PYTHON_USEDEP}] - >=dev-python/zope-interface-5.0.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/zope-i18nmessageid[${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 -} diff --git a/dev-python/zope-schema/zope-schema-6.2.0-r2.ebuild b/dev-python/zope-schema/zope-schema-6.2.0-r2.ebuild new file mode 100644 index 000000000000..6f5660f6547d --- /dev/null +++ b/dev-python/zope-schema/zope-schema-6.2.0-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Zope schema Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.schema/ + https://github.com/zopefoundation/zope.schema/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86" + +RDEPEND=" + dev-python/zope-event[${PYTHON_USEDEP}] + >=dev-python/zope-interface-5.0.0[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/zope-i18nmessageid[${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 +} diff --git a/dev-python/zope-testing/zope-testing-4.10-r1.ebuild b/dev-python/zope-testing/zope-testing-4.10-r1.ebuild deleted file mode 100644 index eb468e96eca5..000000000000 --- a/dev-python/zope-testing/zope-testing-4.10-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Zope testing helpers" -HOMEPAGE=" - https://pypi.org/project/zope.testing/ - https://github.com/zopefoundation/zope.testing/ -" -SRC_URI="mirror://pypi/${P::1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -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 -} diff --git a/dev-python/zope-testing/zope-testing-4.10-r2.ebuild b/dev-python/zope-testing/zope-testing-4.10-r2.ebuild new file mode 100644 index 000000000000..2997e761d14d --- /dev/null +++ b/dev-python/zope-testing/zope-testing-4.10-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Zope testing helpers" +HOMEPAGE=" + https://pypi.org/project/zope.testing/ + https://github.com/zopefoundation/zope.testing/ +" +SRC_URI="mirror://pypi/${P::1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" + +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 +} -- cgit v1.3.1