commit:     d24ce8ba451e7cf0875fdbcb7901ae16d0c6fff7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 10:40:03 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 17 10:40:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d24ce8ba

dev-python/twisted: Remove old

Bug: https://bugs.gentoo.org/836841
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/twisted/Manifest                 |   2 -
 dev-python/twisted/twisted-22.1.0-r1.ebuild | 160 ---------------------------
 dev-python/twisted/twisted-22.1.0.ebuild    | 162 ----------------------------
 dev-python/twisted/twisted-22.2.0.ebuild    | 151 --------------------------
 4 files changed, 475 deletions(-)

diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest
index 1f2f17157a06..a09e09f8b963 100644
--- a/dev-python/twisted/Manifest
+++ b/dev-python/twisted/Manifest
@@ -1,4 +1,2 @@
-DIST twisted-22.1.0.tar.gz 3883519 BLAKE2B 
0b438481af94fbfe08c7470a71421e176ca4994efaf7144b2bd3bc7e69c774295e04831d5356af104d087d970856c1c153b30331cb1598226f83e761b624a53c
 SHA512 
1db52865d00e07044bc755b25bef2fa260cf269a8b51512bec97a015fa484d0b331b41154b52f97b5e8c477d3e5ad1d003f5ac15c7361988d073d097c6e7355d
-DIST twisted-22.2.0.tar.gz 3887750 BLAKE2B 
43b50aa33f9a70f2123930ebfc0e9fec08a6faa791dc8fb73c1252fc1de3e00844e421f653d920e5f651aff89557750c6dc6c4557689e01bc9a0793c15de8eea
 SHA512 
a2f66055f0ea6658a04888316b9eb90bd0f389c72db8315fe1722a70f16bb290805d98acc8cfd8a5d22b4817683603aaea50bb04a204927898bd74fc58a1db6d
 DIST twisted-22.4.0.tar.gz 3896724 BLAKE2B 
830a724156473a28394e6c731f6cec184c491410dc880bc2e37a99cb460c7fe040219463f224941532b12478abe953aa0228c70676e5baecda4a3b2bdd6a0a32
 SHA512 
776d36040bcefb9ca65e471d9058fe1067ffc8171a501cb451e9d4824a88dd83f79dc9b27a127ca898451587454ee661000acbce6c4c39b069aeadd64710f103
 DIST twisted-regen-cache.gz 911 BLAKE2B 
ffd3fcda6c67ffe6fd3ef581c8d507548396b66ed0708e9a5c790095e579c0d5f0f71596acf05712989da2ddef2b8d437eca973bc4d80ef8a9fa852915f38305
 SHA512 
95a9b931c73017d16d1b5e6b41345dddffe62b6af1a8e93b5e40d06d3d15be17b0dd0181c767ffeeb791534d463764ef9e066fa6c2ee2ac4b53c86d1da8fce03

diff --git a/dev-python/twisted/twisted-22.1.0-r1.ebuild 
b/dev-python/twisted/twisted-22.1.0-r1.ebuild
deleted file mode 100644
index 9802fa371866..000000000000
--- a/dev-python/twisted/twisted-22.1.0-r1.ebuild
+++ /dev/null
@@ -1,160 +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 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="An asynchronous networking framework written in Python"
-HOMEPAGE="https://www.twistedmatrix.com/trac/";
-SRC_URI="
-       https://github.com/twisted/twisted/archive/${P}.tar.gz
-       https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz";
-S=${WORKDIR}/${PN}-${P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 
sparc x86"
-IUSE="conch crypt http2 serial test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-       >=dev-python/automat-0.3.0[${PYTHON_USEDEP}]
-       >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
-       >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}]
-       >=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
-       >=dev-python/pyhamcrest-1.9.0[${PYTHON_USEDEP}]
-       >=dev-python/typing-extensions-3.6.5[${PYTHON_USEDEP}]
-       >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}]
-       conch? (
-               >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-               dev-python/bcrypt[${PYTHON_USEDEP}]
-               >=dev-python/cryptography-1.5.0[${PYTHON_USEDEP}]
-               dev-python/pyasn1[${PYTHON_USEDEP}]
-       )
-       crypt? (
-               >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
-               dev-python/service_identity[${PYTHON_USEDEP}]
-               >=dev-python/idna-0.6[${PYTHON_USEDEP}]
-       )
-       serial? ( >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] )
-       http2? (
-               >=dev-python/h2-3.0.0[${PYTHON_USEDEP}]
-               <dev-python/h2-4.0.0[${PYTHON_USEDEP}]
-               >=dev-python/priority-1.1.0[${PYTHON_USEDEP}]
-               <dev-python/priority-2.0[${PYTHON_USEDEP}]
-       )
-"
-BDEPEND="
-       >=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
-       test? (
-               >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-               dev-python/bcrypt[${PYTHON_USEDEP}]
-               >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
-               dev-python/cython-test-exception-raiser[${PYTHON_USEDEP}]
-               dev-python/idna[${PYTHON_USEDEP}]
-               dev-python/pyasn1[${PYTHON_USEDEP}]
-               dev-python/pyserial[${PYTHON_USEDEP}]
-               net-misc/openssh
-               $(python_gen_cond_dep '
-                       dev-python/gmpy[${PYTHON_USEDEP}]
-               ' 'python*')
-               !alpha? ( !hppa? ( !ia64? (
-                       >=dev-python/cryptography-0.9.1[${PYTHON_USEDEP}]
-                       >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-                       dev-python/service_identity[${PYTHON_USEDEP}]
-               ) ) )
-       )
-"
-
-PATCHES=(
-       # https://twistedmatrix.com/trac/ticket/10200
-       "${FILESDIR}/${P}-force-gtk3.patch"
-)
-
-python_prepare_all() {
-       # upstream test for making releases; not very useful and requires
-       # sphinx (including on py2)
-       rm src/twisted/python/test/test_release.py || die
-
-       # puts system in EMFILE state, then the exception handler may fail
-       # trying to open more files due to some gi magic
-       sed -e '/SKIP_EMFILE/s:False:True:' \
-               -i src/twisted/internet/test/test_tcp.py || die
-
-       # multicast tests fail within network-sandbox
-       sed -e 's:test_joinLeave:_&:' \
-               -e 's:test_loopback:_&:' \
-               -e 's:test_multiListen:_&:' \
-               -e 's:test_multicast:_&:' \
-               -i src/twisted/test/test_udp.py || die
-
-       # These tests rely on warnings which seems work unreliably between 
python versions
-       sed -e 's:test_currentEUID:_&:' \
-               -e 's:test_currentUID:_&:' -i 
src/twisted/python/test/test_util.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-src_test() {
-       # the test suite handles missing file & failing ioctl()s gracefully
-       # but not permission errors from sandbox
-       addwrite /dev/net/tun
-       virtx distutils-r1_src_test
-}
-
-python_test() {
-       "${EPYTHON}" -m twisted.trial twisted ||
-               die "Tests failed with ${EPYTHON}"
-}
-
-python_install() {
-       distutils-r1_python_install
-
-       # own the dropin.cache so we don't leave orphans
-       > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die
-
-       python_doscript "${WORKDIR}"/twisted-regen-cache
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       newconfd "${FILESDIR}/twistd.conf" twistd
-       newinitd "${FILESDIR}/twistd.init" twistd
-}
-
-python_postinst() {
-       twisted-regen-cache || die
-}
-
-pkg_postinst() {
-       python_foreach_impl python_postinst
-
-       einfo "Install complete"
-       if use test ; then
-               einfo ""
-               einfo "Some tests have been disabled during testing due to"
-               einfo "known incompatibilities with the emerge sandboxes and/or"
-               einfo "not runnable as the root user."
-               einfo "For a complete test suite run on the code."
-               einfo "Run the tests as a normal user for each python it is 
installed to."
-               einfo "  ie:  $ python3.6 /usr/bin/trial twisted"
-       fi
-}
-
-python_postrm() {
-       rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die
-}
-
-pkg_postrm() {
-       # if we're removing the last version, remove the cache file
-       if [[ ! ${REPLACING_VERSIONS} ]]; then
-               python_foreach_impl python_postrm
-       fi
-}

diff --git a/dev-python/twisted/twisted-22.1.0.ebuild 
b/dev-python/twisted/twisted-22.1.0.ebuild
deleted file mode 100644
index ab2a590fca6d..000000000000
--- a/dev-python/twisted/twisted-22.1.0.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="An asynchronous networking framework written in Python"
-HOMEPAGE="https://www.twistedmatrix.com/trac/";
-SRC_URI="
-       https://github.com/twisted/twisted/archive/${P}.tar.gz
-       https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz";
-S=${WORKDIR}/${PN}-${P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc 
x86"
-IUSE="conch crypt http2 serial test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-       >=dev-python/automat-0.3.0[${PYTHON_USEDEP}]
-       >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
-       >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}]
-       >=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
-       >=dev-python/pyhamcrest-1.9.0[${PYTHON_USEDEP}]
-       >=dev-python/typing-extensions-3.6.5[${PYTHON_USEDEP}]
-       >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}]
-       conch? (
-               >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-               dev-python/bcrypt[${PYTHON_USEDEP}]
-               >=dev-python/cryptography-1.5.0[${PYTHON_USEDEP}]
-               dev-python/pyasn1[${PYTHON_USEDEP}]
-       )
-       crypt? (
-               >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
-               dev-python/service_identity[${PYTHON_USEDEP}]
-               >=dev-python/idna-0.6[${PYTHON_USEDEP}]
-       )
-       serial? ( >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] )
-       http2? (
-               >=dev-python/h2-3.0.0[${PYTHON_USEDEP}]
-               <dev-python/h2-4.0.0[${PYTHON_USEDEP}]
-               >=dev-python/priority-1.1.0[${PYTHON_USEDEP}]
-               <dev-python/priority-2.0[${PYTHON_USEDEP}]
-       )
-"
-BDEPEND="
-       >=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
-       test? (
-               >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-               dev-python/bcrypt[${PYTHON_USEDEP}]
-               >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
-               dev-python/cython-test-exception-raiser[${PYTHON_USEDEP}]
-               dev-python/idna[${PYTHON_USEDEP}]
-               dev-python/pyasn1[${PYTHON_USEDEP}]
-               dev-python/pyserial[${PYTHON_USEDEP}]
-               net-misc/openssh
-               $(python_gen_cond_dep '
-                       dev-python/gmpy[${PYTHON_USEDEP}]
-               ' 'python*')
-               !alpha? ( !hppa? ( !ia64? (
-                       >=dev-python/cryptography-0.9.1[${PYTHON_USEDEP}]
-                       >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-                       dev-python/service_identity[${PYTHON_USEDEP}]
-               ) ) )
-       )
-"
-
-PATCHES=(
-       # https://twistedmatrix.com/trac/ticket/10200
-       "${FILESDIR}/${P}-force-gtk3.patch"
-)
-
-python_prepare_all() {
-       # upstream test for making releases; not very useful and requires
-       # sphinx (including on py2)
-       rm src/twisted/python/test/test_release.py || die
-
-       # puts system in EMFILE state, then the exception handler may fail
-       # trying to open more files due to some gi magic
-       sed -e '/SKIP_EMFILE/s:False:True:' \
-               -i src/twisted/internet/test/test_tcp.py || die
-
-       # multicast tests fail within network-sandbox
-       sed -e 's:test_joinLeave:_&:' \
-               -e 's:test_loopback:_&:' \
-               -e 's:test_multiListen:_&:' \
-               -e 's:test_multicast:_&:' \
-               -i src/twisted/test/test_udp.py || die
-
-       # These tests rely on warnings which seems work unreliably between 
python versions
-       sed -e 's:test_currentEUID:_&:' \
-               -e 's:test_currentUID:_&:' -i 
src/twisted/python/test/test_util.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-src_test() {
-       # the test suite handles missing file & failing ioctl()s gracefully
-       # but not permission errors from sandbox
-       addwrite /dev/net/tun
-       virtx distutils-r1_src_test
-}
-
-python_test() {
-       # TODO: upstream seems to override our build paths
-       distutils_install_for_testing
-
-       "${EPYTHON}" -m twisted.trial twisted ||
-               die "Tests failed with ${EPYTHON}"
-}
-
-python_install() {
-       distutils-r1_python_install
-
-       # own the dropin.cache so we don't leave orphans
-       > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die
-
-       python_doscript "${WORKDIR}"/twisted-regen-cache
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       newconfd "${FILESDIR}/twistd.conf" twistd
-       newinitd "${FILESDIR}/twistd.init" twistd
-}
-
-python_postinst() {
-       twisted-regen-cache || die
-}
-
-pkg_postinst() {
-       python_foreach_impl python_postinst
-
-       einfo "Install complete"
-       if use test ; then
-               einfo ""
-               einfo "Some tests have been disabled during testing due to"
-               einfo "known incompatibilities with the emerge sandboxes and/or"
-               einfo "not runnable as the root user."
-               einfo "For a complete test suite run on the code."
-               einfo "Run the tests as a normal user for each python it is 
installed to."
-               einfo "  ie:  $ python3.6 /usr/bin/trial twisted"
-       fi
-}
-
-python_postrm() {
-       rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die
-}
-
-pkg_postrm() {
-       # if we're removing the last version, remove the cache file
-       if [[ ! ${REPLACING_VERSIONS} ]]; then
-               python_foreach_impl python_postrm
-       fi
-}

diff --git a/dev-python/twisted/twisted-22.2.0.ebuild 
b/dev-python/twisted/twisted-22.2.0.ebuild
deleted file mode 100644
index 6c2dcb735c72..000000000000
--- a/dev-python/twisted/twisted-22.2.0.ebuild
+++ /dev/null
@@ -1,151 +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 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 virtualx
-
-DESCRIPTION="An asynchronous networking framework written in Python"
-HOMEPAGE="https://www.twistedmatrix.com/trac/";
-SRC_URI="
-       https://github.com/twisted/twisted/archive/${P}.tar.gz
-       https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz";
-S=${WORKDIR}/${PN}-${P}
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
-IUSE="conch crypt http2 serial test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-       >=dev-python/automat-0.3.0[${PYTHON_USEDEP}]
-       >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
-       >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}]
-       >=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
-       >=dev-python/pyhamcrest-1.9.0[${PYTHON_USEDEP}]
-       >=dev-python/typing-extensions-3.6.5[${PYTHON_USEDEP}]
-       >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}]
-       conch? (
-               >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-               dev-python/bcrypt[${PYTHON_USEDEP}]
-               >=dev-python/cryptography-1.5.0[${PYTHON_USEDEP}]
-               dev-python/pyasn1[${PYTHON_USEDEP}]
-       )
-       crypt? (
-               >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}]
-               dev-python/service_identity[${PYTHON_USEDEP}]
-               >=dev-python/idna-0.6[${PYTHON_USEDEP}]
-       )
-       serial? ( >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] )
-       http2? (
-               >=dev-python/h2-3.0.0[${PYTHON_USEDEP}]
-               <dev-python/h2-4.0.0[${PYTHON_USEDEP}]
-               >=dev-python/priority-1.1.0[${PYTHON_USEDEP}]
-               <dev-python/priority-2.0[${PYTHON_USEDEP}]
-       )
-"
-BDEPEND="
-       >=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
-       test? (
-               >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
-               dev-python/bcrypt[${PYTHON_USEDEP}]
-               >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
-               dev-python/cython-test-exception-raiser[${PYTHON_USEDEP}]
-               dev-python/idna[${PYTHON_USEDEP}]
-               dev-python/pyasn1[${PYTHON_USEDEP}]
-               dev-python/pyserial[${PYTHON_USEDEP}]
-               net-misc/openssh
-               $(python_gen_cond_dep '
-                       dev-python/gmpy[${PYTHON_USEDEP}]
-               ' 'python*')
-               !alpha? ( !hppa? ( !ia64? (
-                       >=dev-python/cryptography-0.9.1[${PYTHON_USEDEP}]
-                       >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
-                       dev-python/service_identity[${PYTHON_USEDEP}]
-               ) ) )
-       )
-"
-
-PATCHES=(
-       # https://twistedmatrix.com/trac/ticket/10200
-       "${FILESDIR}/${PN}-22.1.0-force-gtk3.patch"
-)
-
-python_prepare_all() {
-       # upstream test for making releases; not very useful and requires
-       # sphinx (including on py2)
-       rm src/twisted/python/test/test_release.py || die
-
-       # puts system in EMFILE state, then the exception handler may fail
-       # trying to open more files due to some gi magic
-       sed -e '/SKIP_EMFILE/s:False:True:' \
-               -i src/twisted/internet/test/test_tcp.py || die
-
-       # multicast tests fail within network-sandbox
-       sed -e 's:test_joinLeave:_&:' \
-               -e 's:test_loopback:_&:' \
-               -e 's:test_multiListen:_&:' \
-               -e 's:test_multicast:_&:' \
-               -i src/twisted/test/test_udp.py || die
-
-       # These tests rely on warnings which seems work unreliably between 
python versions
-       sed -e 's:test_currentEUID:_&:' \
-               -e 's:test_currentUID:_&:' -i 
src/twisted/python/test/test_util.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-src_test() {
-       # the test suite handles missing file & failing ioctl()s gracefully
-       # but not permission errors from sandbox
-       addwrite /dev/net/tun
-       virtx distutils-r1_src_test
-}
-
-python_test() {
-       "${EPYTHON}" -m twisted.trial twisted ||
-               die "Tests failed with ${EPYTHON}"
-}
-
-python_install() {
-       distutils-r1_python_install
-
-       # own the dropin.cache so we don't leave orphans
-       > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die
-
-       python_doscript "${WORKDIR}"/twisted-regen-cache
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       newconfd "${FILESDIR}/twistd.conf" twistd
-       newinitd "${FILESDIR}/twistd.init" twistd
-}
-
-python_postinst() {
-       twisted-regen-cache || die
-}
-
-pkg_postinst() {
-       if [[ -z ${ROOT} ]]; then
-               python_foreach_impl python_postinst
-       fi
-}
-
-python_postrm() {
-       rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die
-}
-
-pkg_postrm() {
-       # if we're removing the last version, remove the cache file
-       if [[ ! ${REPLACING_VERSIONS} ]]; then
-               python_foreach_impl python_postrm
-       fi
-}

Reply via email to