summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-12-27 06:39:32 +0000
committerMike Gilbert <floppym@gentoo.org>2011-12-27 06:39:32 +0000
commit574b841905f5dc78f0ecae481240d1469082c38e (patch)
tree89eb54c639662bdf9d35ab368778b74ace1cb3bd /dev-python/twisted
parentUse twistedmatrix.com/Releases in SRC_URI; tmrc.mit.edu does not have tarball... (diff)
downloadhistorical-574b841905f5dc78f0ecae481240d1469082c38e.tar.gz
historical-574b841905f5dc78f0ecae481240d1469082c38e.tar.bz2
historical-574b841905f5dc78f0ecae481240d1469082c38e.zip
Version bump for bug 395825 by Ian Delaney. Bits and pieces by Arfrever.
Package-Manager: portage-2.2.0_alpha83/cvs/Linux x86_64
Diffstat (limited to 'dev-python/twisted')
-rw-r--r--dev-python/twisted/ChangeLog7
-rw-r--r--dev-python/twisted/Manifest14
-rw-r--r--dev-python/twisted/twisted-11.1.0.ebuild102
3 files changed, 115 insertions, 8 deletions
diff --git a/dev-python/twisted/ChangeLog b/dev-python/twisted/ChangeLog
index dbddbc95719e..69c93e37cf97 100644
--- a/dev-python/twisted/ChangeLog
+++ b/dev-python/twisted/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/twisted
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.149 2011/07/17 10:57:03 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.150 2011/12/27 06:39:32 floppym Exp $
+
+*twisted-11.1.0 (27 Dec 2011)
+
+ 27 Dec 2011; Mike Gilbert <floppym@gentoo.org> +twisted-11.1.0.ebuild:
+ Version bump for bug 395825 by Ian Delaney. Bits and pieces by Arfrever.
17 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> twisted-11.0.0.ebuild:
ppc64 stable wrt #366131
diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest
index f0419b9c313e..84f54ab255d0 100644
--- a/dev-python/twisted/Manifest
+++ b/dev-python/twisted/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX twistd.conf 277 RMD160 c959b879d6f7358b647c71c3b514a4a6c8a49eef SHA1 661269a3ce6ed02f03d4fce07757e77420fd44c4 SHA256 aa2ffa5b128973bc0c58a1251b8bbb56f6f890728bc902805ea2db7606416119
AUX twistd.init 564 RMD160 73df65867f20a87e7f8e555641e8a379b910aada SHA1 acfff358465e1ecece590c915cd746e4e1011fde SHA256 23898c134daa7ffa6df2cd4e6dbf5d9ad0539ebf80b43974dfa1343a2523a8fe
@@ -8,16 +8,16 @@ AUX twisted-2.1.0-zsh-head.patch 592 RMD160 1fc8e7f8de64055e3801b442b4f666aef567
AUX twisted-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch 419 RMD160 b3a00d9cbb94332c1b20c96e342679b8c165c2e9 SHA1 9ee00b607d0ebd9f54867c95cbc321c47129e272 SHA256 f8e35bfeb14010ddd2c372fc5a9ae2ce0c72aa67bd452b2ccd12368f31c28818
DIST TwistedCore-10.2.0.tar.bz2 1359631 RMD160 87b9ec3ca3e06e0a4421c603c9f56437aa2c2400 SHA1 d0dfd2ec562496e32fb3a64cde31647294683af3 SHA256 38e4fa66713a3cb3eae052c5183e492aa4b363e00ffad2af91bf99c0cad538f6
DIST TwistedCore-11.0.0.tar.bz2 1396224 RMD160 a6c4fcd70472266cfda1d89478c02aafaec38ec4 SHA1 14c15e4eac787744907c2c3192af710d4ffe8a4e SHA256 46ea3d9390ec94a3234589544fc154c48fb5714121362a582db62cd873133f2f
+DIST TwistedCore-11.1.0.tar.bz2 1455613 RMD160 08e056f86a7b9225c43612fcc82e320c444e7ffc SHA1 db62e3df1f8708127de4d7ba5f2c8168b24a2388 SHA256 0041b5c38cd7c40043f64c4aaeb5fcc4631c229776c896cfa188fd2b567fd76d
EBUILD twisted-10.2.0.ebuild 3446 RMD160 69a6b870d4275ba4c425ae0b28e89dc6cd98834d SHA1 717b128db755e353370592a14820672180a87a82 SHA256 68fb8a5f383e7ccef9076df86ba050f4142bc9ba4659c902ca208ca3f47ac3a1
EBUILD twisted-11.0.0.ebuild 3453 RMD160 da43106f15195c3dd8d885e4ba3df3774a714e30 SHA1 57adc2dbe9878675dc773c136d58f5568bc0620f SHA256 65a9e9dbf7193f2f6799289dfde50ab210f93a00e4dd273bbb5a840d6847161b
-MISC ChangeLog 23912 RMD160 589f4e81b8dc85cf38d578daf97a3ee4c7122296 SHA1 12a2d0b91ea783b53290edcceb46f427a033c816 SHA256 c121db601d18eba412bcd9a2f34e830e129ffdaa5bb25fcd5dee1f190162b93f
+EBUILD twisted-11.1.0.ebuild 3338 RMD160 6875b0f28fbfe8548714cc417bd810031f81ea17 SHA1 4b034e54c1bf4a421221329c68b527ddbfbae0ed SHA256 d5aed2c440561fa35f829187b62eb065cbfa8248326685694048fcb2f979ea54
+MISC ChangeLog 24089 RMD160 7af2426691c158a769f506080f10d79d043df4d8 SHA1 40a3c3505bbc1b3900342b612478d6380788a8d3 SHA256 e6f8841bc255abc19dacf324fac0860891c3dfd87de0c95f87d8ba583f327ca7
MISC metadata.xml 516 RMD160 3603e0b110b1486ed5c02ec37ccee6712e2098c8 SHA1 3fe53dc137c9bd5437e8f6fb1d397491f5e9281e SHA256 702ffca7fc318ecb382067e3bccf620bebd7da614430ea82de24445b9f75524c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQECAAYFAk4iwAUACgkQIiMqcbOVdxQrpAP+LfRmTr+HLuZGv993gmAmIDha
-5kqKf05HDgsOHJBdMUkJkNzOHtJKBftzMYrBsQmATjRVi7cBh6wDhhRfRtbMEIFB
-uA4u/BYyJUP/idFyK+pZvTGmoIcEcaA5Hds/Hgj50mtYs5LqjOW2aKDqkwAlyM3j
-YNqHNUgWq4qy2w4NYYk=
-=+1zI
+iF4EAREIAAYFAk75aCoACgkQC77qH+pIQ6QWcQD9FhNENMQL99huxcZzGZwDV+Yr
+JkUHdQZRLrozW4xYB3UBAIa6oVKGabKSTG67sPt7jwNTjJVlzVeDpYhYmw2ktVgd
+=MJlW
-----END PGP SIGNATURE-----
diff --git a/dev-python/twisted/twisted-11.1.0.ebuild b/dev-python/twisted/twisted-11.1.0.ebuild
new file mode 100644
index 000000000000..9f8ae4555bfb
--- /dev/null
+++ b/dev-python/twisted/twisted-11.1.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-11.1.0.ebuild,v 1.1 2011/12/27 06:39:32 floppym Exp $
+
+EAPI="4"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+MY_PACKAGE="Core"
+
+inherit eutils twisted versionator
+
+DESCRIPTION="An asynchronous networking framework written in Python"
+
+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
+ crypt? ( >=dev-python/pyopenssl-0.10 )
+ gtk? ( dev-python/pygtk:2 )
+ 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"
+
+ # Respect TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE variable.
+ epatch "${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
+
+ 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
+}
+
+src_test() {
+ testing() {
+ local exit_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"
+
+ # 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
+
+ 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
+ exit_status="1"
+ fi
+ fi
+
+ popd > /dev/null || die
+ rm -fr "${T}/tests"
+ return "${exit_status}"
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ python_clean_installation_image
+
+ 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
+}