diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-05-02 22:38:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-03 08:14:58 +0200 |
commit | a49cd7c524f297abab6fa61169583f5919ece480 (patch) | |
tree | ebf28a05bb49bd16574a383e5203dd4afa784460 /dev-python/twisted-core | |
parent | dev-python/twisted-conch: Clean old versions up (diff) | |
download | gentoo-a49cd7c524f297abab6fa61169583f5919ece480.tar.gz gentoo-a49cd7c524f297abab6fa61169583f5919ece480.tar.bz2 gentoo-a49cd7c524f297abab6fa61169583f5919ece480.zip |
dev-python/twisted-core: Clean old versions up
Diffstat (limited to 'dev-python/twisted-core')
-rw-r--r-- | dev-python/twisted-core/Manifest | 2 | ||||
-rw-r--r-- | dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild | 110 | ||||
-rw-r--r-- | dev-python/twisted-core/twisted-core-15.1.0.ebuild | 129 |
3 files changed, 0 insertions, 241 deletions
diff --git a/dev-python/twisted-core/Manifest b/dev-python/twisted-core/Manifest index 2ff98c8d607e..6ee7503522be 100644 --- a/dev-python/twisted-core/Manifest +++ b/dev-python/twisted-core/Manifest @@ -1,4 +1,2 @@ -DIST TwistedCore-13.0.0.tar.bz2 1495753 SHA256 989706fd39c8a28785bdecaa0145b81f7e159b9209d463b5885be7e5c34ff32f SHA512 624d73d267742cb5b97bed2a39e78caeb01ee5fa871a0a2133455809b1d2a695f0d375c022ae21e91ef20f92fdee05a08a11db7b6b1e92ec810d3e097f929972 WHIRLPOOL 02c25eb94ad0aaafea8e1599df387607c6a1323ac55c31b0e98a366f927da2245fc839f5a3509367ed18690694f8599ebb22c0b21b8c90dfbfe2e3727a7846ff DIST TwistedCore-13.2.0.tar.bz2 1496299 SHA256 396ee27f0e824772bf26c636c69c2751127738127e283112e72c2de6c28e36be SHA512 90cf2019f0d5b125c7bbb5a9e3e7d2dedcd8efd5f9b2ab057e0b41f899d394b995fe599128223c82b1a634fb881ad7ae8ddc5b86b26adb28a3834c05da45f2c6 WHIRLPOOL 21a90a98b36775db4e6154c30ea697ef53f4b94a30e1be125e420019d5200cbbf31178937c41b12ffb841b028875dbc6b1234cebf8036f4165d2908c431a6de4 -DIST TwistedCore-15.1.0.tar.bz2 1139396 SHA256 c769ecc62d65a33f04f932ec727c367eb557610392e9f7bab37eaf169fb1cebf SHA512 3978429d57b7929bd65103f86d5e150950de48d27382d23a08b97be5c62c218e7cbaa06067ba6c1b926fb372cc290baf5d629af91053cf338e331d996bf8c99a WHIRLPOOL 3baa9a5986e415fee15cbdb33263a9c9ba84a4c7c79a2f744acd28881de2043b56f97137acf5b97d243fe5d6b6885eebaae2b90cced5e81ac4bef5176fd6a1f7 DIST TwistedCore-15.2.1.tar.bz2 1179442 SHA256 42efb31330e09b5ffdb8caf735fdb925692c6cfdc03ab7ad25104c3dc41154bb SHA512 c5923d71903afac7dec15d130ff3bd247dc1a6cdeb35cc642912a43f1e5640088971ddfc7abe3e18ca1853e59ba6a417d4b465fb422aba1a052bc156d7c6e820 WHIRLPOOL 8abb2522447fd2e9ad0d3d2e3e0cac8e17e07cd80695b95f12fda6af6ccd6576f4b808f322731445667d194c2216669ad3d4d58c0bc5f798449f1d0a35bcc638 diff --git a/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild b/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild deleted file mode 100644 index ce4282f6be6c..000000000000 --- a/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads(+)" - -inherit eutils flag-o-matic twisted-r1 - -DESCRIPTION="An asynchronous networking framework written in Python" - -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="crypt gtk serial" - -DEPEND=" - dev-python/zope-interface[${PYTHON_USEDEP}] - crypt? ( >=dev-python/pyopenssl-0.10[${PYTHON_USEDEP}] ) - gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) - serial? ( dev-python/pyserial[${PYTHON_USEDEP}] )" -RDEPEND="${DEPEND} - !dev-python/twisted -" - -PATCHES=( - # Give a load-sensitive test a better chance of succeeding. - "${FILESDIR}/${PN}-2.1.0-echo-less.patch" - - # Skip a test if twisted conch is not available - # (see Twisted ticket #5703) - "${FILESDIR}/${PN}-12.1.0-remove-tests-conch-dependency.patch" - - # Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable. - "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch" -) - -python_prepare_all() { - if [[ "${EUID}" -eq 0 ]]; then - # Disable tests failing with root permissions. - sed \ - -e "s/test_newPluginsOnReadOnlyPath/_&/" \ - -e "s/test_deployedMode/_&/" \ - -i twisted/test/test_plugin.py - fi - - distutils-r1_python_prepare_all -} - -python_compile() { - if ! python_is_python3; then - # Needed to make the sendmsg extension work - # (see http://twistedmatrix.com/trac/ticket/5701 ) - - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" - fi - - distutils-r1_python_compile -} - -python_test() { - # NOTE: on pypy a couple of failures (refcounting, version-checking) is - # expected - - distutils_install_for_testing - - pushd "${TEST_DIR}"/lib > /dev/null || die - - # Skip broken tests. - sed -e "s/test_buildAllTarballs/_&/" -i twisted/python/test/test_release.py || die "sed failed" - - # http://twistedmatrix.com/trac/ticket/5375 - sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py || die "sed failed" - - # tap2rpm is already skipped if rpm is not installed, but fails for me on a Gentoo box with it present. - # I currently lack the cycles to track this failure down. - rm twisted/scripts/test/test_tap2rpm.py - - # Prevent it from pulling in plugins from already installed twisted packages. - rm -f twisted/plugins/__init__.py - - # An empty file doesn't work because the tests check for doc strings in all packages. - echo "'''plugins stub'''" > twisted/plugins/__init__.py || die - - if ! "${TEST_DIR}"/scripts/trial twisted; then - die "Tests failed with ${EPYTHON}" - fi - - popd > /dev/null || die -} - -python_install() { - distutils-r1_python_install - - cd "${D%/}$(python_get_sitedir)" || die - - # create 'Twisted' egg wrt bug #299736 - local egg=( Twisted_Core*.egg-info ) - [[ -f ${egg[0]} ]] || die "Twisted_Core*.egg-info not found" - ln -s "${egg[0]}" "${egg[0]/_Core/}" || die - - # own the dropin.cache so we don't leave orphans - touch twisted/plugins/dropin.cache || die -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} diff --git a/dev-python/twisted-core/twisted-core-15.1.0.ebuild b/dev-python/twisted-core/twisted-core-15.1.0.ebuild deleted file mode 100644 index 01c63009d39e..000000000000 --- a/dev-python/twisted-core/twisted-core-15.1.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads(+)" - -inherit eutils flag-o-matic twisted-r1 - -DESCRIPTION="An asynchronous networking framework written in Python" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="crypt gtk serial test" - -RDEPEND=">=dev-python/zope-interface-3.6.0[${PYTHON_USEDEP}] - crypt? ( >=dev-python/pyopenssl-0.10[${PYTHON_USEDEP}] - dev-python/service_identity[${PYTHON_USEDEP}] ) - gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) - serial? ( dev-python/pyserial[${PYTHON_USEDEP}] )" -DEPEND=" - test? ( ${RDEPEND} ) -" -RDEPEND+=" !dev-python/twisted" - -PATCHES=( - # Give a load-sensitive test a better chance of succeeding. - "${FILESDIR}/${PN}-2.1.0-echo-less.patch" - - # Skip a test if twisted conch is not available - # (see Twisted ticket #5703) - "${FILESDIR}/${PN}-12.1.0-remove-tests-conch-dependency.patch" - - # Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable. - "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch" -) - -python_prepare_all() { - if [[ "${EUID}" -eq 0 ]]; then - # Disable tests failing with root permissions. - sed \ - -e "s/test_newPluginsOnReadOnlyPath/_&/" \ - -e "s/test_deployedMode/_&/" \ - -i twisted/test/test_plugin.py - fi - - distutils-r1_python_prepare_all -} - -python_compile() { - if ! python_is_python3; then - # Needed to make the sendmsg extension work - # (see http://twistedmatrix.com/trac/ticket/5701 ) - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" - fi - - distutils-r1_python_compile -} - -python_test() { - distutils_install_for_testing - - pushd "${TEST_DIR}"/lib > /dev/null || die - - # Skip broken tests. - - # http://twistedmatrix.com/trac/ticket/5375 - sed -e "/class ZshIntegrationTestCase/,/^$/d" -i twisted/scripts/test/test_scripts.py \ - || die "sed failed" - - # Prevent it from pulling in plugins from already installed twisted packages. - rm -f twisted/plugins/__init__.py - - # An empty file doesn't work because the tests check for doc strings in all packages. - echo "'''plugins stub'''" > twisted/plugins/__init__.py || die - - # https://twistedmatrix.com/trac/ticket/6920 6921 - # Just re-exposing them to list a full list of deficits -# sed -e 's:test_basicOperation:_&:' -i twisted/scripts/test/test_tap2deb.py || die -# sed -e 's:test_inspectCertificate:_&:' -i twisted/test/test_sslverify.py || die - - # Requires twisted-web, twisted-lore and twisted-names, creating a circ. dep and fail even if installed. - # test_loreDeprecation and test_exist failures appeared in version 14.0.0. - # Possibly due to over taxing of the distutils_install_for_testing function - rm -f twisted/python/test/test_release.py || die - sed -e 's:test_loreDeprecation:_&:' -i twisted/test/test_twisted.py || die - sed -e 's:test_exist:_&:' -i twisted/python/test/test_dist3.py || die - - # Requires connection to the network - sed -e 's:test_multiListen:_&:' -i twisted/test/test_udp.py || die - - # Appeared in version 14.0.0; https://twistedmatrix.com/trac/ticket/7422; known failures - # Upstream somewhat unreceptive - # The last of these invokes a hang or a long delay - sed -e 's:test_dataReceivedThrows:_&:' \ - -e 's:test_resumeProducingThrows:_&:' \ - -e 's:test_resumeProducingAbortLater:_&:' \ - -e 's:test_resumeProducingAbort:_&:' \ - -e 's:test_fullWriteBufferAfterByteExchange:_&:' \ - -i twisted/internet/test/test_tcp.py || die - sed -e 's:test_logPrefix:_&:' -i twisted/internet/test/connectionmixins.py || die - - if ! "${TEST_DIR}"/scripts/trial twisted; then - die "Tests failed with ${EPYTHON}" - fi - - popd > /dev/null || die -} - -python_install() { - distutils-r1_python_install - - cd "${D%/}$(python_get_sitedir)" || die - - # create 'Twisted' egg wrt bug #299736 - local egg=( Twisted_Core*.egg-info ) - [[ -f ${egg[0]} ]] || die "Twisted_Core*.egg-info not found" - ln -s "${egg[0]}" "${egg[0]/_Core/}" || die - - # own the dropin.cache so we don't leave orphans - touch twisted/plugins/dropin.cache || die -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} |