summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-04 20:25:53 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-04 20:25:53 +0000
commit1affda423ea516105aa785bf2bab24bb82cae5dd (patch)
tree58367d5c8cdfa8eb76d73b48ec1937b3bee25b04 /dev-python
parentVersion bump. (diff)
downloadhistorical-1affda423ea516105aa785bf2bab24bb82cae5dd.tar.gz
historical-1affda423ea516105aa785bf2bab24bb82cae5dd.tar.bz2
historical-1affda423ea516105aa785bf2bab24bb82cae5dd.zip
Delete older ebuilds.
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/twisted-conch/twisted-conch-10.0.0.ebuild29
-rw-r--r--dev-python/twisted-conch/twisted-conch-10.1.0.ebuild23
-rw-r--r--dev-python/twisted-conch/twisted-conch-8.2.0.ebuild29
-rw-r--r--dev-python/twisted-conch/twisted-conch-9.0.0.ebuild29
-rw-r--r--dev-python/twisted/files/twisted-8.2.0_tests.patch288
-rw-r--r--dev-python/twisted/twisted-10.0.0.ebuild120
-rw-r--r--dev-python/twisted/twisted-10.1.0.ebuild98
-rw-r--r--dev-python/twisted/twisted-8.2.0-r2.ebuild115
-rw-r--r--dev-python/twisted/twisted-9.0.0-r1.ebuild120
9 files changed, 0 insertions, 851 deletions
diff --git a/dev-python/twisted-conch/twisted-conch-10.0.0.ebuild b/dev-python/twisted-conch/twisted-conch-10.0.0.ebuild
deleted file mode 100644
index 5875bee757dd..000000000000
--- a/dev-python/twisted-conch/twisted-conch-10.0.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.0.0.ebuild,v 1.2 2010/06/19 18:02:38 arfrever Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-MY_PACKAGE="Conch"
-
-inherit twisted versionator
-
-DESCRIPTION="Twisted SSHv2 implementation"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
- dev-python/pyasn1
- >=dev-python/pycrypto-1.9_alpha6"
-RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-
-PYTHON_MODNAME="twisted/conch twisted/plugins"
-
-src_prepare() {
- distutils_src_prepare
- # These tests sometimes fail with "reason 11, desc: disconnected by user".
- sed -e "s/test_extendedAttributes/_&/" -i twisted/conch/test/test_cftp.py || die "sed failed"
- sed -e "s/test_exec/_&/" -i twisted/conch/test/test_conch.py || die "sed failed"
-}
diff --git a/dev-python/twisted-conch/twisted-conch-10.1.0.ebuild b/dev-python/twisted-conch/twisted-conch-10.1.0.ebuild
deleted file mode 100644
index 80eb50182aab..000000000000
--- a/dev-python/twisted-conch/twisted-conch-10.1.0.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-10.1.0.ebuild,v 1.4 2010/12/23 23:44:17 tomka Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-MY_PACKAGE="Conch"
-
-inherit twisted versionator
-
-DESCRIPTION="Twisted SSHv2 implementation"
-
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc x86"
-IUSE=""
-
-DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
- dev-python/pyasn1
- >=dev-python/pycrypto-1.9_alpha6"
-RDEPEND="${DEPEND}"
-
-PYTHON_MODNAME="twisted/conch twisted/plugins"
diff --git a/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild b/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild
deleted file mode 100644
index b03cb800bd48..000000000000
--- a/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-8.2.0.ebuild,v 1.10 2009/12/20 16:39:46 armin76 Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-MY_PACKAGE="Conch"
-
-inherit twisted versionator
-
-DESCRIPTION="Twisted SSHv2 implementation"
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
- >=dev-python/pycrypto-1.9_alpha6"
-RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-
-PYTHON_MODNAME="twisted/conch twisted/plugins"
-
-src_prepare() {
- distutils_src_prepare
- sed -e "s/test_extendedAttributes/_&/" -i twisted/conch/test/test_cftp.py || die "sed failed"
- sed -e "s/test_checkKeyAsRoot/_&/" -i twisted/conch/test/test_checkers.py || die "sed failed"
- sed -e "s/test_exec/_&/" -i twisted/conch/test/test_conch.py || die "sed failed"
- sed -e "s/test_getPrivateKeysAsRoot/_&/" -i twisted/conch/test/test_openssh_compat.py || die "sed failed"
-}
diff --git a/dev-python/twisted-conch/twisted-conch-9.0.0.ebuild b/dev-python/twisted-conch/twisted-conch-9.0.0.ebuild
deleted file mode 100644
index 4dff9243e0c9..000000000000
--- a/dev-python/twisted-conch/twisted-conch-9.0.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-conch/twisted-conch-9.0.0.ebuild,v 1.6 2010/06/19 18:02:38 arfrever Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-MY_PACKAGE="Conch"
-
-inherit twisted versionator
-
-DESCRIPTION="Twisted SSHv2 implementation"
-
-KEYWORDS="alpha ~amd64 arm hppa ia64 ~ppc ~ppc64 s390 sh sparc x86"
-IUSE=""
-
-DEPEND="=dev-python/twisted-$(get_version_component_range 1-2)*
- dev-python/pyasn1
- >=dev-python/pycrypto-1.9_alpha6"
-RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-
-PYTHON_MODNAME="twisted/conch twisted/plugins"
-
-src_prepare() {
- distutils_src_prepare
- # These tests sometimes fail with "reason 11, desc: disconnected by user".
- sed -e "s/test_extendedAttributes/_&/" -i twisted/conch/test/test_cftp.py || die "sed failed"
- sed -e "s/test_exec/_&/" -i twisted/conch/test/test_conch.py || die "sed failed"
-}
diff --git a/dev-python/twisted/files/twisted-8.2.0_tests.patch b/dev-python/twisted/files/twisted-8.2.0_tests.patch
deleted file mode 100644
index c254de4bf25c..000000000000
--- a/dev-python/twisted/files/twisted-8.2.0_tests.patch
+++ /dev/null
@@ -1,288 +0,0 @@
---- twisted/python/test/test_release.py
-+++ twisted/python/test/test_release.py
-@@ -1919,4 +1919,4 @@
- BookBuilderTests.skip = skipMessage
- DocBuilderTestCase.skip = skipMessage
- ManBuilderTestCase.skip = skipMessage
-- DistributionBuilderTests.skip = skipMessage
-+ DistributionBuilderTest.skip = skipMessage
---- twisted/python/test/test_util.py
-+++ twisted/python/test/test_util.py
-@@ -18,7 +18,7 @@
- from twisted.internet.defer import Deferred
- from twisted.internet.error import ProcessDone
-
--from twisted.test.test_process import MockOS
-+#from twisted.test.test_process import MockOS
-
-
-
-@@ -601,115 +601,115 @@
-
-
-
--class RunAsEffectiveUserTests(unittest.TestCase):
-- """
-- Test for the L{util.runAsEffectiveUser} function.
-- """
--
-- if getattr(os, "geteuid", None) is None:
-- skip = "geteuid/seteuid not available"
--
-- def setUp(self):
-- self.mockos = MockOS()
-- self.patch(os, "geteuid", self.mockos.geteuid)
-- self.patch(os, "getegid", self.mockos.getegid)
-- self.patch(os, "seteuid", self.mockos.seteuid)
-- self.patch(os, "setegid", self.mockos.setegid)
--
--
-- def _securedFunction(self, startUID, startGID, wantUID, wantGID):
-- """
-- Check if wanted UID/GID matched start or saved ones.
-- """
-- self.assertTrue(wantUID == startUID or
-- wantUID == self.mockos.seteuidCalls[-1])
-- self.assertTrue(wantGID == startGID or
-- wantGID == self.mockos.setegidCalls[-1])
--
--
-- def test_forwardResult(self):
-- """
-- L{util.runAsEffectiveUser} forwards the result obtained by calling the
-- given function
-- """
-- result = util.runAsEffectiveUser(0, 0, lambda: 1)
-- self.assertEquals(result, 1)
--
--
-- def test_takeParameters(self):
-- """
-- L{util.runAsEffectiveUser} pass the given parameters to the given
-- function.
-- """
-- result = util.runAsEffectiveUser(0, 0, lambda x: 2*x, 3)
-- self.assertEquals(result, 6)
--
--
-- def test_takesKeyworkArguments(self):
-- """
-- L{util.runAsEffectiveUser} pass the keyword parameters to the given
-- function.
-- """
-- result = util.runAsEffectiveUser(0, 0, lambda x, y=1, z=1: x*y*z, 2, z=3)
-- self.assertEquals(result, 6)
--
--
-- def _testUIDGIDSwitch(self, startUID, startGID, wantUID, wantGID,
-- expectedUIDSwitches, expectedGIDSwitches):
-- """
-- Helper method checking the calls to C{os.seteuid} and C{os.setegid}
-- made by L{util.runAsEffectiveUser}, when switching from startUID to
-- wantUID and from startGID to wantGID.
-- """
-- self.mockos.euid = startUID
-- self.mockos.egid = startGID
-- util.runAsEffectiveUser(
-- wantUID, wantGID,
-- self._securedFunction, startUID, startGID, wantUID, wantGID)
-- self.assertEquals(self.mockos.seteuidCalls, expectedUIDSwitches)
-- self.assertEquals(self.mockos.setegidCalls, expectedGIDSwitches)
-- self.mockos.seteuidCalls = []
-- self.mockos.setegidCalls = []
--
--
-- def test_root(self):
-- """
-- Check UID/GID switches when current effective UID is root.
-- """
-- self._testUIDGIDSwitch(0, 0, 0, 0, [], [])
-- self._testUIDGIDSwitch(0, 0, 1, 0, [1, 0], [])
-- self._testUIDGIDSwitch(0, 0, 0, 1, [], [1, 0])
-- self._testUIDGIDSwitch(0, 0, 1, 1, [1, 0], [1, 0])
--
--
-- def test_UID(self):
-- """
-- Check UID/GID switches when current effective UID is non-root.
-- """
-- self._testUIDGIDSwitch(1, 0, 0, 0, [0, 1], [])
-- self._testUIDGIDSwitch(1, 0, 1, 0, [], [])
-- self._testUIDGIDSwitch(1, 0, 1, 1, [0, 1, 0, 1], [1, 0])
-- self._testUIDGIDSwitch(1, 0, 2, 1, [0, 2, 0, 1], [1, 0])
--
--
-- def test_GID(self):
-- """
-- Check UID/GID switches when current effective GID is non-root.
-- """
-- self._testUIDGIDSwitch(0, 1, 0, 0, [], [0, 1])
-- self._testUIDGIDSwitch(0, 1, 0, 1, [], [])
-- self._testUIDGIDSwitch(0, 1, 1, 1, [1, 0], [])
-- self._testUIDGIDSwitch(0, 1, 1, 2, [1, 0], [2, 1])
--
--
-- def test_UIDGID(self):
-- """
-- Check UID/GID switches when current effective UID/GID is non-root.
-- """
-- self._testUIDGIDSwitch(1, 1, 0, 0, [0, 1], [0, 1])
-- self._testUIDGIDSwitch(1, 1, 0, 1, [0, 1], [])
-- self._testUIDGIDSwitch(1, 1, 1, 0, [0, 1, 0, 1], [0, 1])
-- self._testUIDGIDSwitch(1, 1, 1, 1, [], [])
-- self._testUIDGIDSwitch(1, 1, 2, 1, [0, 2, 0, 1], [])
-- self._testUIDGIDSwitch(1, 1, 1, 2, [0, 1, 0, 1], [2, 1])
-- self._testUIDGIDSwitch(1, 1, 2, 2, [0, 2, 0, 1], [2, 1])
-+#class RunAsEffectiveUserTests(unittest.TestCase):
-+# """
-+# Test for the L{util.runAsEffectiveUser} function.
-+# """
-+#
-+# if getattr(os, "geteuid", None) is None:
-+# skip = "geteuid/seteuid not available"
-+#
-+# def setUp(self):
-+# self.mockos = MockOS()
-+# self.patch(os, "geteuid", self.mockos.geteuid)
-+# self.patch(os, "getegid", self.mockos.getegid)
-+# self.patch(os, "seteuid", self.mockos.seteuid)
-+# self.patch(os, "setegid", self.mockos.setegid)
-+#
-+#
-+# def _securedFunction(self, startUID, startGID, wantUID, wantGID):
-+# """
-+# Check if wanted UID/GID matched start or saved ones.
-+# """
-+# self.assertTrue(wantUID == startUID or
-+# wantUID == self.mockos.seteuidCalls[-1])
-+# self.assertTrue(wantGID == startGID or
-+# wantGID == self.mockos.setegidCalls[-1])
-+#
-+#
-+# def test_forwardResult(self):
-+# """
-+# L{util.runAsEffectiveUser} forwards the result obtained by calling the
-+# given function
-+# """
-+# result = util.runAsEffectiveUser(0, 0, lambda: 1)
-+# self.assertEquals(result, 1)
-+#
-+#
-+# def test_takeParameters(self):
-+# """
-+# L{util.runAsEffectiveUser} pass the given parameters to the given
-+# function.
-+# """
-+# result = util.runAsEffectiveUser(0, 0, lambda x: 2*x, 3)
-+# self.assertEquals(result, 6)
-+#
-+#
-+# def test_takesKeyworkArguments(self):
-+# """
-+# L{util.runAsEffectiveUser} pass the keyword parameters to the given
-+# function.
-+# """
-+# result = util.runAsEffectiveUser(0, 0, lambda x, y=1, z=1: x*y*z, 2, z=3)
-+# self.assertEquals(result, 6)
-+#
-+#
-+# def _testUIDGIDSwitch(self, startUID, startGID, wantUID, wantGID,
-+# expectedUIDSwitches, expectedGIDSwitches):
-+# """
-+# Helper method checking the calls to C{os.seteuid} and C{os.setegid}
-+# made by L{util.runAsEffectiveUser}, when switching from startUID to
-+# wantUID and from startGID to wantGID.
-+# """
-+# self.mockos.euid = startUID
-+# self.mockos.egid = startGID
-+# util.runAsEffectiveUser(
-+# wantUID, wantGID,
-+# self._securedFunction, startUID, startGID, wantUID, wantGID)
-+# self.assertEquals(self.mockos.seteuidCalls, expectedUIDSwitches)
-+# self.assertEquals(self.mockos.setegidCalls, expectedGIDSwitches)
-+# self.mockos.seteuidCalls = []
-+# self.mockos.setegidCalls = []
-+#
-+#
-+# def test_root(self):
-+# """
-+# Check UID/GID switches when current effective UID is root.
-+# """
-+# self._testUIDGIDSwitch(0, 0, 0, 0, [], [])
-+# self._testUIDGIDSwitch(0, 0, 1, 0, [1, 0], [])
-+# self._testUIDGIDSwitch(0, 0, 0, 1, [], [1, 0])
-+# self._testUIDGIDSwitch(0, 0, 1, 1, [1, 0], [1, 0])
-+#
-+#
-+# def test_UID(self):
-+# """
-+# Check UID/GID switches when current effective UID is non-root.
-+# """
-+# self._testUIDGIDSwitch(1, 0, 0, 0, [0, 1], [])
-+# self._testUIDGIDSwitch(1, 0, 1, 0, [], [])
-+# self._testUIDGIDSwitch(1, 0, 1, 1, [0, 1, 0, 1], [1, 0])
-+# self._testUIDGIDSwitch(1, 0, 2, 1, [0, 2, 0, 1], [1, 0])
-+#
-+#
-+# def test_GID(self):
-+# """
-+# Check UID/GID switches when current effective GID is non-root.
-+# """
-+# self._testUIDGIDSwitch(0, 1, 0, 0, [], [0, 1])
-+# self._testUIDGIDSwitch(0, 1, 0, 1, [], [])
-+# self._testUIDGIDSwitch(0, 1, 1, 1, [1, 0], [])
-+# self._testUIDGIDSwitch(0, 1, 1, 2, [1, 0], [2, 1])
-+#
-+#
-+# def test_UIDGID(self):
-+# """
-+# Check UID/GID switches when current effective UID/GID is non-root.
-+# """
-+# self._testUIDGIDSwitch(1, 1, 0, 0, [0, 1], [0, 1])
-+# self._testUIDGIDSwitch(1, 1, 0, 1, [0, 1], [])
-+# self._testUIDGIDSwitch(1, 1, 1, 0, [0, 1, 0, 1], [0, 1])
-+# self._testUIDGIDSwitch(1, 1, 1, 1, [], [])
-+# self._testUIDGIDSwitch(1, 1, 2, 1, [0, 2, 0, 1], [])
-+# self._testUIDGIDSwitch(1, 1, 1, 2, [0, 1, 0, 1], [2, 1])
-+# self._testUIDGIDSwitch(1, 1, 2, 2, [0, 2, 0, 1], [2, 1])
---- twisted/trial/test/test_util.py
-+++ twisted/trial/test/test_util.py
-@@ -209,22 +209,22 @@
- return d.addCallback(check)
-
-
-- def test_stripFlags(self):
-- """
-- If the C{stripFlags} option is passed to C{runSequentially} then the
-- SUCCESS / FAILURE flags are stripped from the output. Instead, the
-- Deferred fires a flat list of results containing only the results and
-- failures.
-- """
-- d = util._runSequentially([lambda: self.fail('foo'), lambda: 'bar'],
-- stripFlags=True)
-- def check(results):
-- [fail, result] = results
-- fail.trap(self.failureException)
-- self.assertEqual(fail.getErrorMessage(), 'foo')
-- self.assertEqual(result, 'bar')
-- return d.addCallback(check)
-- test_stripFlags.todo = "YAGNI"
-+# def test_stripFlags(self):
-+# """
-+# If the C{stripFlags} option is passed to C{runSequentially} then the
-+# SUCCESS / FAILURE flags are stripped from the output. Instead, the
-+# Deferred fires a flat list of results containing only the results and
-+# failures.
-+# """
-+# d = util._runSequentially([lambda: self.fail('foo'), lambda: 'bar'],
-+# stripFlags=True)
-+# def check(results):
-+# [fail, result] = results
-+# fail.trap(self.failureException)
-+# self.assertEqual(fail.getErrorMessage(), 'foo')
-+# self.assertEqual(result, 'bar')
-+# return d.addCallback(check)
-+# test_stripFlags.todo = "YAGNI"
-
-
-
diff --git a/dev-python/twisted/twisted-10.0.0.ebuild b/dev-python/twisted/twisted-10.0.0.ebuild
deleted file mode 100644
index c60ff83c8be3..000000000000
--- a/dev-python/twisted/twisted-10.0.0.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.0.0.ebuild,v 1.2 2010/04/23 08:48:42 grobian Exp $
-
-EAPI="3"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit eutils distutils versionator
-
-MY_P="TwistedCore-${PV}"
-
-DESCRIPTION="An asynchronous networking framework written in Python"
-HOMEPAGE="http://www.twistedmatrix.com/ http://pypi.python.org/pypi/Twisted"
-SRC_URI="http://tmrc.mit.edu/mirror/${PN}/Core/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="crypt gtk serial"
-
-DEPEND=">=net-zope/zope-interface-3.0.1
- serial? ( dev-python/pyserial )
- crypt? ( >=dev-python/pyopenssl-0.5.1 )
- gtk? ( >=dev-python/pygtk-1.99 )
- !dev-python/twisted-docs"
-RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="CREDITS NEWS README"
-
-src_prepare(){
- # Give a load-sensitive test a better chance of succeeding.
- epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"
-
- # Pass valid arguments to "head" in the zsh completion function.
- epatch "${FILESDIR}/${PN}-2.1.0-zsh-head.patch"
-
- # Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
- epatch "${FILESDIR}/twisted-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
-}
-
-src_test() {
- testing() {
- local return_status="0"
- "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with Python ${PYTHON_ABI}"
-
- pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die
-
- # Skip broken tests.
- rm -f twisted/python/test/test_release.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
- # docstrings in all packages
- echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
-
- if ! PYTHONPATH="." "${T}/tests${EPREFIX}/usr/bin/trial" twisted; then
- if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
- die "Tests failed with Python ${PYTHON_ABI}"
- else
- return_status="1"
- fi
- fi
-
- popd > /dev/null || die
- rm -fr "${T}/tests"
- return "${return_status}"
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- python_generate_wrapper_scripts -E -f -q "${D%/}${EPREFIX}/usr/bin/trial"
-
- create_twisted_egg-info() {
- touch "${D%/}${EPREFIX}/$(python_get_sitedir)/Twisted-${PV}-py${PYTHON_ABI}.egg-info"
- }
- python_execute_function create_twisted_egg-info
-
- # Delete dropin.cache to avoid collisions.
- # dropin.cache is regenerated in pkg_postinst().
- rm -f "${D%/}${EPREFIX}/usr/$(get_libdir)"/python*/site-packages/twisted/plugins/dropin.cache
-
- # weird pattern to avoid installing the index.xhtml page
- doman doc/man/*.?
- insinto /usr/share/doc/${PF}
- doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)
-
- newconfd "${FILESDIR}/twistd.conf" twistd
- newinitd "${FILESDIR}/twistd.init" twistd
-
- # zsh completion
- insinto /usr/share/zsh/site-functions/
- doins twisted/python/_twisted_zsh_stub
-}
-
-update_plugin_cache() {
- # Update dropin.cache only when Twisted is still installed.
- if [[ -f "${EROOT%/}$(python_get_sitedir)/twisted/plugin.py" ]]; then
- einfo "Regenerating plugin cache with Python ${PYTHON_ABI}"
- # http://twistedmatrix.com/documents/current/core/howto/plugin.html
- "$(PYTHON)" -c "from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))"
- fi
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
- python_execute_function -q update_plugin_cache
-}
-
-pkg_postrm() {
- distutils_pkg_postrm
- python_execute_function -q update_plugin_cache
-}
diff --git a/dev-python/twisted/twisted-10.1.0.ebuild b/dev-python/twisted/twisted-10.1.0.ebuild
deleted file mode 100644
index 88f8bcf6ba95..000000000000
--- a/dev-python/twisted/twisted-10.1.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-10.1.0.ebuild,v 1.5 2010/12/23 23:43:18 tomka Exp $
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
-MY_PACKAGE="Core"
-
-inherit eutils twisted versionator
-
-DESCRIPTION="An asynchronous networking framework written in Python"
-HOMEPAGE="http://www.twistedmatrix.com/ http://pypi.python.org/pypi/Twisted"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="crypt gtk serial"
-
-DEPEND=">=net-zope/zope-interface-3.0.1
- crypt? ( >=dev-python/pyopenssl-0.5.1 )
- gtk? ( >=dev-python/pygtk-1.99 )
- serial? ( dev-python/pyserial )"
-RDEPEND="${DEPEND}"
-
-DOCS="CREDITS NEWS README"
-
-src_prepare(){
- distutils_src_prepare
-
- # Give a load-sensitive test a better chance of succeeding.
- epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"
-
- # Pass valid arguments to "head" in the zsh completion function.
- epatch "${FILESDIR}/${PN}-2.1.0-zsh-head.patch"
-
- # Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
- epatch "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
-}
-
-src_test() {
- testing() {
- local return_status="0"
- "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with $(python_get_implementation) $(python_get_version)"
-
- pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die
-
- # Skip broken tests.
- sed -e "s/test_buildAllTarballs/_&/" -i twisted/python/test/test_release.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
-
- if ! PYTHONPATH="." "${T}/tests${EPREFIX}/usr/bin/trial" twisted; then
- if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
- die "Tests failed with $(python_get_implementation) $(python_get_version)"
- else
- return_status="1"
- fi
- fi
-
- popd > /dev/null || die
- rm -fr "${T}/tests"
- return "${return_status}"
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/trial"
-
- postinstallational_preparation() {
- touch "${ED}$(python_get_sitedir)/Twisted-${PV}-py$(python_get_version).egg-info"
-
- # Delete dropin.cache to avoid collisions.
- # dropin.cache is regenerated in pkg_postinst().
- rm -f "${ED}$(python_get_sitedir)/twisted/plugins/dropin.cache"
- }
- python_execute_function -q postinstallational_preparation
-
- # Don't install index.xhtml page.
- doman doc/man/*.?
- insinto /usr/share/doc/${PF}
- doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)
-
- newconfd "${FILESDIR}/twistd.conf" twistd
- newinitd "${FILESDIR}/twistd.init" twistd
-
- # zsh completion
- insinto /usr/share/zsh/site-functions
- doins twisted/python/_twisted_zsh_stub
-}
diff --git a/dev-python/twisted/twisted-8.2.0-r2.ebuild b/dev-python/twisted/twisted-8.2.0-r2.ebuild
deleted file mode 100644
index 65ce3c5ee0ed..000000000000
--- a/dev-python/twisted/twisted-8.2.0-r2.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-8.2.0-r2.ebuild,v 1.15 2010/02/08 08:41:18 pva Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit eutils distutils versionator
-
-MY_P="TwistedCore-${PV}"
-
-DESCRIPTION="An asynchronous networking framework written in Python"
-HOMEPAGE="http://www.twistedmatrix.com/ http://pypi.python.org/pypi/Twisted"
-SRC_URI="http://tmrc.mit.edu/mirror/${PN}/Core/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="crypt gtk serial"
-
-DEPEND=">=dev-lang/python-2.3
- >=net-zope/zope-interface-3.0.1
- serial? ( dev-python/pyserial )
- crypt? ( >=dev-python/pyopenssl-0.5.1 )
- gtk? ( >=dev-python/pygtk-1.99 )
- !dev-python/twisted-docs"
-RDEPEND="${DEPEND}"
-
-RESTRICT_PYTHON_ABIS="3*"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="CREDITS NEWS README"
-
-src_prepare(){
- # Give a load-sensitive test a better chance of succeeding.
- epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"
-
- # Pass valid arguments to "head" in the zsh completion function.
- epatch "${FILESDIR}/${PN}-2.1.0-zsh-head.patch"
-
- # Skip tests that demand non-root user
- epatch "${FILESDIR}/${P}_tests.patch"
-}
-
-src_test() {
- testing() {
- "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with Python ${PYTHON_ABI}"
-
- pushd "${T}/tests$(python_get_sitedir)" > /dev/null || die
-
- # Skip tests that demand non-root user.
- rm -f twisted/test/test_plugin.py
- rm -f twisted/test/test_process.py
-
- # Skip broken tests.
- rm -f twisted/python/test/test_release.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
- # docstrings in all packages
- echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
-
- PYTHONPATH=. "${T}/tests/usr/bin/trial" twisted || die "trial failed with Python ${PYTHON_ABI}"
-
- popd > /dev/null || die
- rm -fr "${T}/tests"
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- # get rid of this to prevent collision-protect from killing us. it
- # is regenerated in pkg_postinst.
- rm -f "${D}/usr/$(get_libdir)"/python*/site-packages/twisted/plugins/dropin.cache
-
- # weird pattern to avoid installing the index.xhtml page
- doman doc/man/*.?
- insinto /usr/share/doc/${PF}
- doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)
-
- newconfd "${FILESDIR}/twistd.conf" twistd
- newinitd "${FILESDIR}/twistd.init" twistd
-
- # zsh completion
- insinto /usr/share/zsh/site-functions/
- doins twisted/python/_twisted_zsh_stub
-}
-
-update_plugin_cache() {
- local tpath="${ROOT}$(python_get_sitedir)/twisted"
- # we have to remove the cache or removed plugins won't be removed
- # from the cache (http://twistedmatrix.com/bugs/issue926)
- [[ -e "${tpath}/plugins/dropin.cache" ]] && rm -f "${tpath}/plugins/dropin.cache"
- if [[ -e "${tpath}/plugin.py" ]]; then
- # twisted is still installed, update.
- # we have to use getPlugIns here for <=twisted-2.0.1 compatibility
- einfo "Regenerating plugin cache"
- python -c "from twisted.plugin import IPlugin, getPlugIns;list(getPlugIns(IPlugin))"
- fi
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
- python_execute_function update_plugin_cache
-}
-
-pkg_postrm() {
- distutils_pkg_postrm
- python_execute_function update_plugin_cache
-}
diff --git a/dev-python/twisted/twisted-9.0.0-r1.ebuild b/dev-python/twisted/twisted-9.0.0-r1.ebuild
deleted file mode 100644
index a1594913b30d..000000000000
--- a/dev-python/twisted/twisted-9.0.0-r1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-9.0.0-r1.ebuild,v 1.6 2010/02/13 17:38:50 armin76 Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit eutils distutils versionator
-
-MY_P="TwistedCore-${PV}"
-
-DESCRIPTION="An asynchronous networking framework written in Python"
-HOMEPAGE="http://www.twistedmatrix.com/ http://pypi.python.org/pypi/Twisted"
-SRC_URI="http://tmrc.mit.edu/mirror/${PN}/Core/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="crypt gtk serial"
-
-DEPEND=">=net-zope/zope-interface-3.0.1
- serial? ( dev-python/pyserial )
- crypt? ( >=dev-python/pyopenssl-0.5.1 )
- gtk? ( >=dev-python/pygtk-1.99 )
- !dev-python/twisted-docs"
-RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS="CREDITS NEWS README"
-
-src_prepare(){
- # Give a load-sensitive test a better chance of succeeding.
- epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"
-
- # Pass valid arguments to "head" in the zsh completion function.
- epatch "${FILESDIR}/${PN}-2.1.0-zsh-head.patch"
-
- # Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
- epatch "${FILESDIR}/${P}-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
-}
-
-src_test() {
- testing() {
- local return_status="0"
- "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with Python ${PYTHON_ABI}"
-
- pushd "${T}/tests$(python_get_sitedir)" > /dev/null || die
-
- # Skip broken tests.
- rm -f twisted/python/test/test_release.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
- # docstrings in all packages
- echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
-
- if ! PYTHONPATH="." "${T}/tests/usr/bin/trial" twisted; then
- if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
- die "Tests failed with Python ${PYTHON_ABI}"
- else
- return_status="1"
- fi
- fi
-
- popd > /dev/null || die
- rm -fr "${T}/tests"
- return "${return_status}"
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- python_generate_wrapper_scripts -E -f -q "${D%/}${EPREFIX}/usr/bin/trial"
-
- create_twisted_egg-info() {
- touch "${D%/}${EPREFIX}/$(python_get_sitedir)/Twisted-${PV}-py${PYTHON_ABI}.egg-info"
- }
- python_execute_function create_twisted_egg-info
-
- # Delete dropin.cache to avoid collisions.
- # dropin.cache is regenerated in pkg_postinst().
- rm -f "${D%/}${EPREFIX}/usr/$(get_libdir)"/python*/site-packages/twisted/plugins/dropin.cache
-
- # weird pattern to avoid installing the index.xhtml page
- doman doc/man/*.?
- insinto /usr/share/doc/${PF}
- doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)
-
- newconfd "${FILESDIR}/twistd.conf" twistd
- newinitd "${FILESDIR}/twistd.init" twistd
-
- # zsh completion
- insinto /usr/share/zsh/site-functions/
- doins twisted/python/_twisted_zsh_stub
-}
-
-update_plugin_cache() {
- # Update dropin.cache only when Twisted is still installed.
- if [[ -f "${ROOT%/}${EPREFIX}$(python_get_sitedir)/twisted/plugin.py" ]]; then
- einfo "Regenerating plugin cache with Python ${PYTHON_ABI}"
- # http://twistedmatrix.com/documents/current/core/howto/plugin.html
- "$(PYTHON)" -c "from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))"
- fi
-}
-
-pkg_postinst() {
- distutils_pkg_postinst
- python_execute_function -q update_plugin_cache
-}
-
-pkg_postrm() {
- distutils_pkg_postrm
- python_execute_function -q update_plugin_cache
-}