[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/files/, dev-python/zope-exceptions/
commit: 2d5675d34636ba74a57afcb5e58d4fc112534ef8 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 18 15:21:50 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 18 15:56:13 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d5675d3 dev-python/zope-exceptions: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> .../files/zope-exceptions-5.1-py313.patch | 24 ++ .../zope-exceptions/zope-exceptions-5.1.ebuild | 7 ++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/files/zope-exceptions-5.1-py313.patch b/dev-python/zope-exceptions/files/zope-exceptions-5.1-py313.patch new file mode 100644 index ..623b53b32376 --- /dev/null +++ b/dev-python/zope-exceptions/files/zope-exceptions-5.1-py313.patch @@ -0,0 +1,24 @@ +diff --git a/src/zope/exceptions/tests/test_exceptionformatter.py b/src/zope/exceptions/tests/test_exceptionformatter.py +index 92ea79a..0e18d8d 100644 +--- a/src/zope/exceptions/tests/test_exceptionformatter.py b/src/zope/exceptions/tests/test_exceptionformatter.py +@@ -24,6 +24,7 @@ from urllib.error import HTTPError + + + IS_PY39_OR_GREATER = sys.version_info >= (3, 9) ++IS_PY313_OR_GREATER = sys.version_info >= (3, 13) + + + class TextExceptionFormatterTests(unittest.TestCase): +@@ -763,8 +764,10 @@ class Test_format_exception(unittest.TestCase): + File "", line 1 + import + ^ +-SyntaxError: invalid syntax ++SyntaxError: {error} + """).format( ++error="Expected one or more names after 'import'" ++ if IS_PY313_OR_GREATER else 'invalid syntax', + module='zope.exceptions.tests.test_exceptionformatter', + fn='test_format_exception_as_html', + ) diff --git a/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild index 7bf7eb05d7af..956910d21e15 100644 --- a/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) inherit distutils-r1 pypi @@ -28,6 +28,11 @@ RDEPEND=" distutils_enable_tests unittest src_prepare() { + local PATCHES=( + # https://github.com/zopefoundation/zope.exceptions/issues/34 + "${FILESDIR}/${P}-py313.patch" + ) + # strip rdep specific to namespaces sed -i -e "/'setuptools'/d" setup.py || die distutils-r1_src_prepare
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: b7cee5cfca3190a2b1330bb88b5782704a694ab3 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 18 15:12:14 2024 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 18 15:56:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7cee5cf dev-python/zope-exceptions: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 - .../zope-exceptions/zope-exceptions-5.0.1.ebuild | 45 -- 2 files changed, 46 deletions(-) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index e341ac9f61c0..a187ef8b60e9 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1 @@ -DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a DIST zope.exceptions-5.1.tar.gz 31416 BLAKE2B 62e5ddc72f36349a6e4810ee6932dbe9e80fb3c3ac5171cebcb4433832d593bf01edfbd573a5f2dc7546599d018144d28a2968598c3c43e72e3b7639e96f13bf SHA512 08e0b3b895089b35805519002f11302e6529d12257a5582f682257c4b5313c4e183d2b06241729fe542fcd407b1f29fbd6798605930b759daca335ed3df84652 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild deleted file mode 100644 index 7ec748a89678.. --- a/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2023 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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="General purpose exceptions for Zope packages" -HOMEPAGE=" - https://pypi.org/project/zope.exceptions/ - https://github.com/zopefoundation/zope.exceptions/ -" - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 6aed446b92811757128a8042c336ee5bf7380862 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 7 14:29:31 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Jun 7 14:47:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aed446b dev-python/zope-exceptions: Bump to 5.1 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 + .../zope-exceptions/zope-exceptions-5.1.ebuild | 45 ++ 2 files changed, 46 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 4b2e75c65297..e341ac9f61c0 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a +DIST zope.exceptions-5.1.tar.gz 31416 BLAKE2B 62e5ddc72f36349a6e4810ee6932dbe9e80fb3c3ac5171cebcb4433832d593bf01edfbd573a5f2dc7546599d018144d28a2968598c3c43e72e3b7639e96f13bf SHA512 08e0b3b895089b35805519002f11302e6529d12257a5582f682257c4b5313c4e183d2b06241729fe542fcd407b1f29fbd6798605930b759daca335ed3df84652 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild new file mode 100644 index ..7bf7eb05d7af --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.1.ebuild @@ -0,0 +1,45 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 3c286a5098c3e11f1a16d3cddad8118f3c728ead Author: Michał Górny gentoo org> AuthorDate: Mon Jul 24 11:20:15 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Jul 24 11:34:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c286a50 dev-python/zope-exceptions: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 2 - .../zope-exceptions/zope-exceptions-4.6.ebuild | 45 -- .../zope-exceptions/zope-exceptions-5.0.ebuild | 45 -- 3 files changed, 92 deletions(-) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 9fd9833da3c5..4b2e75c65297 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,3 +1 @@ -DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a -DIST zope.exceptions-5.0.tar.gz 30287 BLAKE2B 43fab206ef16b330a4ca460a432be375450fd3637a7964797fcb15a35f6adcd654b6105bb61043391ae6448ce03ea2ddd89dc86b6a90be69e2b0c541ca2b30e7 SHA512 0aba148751420c92a403169f72801fe03745196f918e1993d159a8d89310f2f71af26a15eab20c51b39747c3ddfc61eebc48e228517418fedb45d21b89475ed1 diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild deleted file mode 100644 index 7ec748a89678.. --- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2023 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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="General purpose exceptions for Zope packages" -HOMEPAGE=" - https://pypi.org/project/zope.exceptions/ - https://github.com/zopefoundation/zope.exceptions/ -" - -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-5.0.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild deleted file mode 100644 index 7ec748a89678.. --- a/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2023 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} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="General purpose exceptions for Zope packages" -HOMEPAGE=" - https://pypi.org/project/zope.exceptions/ - https://github.com/zopefoundation/zope.exceptions/ -" - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 1390bc3a17eb949efe5ea218bb6e95a5e083a23b Author: Michał Górny gentoo org> AuthorDate: Tue Jul 11 10:22:01 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Jul 11 10:22:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1390bc3a dev-python/zope-exceptions: Bump to 5.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 + .../zope-exceptions/zope-exceptions-5.0.1.ebuild | 45 ++ 2 files changed, 46 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 3e01f62292c3..9fd9833da3c5 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1,3 @@ DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 +DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a DIST zope.exceptions-5.0.tar.gz 30287 BLAKE2B 43fab206ef16b330a4ca460a432be375450fd3637a7964797fcb15a35f6adcd654b6105bb61043391ae6448ce03ea2ddd89dc86b6a90be69e2b0c541ca2b30e7 SHA512 0aba148751420c92a403169f72801fe03745196f918e1993d159a8d89310f2f71af26a15eab20c51b39747c3ddfc61eebc48e228517418fedb45d21b89475ed1 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild new file mode 100644 index ..7ec748a89678 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 90746d88c1d7a16803366eebe1a53070cc905e19 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 30 02:52:41 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Jun 30 02:52:41 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90746d88 dev-python/zope-exceptions: Bump to 5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 + .../zope-exceptions/zope-exceptions-5.0.ebuild | 45 ++ 2 files changed, 46 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 5a3299be9e7c..3e01f62292c3 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 +DIST zope.exceptions-5.0.tar.gz 30287 BLAKE2B 43fab206ef16b330a4ca460a432be375450fd3637a7964797fcb15a35f6adcd654b6105bb61043391ae6448ce03ea2ddd89dc86b6a90be69e2b0c541ca2b30e7 SHA512 0aba148751420c92a403169f72801fe03745196f918e1993d159a8d89310f2f71af26a15eab20c51b39747c3ddfc61eebc48e228517418fedb45d21b89475ed1 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild new file mode 100644 index ..7ec748a89678 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 09e7343fb2e350de84943519fe1cc518c000acf2 Author: Petr Vaněk atlas cz> AuthorDate: Mon Jun 5 21:00:41 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Jun 6 06:13:38 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e7343f dev-python/zope-exceptions: enable py3.12 Signed-off-by: Petr Vaněk atlas.cz> Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild index dfe63480f383..7ec748a89678 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( python3_{9..11} pypy3 ) +PYTHON_COMPAT=( python3_{10..12} pypy3 ) inherit distutils-r1 pypi
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 8d8f96fd1bd3d74b50d6f98e3b781dc1c27ac20c Author: Michał Górny gentoo org> AuthorDate: Tue Mar 21 06:46:25 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Mar 21 06:49:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8f96fd dev-python/zope-exceptions: Use PYPI_PN Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild index 55d8d703c531..dfe63480f383 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild @@ -4,6 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} PYTHON_COMPAT=( python3_{9..11} pypy3 ) inherit distutils-r1 pypi @@ -13,8 +15,6 @@ HOMEPAGE=" https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions/ " -SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" -S=${WORKDIR}/${P/-/.} LICENSE="ZPL" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 1701229cd7c20a3c73e826e1bf7d56c39249c7ec Author: Michał Górny gentoo org> AuthorDate: Fri Mar 17 18:04:09 2023 + Commit: Michał Górny gentoo org> CommitDate: Fri Mar 17 18:28:10 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1701229c dev-python/zope-exceptions: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.6.ebuild | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild index 3b4323daa488..55d8d703c531 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild @@ -6,16 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi -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}" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="ZPL" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: f7f9ad2e69886a1cfc559a4228e4674c9513a91c Author: Michał Górny gentoo org> AuthorDate: Mon Nov 14 05:06:52 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Nov 14 05:06:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f9ad2e dev-python/zope-exceptions: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 - .../zope-exceptions/zope-exceptions-4.5-r1.ebuild | 46 -- 2 files changed, 47 deletions(-) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 5cb9f50beeae..5a3299be9e7c 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1 @@ -DIST zope.exceptions-4.5.tar.gz 29609 BLAKE2B 63c853105d3a588418f79e877aeedf0b001bbe52eb3e6c82687127a8cc0b8e424143e75c7a77b224ede31c5db0efb1bbc126e851dbc8bef5b856615b0717f6ea SHA512 f3f75b2f9ecfe74d3bb081904750769bf331fb594d266907782b7ce7f9d062c261b2f95a50ce21cf8917c56a25899274dae466a5b59afa5ec66480182df55bd2 DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild deleted file mode 100644 index 89ee54d44763.. --- a/dev-python/zope-exceptions/zope-exceptions-4.5-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_{8..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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: c3e59e7b525f8dab1285ae933daf91f655bb6441 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 11 06:30:10 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 11 06:40:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e59e7b dev-python/zope-exceptions: enable py3.11 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild index 89ee54d44763..93aaa4ca6baa 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: c0e5ba211fb2a7ff365366bb636fc726b01cee23 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 11 06:28:42 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 11 06:40:43 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e5ba21 dev-python/zope-exceptions: add 4.6 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/zope-exceptions/Manifest| 1 + .../zope-exceptions/zope-exceptions-4.6.ebuild | 46 ++ 2 files changed, 47 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index d3cc351c6b45..5cb9f50beeae 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-4.5.tar.gz 29609 BLAKE2B 63c853105d3a588418f79e877aeedf0b001bbe52eb3e6c82687127a8cc0b8e424143e75c7a77b224ede31c5db0efb1bbc126e851dbc8bef5b856615b0717f6ea SHA512 f3f75b2f9ecfe74d3bb081904750769bf331fb594d266907782b7ce7f9d062c261b2f95a50ce21cf8917c56a25899274dae466a5b59afa5ec66480182df55bd2 +DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild new file mode 100644 index ..89ee54d44763 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.6.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_{8..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: a7c2d6b8efb4a406770c3169e085e649cc6e0242 Author: Michał Górny gentoo org> AuthorDate: Fri Apr 22 15:34:26 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Apr 22 15:34:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7c2d6b8 dev-python/zope-exceptions: Add a blocker on namespace-zope Signed-off-by: Michał Górny gentoo.org> .../{zope-exceptions-4.5.ebuild => zope-exceptions-4.5-r1.ebuild}| 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild similarity index 97% rename from dev-python/zope-exceptions/zope-exceptions-4.5.ebuild rename to dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild index 912c26d00ee7..89ee54d44763 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.5-r1.ebuild @@ -23,6 +23,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND=" dev-python/zope-interface[${PYTHON_USEDEP}] + !dev-python/namespace-zope " distutils_enable_tests unittest
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 45bb9dfded885da22a1c99b0158ca9b105e15903 Author: Michał Górny gentoo org> AuthorDate: Mon Apr 11 18:43:53 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Apr 11 19:58:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45bb9dfd dev-python/zope-exceptions: Use distutils_write_namespace Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.5.ebuild | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild index 7e70344cb57e..912c26d00ee7 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild @@ -40,11 +40,6 @@ python_compile() { python_test() { cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - # this is needed to keep the tests working while - # dev-python/namespace-zope is still installed - cat > zope/__init__.py <<-EOF || die - __path__ = __import__('pkgutil').extend_path(__path__, __name__) - EOF + distutils_write_namespace zope eunittest - rm zope/__init__.py || die }
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/files/, dev-python/zope-exceptions/
commit: 5e2ab5ec8ceda7d012ee4f67549783696257cfa3 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 9 19:08:25 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 9 19:08:25 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2ab5ec dev-python/zope-exceptions: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 - .../zope-exceptions-4.4-fix-test-py3.10.patch | 23 - .../zope-exceptions/zope-exceptions-4.4.ebuild | 38 -- 3 files changed, 62 deletions(-) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 67261529a5bd..d3cc351c6b45 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1 @@ -DIST zope.exceptions-4.4.tar.gz 28243 BLAKE2B 9af0b99826d574218c149c5a378886d3b3ec16935c0b6b883c0e048b22ba5ffee8408597f612a668eb18fc855a236e3810d6320c984faca4b7c5dfb4c76b303b SHA512 6ef175271ad1d62b450533e4c7d8f7380ffac519be5c48be084be297ad21d21fd8be380d9b5e221a8dac6a4c792bab14abc707331415c2df88208cac9c34013e DIST zope.exceptions-4.5.tar.gz 29609 BLAKE2B 63c853105d3a588418f79e877aeedf0b001bbe52eb3e6c82687127a8cc0b8e424143e75c7a77b224ede31c5db0efb1bbc126e851dbc8bef5b856615b0717f6ea SHA512 f3f75b2f9ecfe74d3bb081904750769bf331fb594d266907782b7ce7f9d062c261b2f95a50ce21cf8917c56a25899274dae466a5b59afa5ec66480182df55bd2 diff --git a/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch b/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch deleted file mode 100644 index a218797b25a2.. --- a/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 71be9d0724f087c99857edeef514d0b99e429cc9 Mon Sep 17 00:00:00 2001 -From: Zamarin Arthur -Date: Mon, 31 May 2021 12:14:30 +0300 -Subject: [PATCH] Adapt to python 3.10 SyntaxError messages - -Signed-off-by: Zamarin Arthur - src/zope/exceptions/tests/test_exceptionformatter.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/zope/exceptions/tests/test_exceptionformatter.py b/src/zope/exceptions/tests/test_exceptionformatter.py -index 64729b1..0f5ee8c 100644 a/src/zope/exceptions/tests/test_exceptionformatter.py -+++ b/src/zope/exceptions/tests/test_exceptionformatter.py -@@ -668,7 +668,7 @@ def test_multiline_exception(self): - self.assertEqual(lines[0], 'syntax error') - # PyPy has a shorter prefix - self.assertTrue(lines[1].endswith('^')) --self.assertEqual(lines[2], 'SyntaxError: invalid syntax') -+self.assertRegex(lines[2], '^SyntaxError: invalid syntax') - - def test_traceback_info_non_ascii(self): - __traceback_info__ = u"Have a Snowman: \u2603" diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild deleted file mode 100644 index e3e9b985874f.. --- a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild +++ /dev/null @@ -1,38 +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..10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="General purpose exceptions for Zope packages" -HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions"; -SRC_URI="mirror://pypi/${MY_PN::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/zope-interface[${PYTHON_USEDEP}]" -BDEPEND="test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" - -PATCHES=( - "${FILESDIR}/${P}-fix-test-py3.10.patch" -) - -distutils_enable_tests setup.py - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 8b853e9493dd53d8d6477d8c0e39eb690e2269b8 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 9 19:12:14 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 9 19:12:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b853e94 dev-python/zope-exceptions: Fix tests, remove namespace dep Signed-off-by: Michał Górny gentoo.org> .../zope-exceptions/zope-exceptions-4.5.ebuild | 34 +++--- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild index 8d9aedf70fd5..7e70344cb57e 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild @@ -12,7 +12,8 @@ MY_P=${P/-/.} DESCRIPTION="General purpose exceptions for Zope packages" HOMEPAGE=" https://pypi.org/project/zope.exceptions/ - https://github.com/zopefoundation/zope.exceptions/"; + https://github.com/zopefoundation/zope.exceptions/ +" SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" @@ -21,16 +22,29 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND=" - dev-python/namespace-zope[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" + dev-python/zope-interface[${PYTHON_USEDEP}] +" -distutils_enable_tests setup.py +distutils_enable_tests unittest -python_install_all() { - distutils-r1_python_install_all +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 +} - # remove .pth files since dev-python/namespace-zope handles the ns - find "${D}" -name '*.pth' -delete || die +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + # this is needed to keep the tests working while + # dev-python/namespace-zope is still installed + cat > zope/__init__.py <<-EOF || die + __path__ = __import__('pkgutil').extend_path(__path__, __name__) + EOF + eunittest + rm zope/__init__.py || die }
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 0aa2e1d794863d8c1b0a9283855d5d31b6697f4f Author: Michał Górny gentoo org> AuthorDate: Fri Feb 11 09:06:19 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Feb 11 09:42:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa2e1d7 dev-python/zope-exceptions: Bump to 4.5 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 + .../zope-exceptions/zope-exceptions-4.5.ebuild | 36 ++ 2 files changed, 37 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 39ac8c1944a5..67261529a5bd 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-4.4.tar.gz 28243 BLAKE2B 9af0b99826d574218c149c5a378886d3b3ec16935c0b6b883c0e048b22ba5ffee8408597f612a668eb18fc855a236e3810d6320c984faca4b7c5dfb4c76b303b SHA512 6ef175271ad1d62b450533e4c7d8f7380ffac519be5c48be084be297ad21d21fd8be380d9b5e221a8dac6a4c792bab14abc707331415c2df88208cac9c34013e +DIST zope.exceptions-4.5.tar.gz 29609 BLAKE2B 63c853105d3a588418f79e877aeedf0b001bbe52eb3e6c82687127a8cc0b8e424143e75c7a77b224ede31c5db0efb1bbc126e851dbc8bef5b856615b0717f6ea SHA512 f3f75b2f9ecfe74d3bb081904750769bf331fb594d266907782b7ce7f9d062c261b2f95a50ce21cf8917c56a25899274dae466a5b59afa5ec66480182df55bd2 diff --git a/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild new file mode 100644 index ..8d9aedf70fd5 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.5.ebuild @@ -0,0 +1,36 @@ +# 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_{8..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/namespace-zope[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" + +distutils_enable_tests setup.py + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/, dev-python/zope-exceptions/files/
commit: f2cf7a0ba34c05cb2840f2629876da3377ea3cac Author: Zamarin Arthur gmail com> AuthorDate: Mon May 31 09:19:00 2021 + Commit: Michał Górny gentoo org> CommitDate: Mon May 31 12:08:40 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cf7a0b dev-python/zope-exceptions: bump to python 3.10 fix tests for python3.10 (PR sent upstream) passes tests Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> .../zope-exceptions-4.4-fix-test-py3.10.patch | 23 ++ .../zope-exceptions/zope-exceptions-4.4.ebuild | 9 ++--- 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch b/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch new file mode 100644 index 000..a218797b25a --- /dev/null +++ b/dev-python/zope-exceptions/files/zope-exceptions-4.4-fix-test-py3.10.patch @@ -0,0 +1,23 @@ +From 71be9d0724f087c99857edeef514d0b99e429cc9 Mon Sep 17 00:00:00 2001 +From: Zamarin Arthur +Date: Mon, 31 May 2021 12:14:30 +0300 +Subject: [PATCH] Adapt to python 3.10 SyntaxError messages + +Signed-off-by: Zamarin Arthur +--- + src/zope/exceptions/tests/test_exceptionformatter.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/zope/exceptions/tests/test_exceptionformatter.py b/src/zope/exceptions/tests/test_exceptionformatter.py +index 64729b1..0f5ee8c 100644 +--- a/src/zope/exceptions/tests/test_exceptionformatter.py b/src/zope/exceptions/tests/test_exceptionformatter.py +@@ -668,7 +668,7 @@ def test_multiline_exception(self): + self.assertEqual(lines[0], 'syntax error') + # PyPy has a shorter prefix + self.assertTrue(lines[1].endswith('^')) +-self.assertEqual(lines[2], 'SyntaxError: invalid syntax') ++self.assertRegex(lines[2], '^SyntaxError: invalid syntax') + + def test_traceback_info_non_ascii(self): + __traceback_info__ = u"Have a Snowman: \u2603" diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild index 61b483dc978..e3e9b985874 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# 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..9} pypy3 ) +PYTHON_COMPAT=( python3_{7..10} pypy3 ) inherit distutils-r1 @@ -14,6 +14,7 @@ MY_P=${MY_PN}-${PV} DESCRIPTION="General purpose exceptions for Zope packages" HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions"; SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="ZPL" SLOT="0" @@ -23,7 +24,9 @@ RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" -S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}/${P}-fix-test-py3.10.patch" +) distutils_enable_tests setup.py
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: f6d4f87f3ffcf1931c1ccc4d2a3d732d69cce742 Author: Sam James gentoo org> AuthorDate: Tue Mar 2 07:46:22 2021 + Commit: Sam James gentoo org> CommitDate: Tue Mar 2 08:40:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d4f87f dev-python/zope-exceptions: mark ALLARCHES Signed-off-by: Sam James gentoo.org> dev-python/zope-exceptions/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/zope-exceptions/metadata.xml b/dev-python/zope-exceptions/metadata.xml index 828a7ab2200..bfb7cd4ee0a 100644 --- a/dev-python/zope-exceptions/metadata.xml +++ b/dev-python/zope-exceptions/metadata.xml @@ -5,6 +5,7 @@ pyt...@gentoo.org Python + zope.exceptions zopefoundation/zope.exceptions
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: a5f0ff5ad6a3d46060557b1b6cc7f6d965d34ebc Author: Michał Górny gentoo org> AuthorDate: Fri Dec 4 12:35:46 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Dec 4 12:37:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5f0ff5a Revert "dev-python/zope-exceptions: Remove namespace dep" This reverts commit 633a76fc9fd88fb99a446aad7028deea1cfa666c. Signed-off-by: Michał Górny gentoo.org> .../{zope-exceptions-4.4-r1.ebuild => zope-exceptions-4.4.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4-r1.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild similarity index 94% rename from dev-python/zope-exceptions/zope-exceptions-4.4-r1.ebuild rename to dev-python/zope-exceptions/zope-exceptions-4.4.ebuild index e5666344007..a8f296dc741 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.4-r1.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild @@ -19,7 +19,7 @@ LICENSE="ZPL" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -RDEPEND=" +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 633a76fc9fd88fb99a446aad7028deea1cfa666c Author: Michał Górny gentoo org> AuthorDate: Thu Dec 3 17:24:25 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Dec 3 17:31:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633a76fc dev-python/zope-exceptions: Remove namespace dep Signed-off-by: Michał Górny gentoo.org> .../{zope-exceptions-4.4.ebuild => zope-exceptions-4.4-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4-r1.ebuild similarity index 94% rename from dev-python/zope-exceptions/zope-exceptions-4.4.ebuild rename to dev-python/zope-exceptions/zope-exceptions-4.4-r1.ebuild index a8f296dc741..e5666344007 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.4-r1.ebuild @@ -19,7 +19,7 @@ LICENSE="ZPL" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] +RDEPEND=" dev-python/zope-interface[${PYTHON_USEDEP}]" BDEPEND="test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 4f2c7cfbd718d185799232c166ecf75b26e36217 Author: Jakov Smolic sartura hr> AuthorDate: Thu Oct 15 17:37:09 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Oct 16 18:21:25 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2c7cfb dev-python/zope-exceptions: correct DISTUTILS_USE_SETUPTOOLS Closes: https://bugs.gentoo.org/749137 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.4.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild index 5b427b0dd30..a8f296dc741 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild @@ -3,7 +3,8 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6..9} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 2da27dc356e241dff13342a811e039bbcedc8c3f Author: Michał Górny gentoo org> AuthorDate: Sat Aug 22 07:09:11 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Aug 22 07:09:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2da27dc3 dev-python/zope-exceptions: Remove redundant versions Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 - .../zope-exceptions/zope-exceptions-4.3.ebuild | 34 -- 2 files changed, 35 deletions(-) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index f5a9e3e1d4e..39ac8c1944a 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1 @@ -DIST zope.exceptions-4.3.tar.gz 30704 BLAKE2B aa5319c8f9b3555038809f8209d121b4a8944a9df1c683302749c12e1e5097139047583b1f033e6530005232fadc326aed7da64fa585b749ec50cd22cb3411a5 SHA512 348c8edb0246bb2035ca5c1bcfaca7d3be2525157e2c9267a59a061c8ba749b364428e3d6a3aa3f967306abd0a319e4d6fa935b7fc35fff3bb53960015505695 DIST zope.exceptions-4.4.tar.gz 28243 BLAKE2B 9af0b99826d574218c149c5a378886d3b3ec16935c0b6b883c0e048b22ba5ffee8408597f612a668eb18fc855a236e3810d6320c984faca4b7c5dfb4c76b303b SHA512 6ef175271ad1d62b450533e4c7d8f7380ffac519be5c48be084be297ad21d21fd8be380d9b5e221a8dac6a4c792bab14abc707331415c2df88208cac9c34013e diff --git a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild deleted file mode 100644 index c6701f6ddad..000 --- a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="General purpose exceptions for Zope packages" -HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions"; -SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}]" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/${MY_P}" - -distutils_enable_tests setup.py - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 591ba30ad127b130af8624caf44329d3b4d377ca Author: Sam James gentoo org> AuthorDate: Sun Aug 16 06:30:35 2020 + Commit: Sam James gentoo org> CommitDate: Tue Aug 18 14:58:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591ba30a dev-python/zope-exceptions: bump to 4.4 * Bump to 4.4, mostly for... * Add Python 3.9 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> dev-python/zope-exceptions/Manifest| 1 + .../zope-exceptions/zope-exceptions-4.4.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index fd8a8cbe237..f5a9e3e1d4e 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-4.3.tar.gz 30704 BLAKE2B aa5319c8f9b3555038809f8209d121b4a8944a9df1c683302749c12e1e5097139047583b1f033e6530005232fadc326aed7da64fa585b749ec50cd22cb3411a5 SHA512 348c8edb0246bb2035ca5c1bcfaca7d3be2525157e2c9267a59a061c8ba749b364428e3d6a3aa3f967306abd0a319e4d6fa935b7fc35fff3bb53960015505695 +DIST zope.exceptions-4.4.tar.gz 28243 BLAKE2B 9af0b99826d574218c149c5a378886d3b3ec16935c0b6b883c0e048b22ba5ffee8408597f612a668eb18fc855a236e3810d6320c984faca4b7c5dfb4c76b303b SHA512 6ef175271ad1d62b450533e4c7d8f7380ffac519be5c48be084be297ad21d21fd8be380d9b5e221a8dac6a4c792bab14abc707331415c2df88208cac9c34013e diff --git a/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild new file mode 100644 index 000..7e2c645a6e5 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions"; +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +BDEPEND="test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests setup.py + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 89eecad308980587135071355cf9beab5fbbb01d Author: Michał Górny gentoo org> AuthorDate: Sun Aug 2 09:32:34 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Aug 2 09:32:34 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89eecad3 dev-python/zope-exceptions: Remove py2.7 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild index 7a4b0e61b6c..c6701f6ddad 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: ae444264bfd2d72c4bb677d0e6887f60c8bb21ad Author: Michał Górny gentoo org> AuthorDate: Sun Mar 29 12:15:30 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Mar 29 12:20:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae444264 dev-python/zope-exceptions: Remove redundant versions Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 - .../zope-exceptions/zope-exceptions-4.1.0.ebuild | 40 -- 2 files changed, 41 deletions(-) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index dc76e3266ec..fd8a8cbe237 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1 @@ -DIST zope.exceptions-4.1.0.tar.gz 26605 BLAKE2B c57ed6536e4e2eee973864b2cff4e5559f7a184c49714ca5b8b6c7c5bf56aa0e4580d149a9dfe0607ba8b1738e88f05b65c145ccdeb20ef82826be2009eaca05 SHA512 7491a0558a999d6907d2d1adb33086ef047dd4fc5d39709da628a94ee11f5afaec4b2cb456c19b16595cfaf46cc0d25fb847196d331c9d9c80d2ba3a582b415f DIST zope.exceptions-4.3.tar.gz 30704 BLAKE2B aa5319c8f9b3555038809f8209d121b4a8944a9df1c683302749c12e1e5097139047583b1f033e6530005232fadc326aed7da64fa585b749ec50cd22cb3411a5 SHA512 348c8edb0246bb2035ca5c1bcfaca7d3be2525157e2c9267a59a061c8ba749b364428e3d6a3aa3f967306abd0a319e4d6fa935b7fc35fff3bb53960015505695 diff --git a/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild deleted file mode 100644 index cb3dd5aeea3..000 --- a/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_6 pypy3 ) -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="General purpose exceptions for Zope packages" -HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions"; -SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# TODO: extras? -RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" - -S=${WORKDIR}/${MY_P} - -python_test() { - esetup.py test -} - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: ffbcc6e5506327f95f1140b25be3ac978803ed98 Author: Matthew Thode gentoo org> AuthorDate: Sun Jan 12 20:12:57 2020 + Commit: Matthew Thode gentoo org> CommitDate: Sun Jan 12 20:19:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbcc6e5 dev-python/zope-exceptions: add arm/arm64/ppc64 keywords under allarches Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild index 59589bf0327..7a4b0e61b6c 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="ZPL" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] dev-python/zope-interface[${PYTHON_USEDEP}]"
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 156804e179225ed2079e8b5dfe47095e75e6 Author: Zamarin Arthur gmail com> AuthorDate: Mon Nov 25 12:02:54 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 30 08:28:01 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156804e1 dev-python/zope-exceptions: Fix MissingTestRestrict Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild index 55daa3948f1..e01506accb0 100644 --- a/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild +++ b/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild @@ -17,6 +17,7 @@ LICENSE="ZPL" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" +RESTRICT="!test? ( test )" # TODO: extras? RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 95b6d5f369cfc998e54f678786bf68f62e509ea6 Author: Zamarin Arthur gmail com> AuthorDate: Wed Nov 13 10:27:38 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Nov 30 08:28:00 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b6d5f3 dev-python/zope-exceptions: bump v4.3, EAPI=7 use distutils_enable_tests for tests Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Zamarin Arthur gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest| 1 + .../zope-exceptions/zope-exceptions-4.3.ebuild | 34 ++ 2 files changed, 35 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 4de2a948e94..dc76e3266ec 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1 +1,2 @@ DIST zope.exceptions-4.1.0.tar.gz 26605 BLAKE2B c57ed6536e4e2eee973864b2cff4e5559f7a184c49714ca5b8b6c7c5bf56aa0e4580d149a9dfe0607ba8b1738e88f05b65c145ccdeb20ef82826be2009eaca05 SHA512 7491a0558a999d6907d2d1adb33086ef047dd4fc5d39709da628a94ee11f5afaec4b2cb456c19b16595cfaf46cc0d25fb847196d331c9d9c80d2ba3a582b415f +DIST zope.exceptions-4.3.tar.gz 30704 BLAKE2B aa5319c8f9b3555038809f8209d121b4a8944a9df1c683302749c12e1e5097139047583b1f033e6530005232fadc326aed7da64fa585b749ec50cd22cb3411a5 SHA512 348c8edb0246bb2035ca5c1bcfaca7d3be2525157e2c9267a59a061c8ba749b364428e3d6a3aa3f967306abd0a319e4d6fa935b7fc35fff3bb53960015505695 diff --git a/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild new file mode 100644 index 000..3a2d52809d5 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE="https://pypi.org/project/zope.exceptions/ https://github.com/zopefoundation/zope.exceptions"; +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests setup.py + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
commit: 54eb6222f3d13ea77177f2847e65d1316dce4f43 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 29 09:24:55 2017 + Commit: Michał Górny gentoo org> CommitDate: Sun May 7 18:43:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54eb6222 dev-python/zope-exceptions: New package, dep of zope.testing dev-python/zope-exceptions/Manifest| 1 + dev-python/zope-exceptions/metadata.xml| 12 +++ .../zope-exceptions/zope-exceptions-4.1.0.ebuild | 39 ++ 3 files changed, 52 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest new file mode 100644 index 000..296c3478b61 --- /dev/null +++ b/dev-python/zope-exceptions/Manifest @@ -0,0 +1 @@ +DIST zope.exceptions-4.1.0.tar.gz 26605 SHA256 f1c086abddc9f2050df5824ff7ab8ece3285c8e28453a29ee761effbc5e592ad SHA512 7491a0558a999d6907d2d1adb33086ef047dd4fc5d39709da628a94ee11f5afaec4b2cb456c19b16595cfaf46cc0d25fb847196d331c9d9c80d2ba3a582b415f WHIRLPOOL 763293545163ec66a52ee49db08183d7bc73832e862b097e0fb9d07f1cb8d8a6a280bfa053a4fd1278ef61db146e689df5e9305d44dae327ceadc00b9d776303 diff --git a/dev-python/zope-exceptions/metadata.xml b/dev-python/zope-exceptions/metadata.xml new file mode 100644 index 000..828a7ab2200 --- /dev/null +++ b/dev-python/zope-exceptions/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + pyt...@gentoo.org + Python + + + zope.exceptions + zopefoundation/zope.exceptions + + diff --git a/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild new file mode 100644 index 000..976197f62de --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE="https://pypi.python.org/pypi/zope.exceptions https://github.com/zopefoundation/zope.exceptions"; +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# TODO: extras? +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + esetup.py test +} + +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 +}