diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-05-10 07:24:57 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-05-10 07:24:57 +0200 |
commit | 3da3eb1fe593f7ee718bcc34b0ce98a9a6e15cbe (patch) | |
tree | bb1ef8fa1877e04b886e1527669afaec7077960a /dev-python/zope-testrunner | |
parent | sys-apps/systemd: update USE flag descriptions (diff) | |
download | gentoo-3da3eb1fe593f7ee718bcc34b0ce98a9a6e15cbe.tar.gz gentoo-3da3eb1fe593f7ee718bcc34b0ce98a9a6e15cbe.tar.bz2 gentoo-3da3eb1fe593f7ee718bcc34b0ce98a9a6e15cbe.zip |
dev-python/zope-testrunner: treeclean
Closes: https://bugs.gentoo.org/837530
Closes: https://bugs.gentoo.org/703106
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-python/zope-testrunner')
5 files changed, 0 insertions, 159 deletions
diff --git a/dev-python/zope-testrunner/Manifest b/dev-python/zope-testrunner/Manifest deleted file mode 100644 index 23757e8d3688..000000000000 --- a/dev-python/zope-testrunner/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST zope.testrunner-5.3.0.tar.gz 141406 BLAKE2B f3434e9f22514fffe912385f61d163e42ba1dcd9e9d3f2b3f1d504b608c73804fa38b14a5ed1bf288b75b98ef106024a27de925c404ad67be6acc6c1d6c8f06d SHA512 6fd9375c7b58847868aaf04e85722fcc2b1fe7a8e4ae2ec9103dcb091e6f837d649557ba014146876f814345240b20863bf1584f32212b0b1b28c38ed343b87a -DIST zope.testrunner-5.4.0.tar.gz 132150 BLAKE2B b8367e9d4ac32923099424e0c7a3f00ddb540f966eae05ebced6a6d49ac698e2a07449bb25d26d59d57ef00d3040c8a5f0c03cc53878c01ecfb1cde671780fc8 SHA512 c8c6cbbd2cc352f52068ada3c23305cc270736aaa20c14f7c218bc40d6873cb8e8ecb4e2e1601b8833d32e91ac87e0067515458b96194cfc23b6d02cb71613f2 diff --git a/dev-python/zope-testrunner/files/zope-testrunner-5.3.0-fix-test-py3.10.patch b/dev-python/zope-testrunner/files/zope-testrunner-5.3.0-fix-test-py3.10.patch deleted file mode 100644 index 6d495ba2cf5f..000000000000 --- a/dev-python/zope-testrunner/files/zope-testrunner-5.3.0-fix-test-py3.10.patch +++ /dev/null @@ -1,64 +0,0 @@ -From af8bfec49d90613633b76e914a6f54884463ba94 Mon Sep 17 00:00:00 2001 -From: Jerry James <loganjerry@gmail.com> -Date: Mon, 10 May 2021 09:55:23 -0600 -Subject: [PATCH] Adapt to python 3.10 SyntaxError messages - ---- - .../testrunner/tests/testrunner-debugging-import-failure.rst | 2 +- - src/zope/testrunner/tests/testrunner-errors.rst | 2 +- - src/zope/testrunner/tests/testrunner-subunit-v2.rst | 2 +- - src/zope/testrunner/tests/testrunner-subunit.rst | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/zope/testrunner/tests/testrunner-debugging-import-failure.rst b/src/zope/testrunner/tests/testrunner-debugging-import-failure.rst -index 1613cb9..c0b2aee 100644 ---- a/src/zope/testrunner/tests/testrunner-debugging-import-failure.rst -+++ b/src/zope/testrunner/tests/testrunner-debugging-import-failure.rst -@@ -41,7 +41,7 @@ Post-mortem debugging also works when there is an import failure. - File ".../TESTS-DIR/tests.py", line 2 - impot doctest - ^ -- SyntaxError: invalid syntax -+ SyntaxError: invalid syntax... - > ...find.py(399)import_name() - -> __import__(name) - (Pdb) c -diff --git a/src/zope/testrunner/tests/testrunner-errors.rst b/src/zope/testrunner/tests/testrunner-errors.rst -index e210fe3..05d74b8 100644 ---- a/src/zope/testrunner/tests/testrunner-errors.rst -+++ b/src/zope/testrunner/tests/testrunner-errors.rst -@@ -818,7 +818,7 @@ Then run the tests: - File "testrunner-ex/sample2/sampletests_i.py", line 1 - importx unittest - ^ -- SyntaxError: invalid syntax -+ SyntaxError: invalid syntax... - <BLANKLINE> - <BLANKLINE> - Module: sample2.sample21.sampletests_i -diff --git a/src/zope/testrunner/tests/testrunner-subunit-v2.rst b/src/zope/testrunner/tests/testrunner-subunit-v2.rst -index 8658fe3..c165b23 100644 ---- a/src/zope/testrunner/tests/testrunner-subunit-v2.rst -+++ b/src/zope/testrunner/tests/testrunner-subunit-v2.rst -@@ -447,7 +447,7 @@ Let's run tests including a module with some bad syntax: - File "/home/benji/workspace/all-the-trunks/zope.testrunner/src/zope/testrunner/testrunner-ex/sample2/badsyntax.py", line 16 - importx unittest # noqa: E999 - ^ -- SyntaxError: invalid syntax -+ SyntaxError: invalid syntax... - <BLANKLINE> - id=sample2.badsyntax status=fail tags=(zope:import_error) - id=sample2.sample21.sampletests_i status=inprogress -diff --git a/src/zope/testrunner/tests/testrunner-subunit.rst b/src/zope/testrunner/tests/testrunner-subunit.rst -index 6597a88..1882671 100644 ---- a/src/zope/testrunner/tests/testrunner-subunit.rst -+++ b/src/zope/testrunner/tests/testrunner-subunit.rst -@@ -480,7 +480,7 @@ Let's run tests including a module with some bad syntax: - File "/home/benji/workspace/all-the-trunks/zope.testrunner/src/zope/testrunner/testrunner-ex/sample2/badsyntax.py", line 16 - importx unittest # noqa: E999 - ^ -- SyntaxError: invalid syntax -+ SyntaxError: invalid syntax... - ] - test: sample2.sample21.sampletests_i - tags: zope:import_error diff --git a/dev-python/zope-testrunner/metadata.xml b/dev-python/zope-testrunner/metadata.xml deleted file mode 100644 index 0a9ec53f9a7a..000000000000 --- a/dev-python/zope-testrunner/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <stabilize-allarches/> - <upstream> - <remote-id type="pypi">zope.testrunner</remote-id> - <remote-id type="github">zopefoundation/zope.testrunner</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/zope-testrunner/zope-testrunner-5.3.0.ebuild b/dev-python/zope-testrunner/zope-testrunner-5.3.0.ebuild deleted file mode 100644 index 1142107a76cd..000000000000 --- a/dev-python/zope-testrunner/zope-testrunner-5.3.0.ebuild +++ /dev/null @@ -1,42 +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="Zope testrunner script" -HOMEPAGE="https://pypi.org/project/zope.testrunner/ https://github.com/zopefoundation/zope.testrunner" -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/six[${PYTHON_USEDEP}] - dev-python/zope-exceptions[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( dev-python/zope-testing[${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 -} diff --git a/dev-python/zope-testrunner/zope-testrunner-5.4.0.ebuild b/dev-python/zope-testrunner/zope-testrunner-5.4.0.ebuild deleted file mode 100644 index 917ad53f7ef0..000000000000 --- a/dev-python/zope-testrunner/zope-testrunner-5.4.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Zope testrunner script" -HOMEPAGE="https://pypi.org/project/zope.testrunner/ https://github.com/zopefoundation/zope.testrunner" -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/six[${PYTHON_USEDEP}] - dev-python/zope-exceptions[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( dev-python/zope-testing[${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 -} |