diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-22 21:27:59 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-12-22 21:27:59 +0000 |
commit | 0d7aa44bae0c91625bbcbd714ad3144141e605a8 (patch) | |
tree | e327cf5f2e7b6e81494ae5eddaed1c5d5a57a41e | |
parent | Use Python 2, call python_mod_optimize() and python_mod_cleanup() (bug #316943). (diff) | |
download | historical-0d7aa44bae0c91625bbcbd714ad3144141e605a8.tar.gz historical-0d7aa44bae0c91625bbcbd714ad3144141e605a8.tar.bz2 historical-0d7aa44bae0c91625bbcbd714ad3144141e605a8.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha10/cvs/Linux x86_64
-rw-r--r-- | dev-python/twisted/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/twisted/Manifest | 4 | ||||
-rw-r--r-- | dev-python/twisted/twisted-10.2.0.ebuild | 98 |
3 files changed, 108 insertions, 2 deletions
diff --git a/dev-python/twisted/ChangeLog b/dev-python/twisted/ChangeLog index dacbef3345a4..2f27347103d2 100644 --- a/dev-python/twisted/ChangeLog +++ b/dev-python/twisted/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/twisted # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.132 2010/10/25 02:54:03 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.133 2010/12/22 21:27:59 arfrever Exp $ + +*twisted-10.2.0 (22 Dec 2010) + + 22 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +twisted-10.2.0.ebuild: + Version bump. 25 Oct 2010; Jeroen Roovers <jer@gentoo.org> twisted-10.1.0.ebuild: Stable for HPPA (bug #333211). diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest index 53d4fdca7268..b098a09309f3 100644 --- a/dev-python/twisted/Manifest +++ b/dev-python/twisted/Manifest @@ -6,11 +6,13 @@ AUX twisted-8.2.0_tests.patch 10675 RMD160 6dd9a5fe60d9fb0eadccca93353d8ea8fe9f6 AUX twisted-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch 419 RMD160 b3a00d9cbb94332c1b20c96e342679b8c165c2e9 SHA1 9ee00b607d0ebd9f54867c95cbc321c47129e272 SHA256 f8e35bfeb14010ddd2c372fc5a9ae2ce0c72aa67bd452b2ccd12368f31c28818 DIST TwistedCore-10.0.0.tar.bz2 1278918 RMD160 8d0e3e12fa6f8a10c674c503cfa29eb39a6be25b SHA1 c6fe0f57819d40c1b635b18e87bb93846b5cbb31 SHA256 e0bd3d1d2fd582392ca05363f9d4ec5bee21f4cb375df40c61ddfd21755d2786 DIST TwistedCore-10.1.0.tar.bz2 1338502 RMD160 64bccb548fcf29b74d0b0b531200db41769b843b SHA1 472a85f8f262bb46978d1249a115dd919fd754df SHA256 0df2eae62d85432e52c6bd2605b3998ef83b7b84f2bcb14e1ef5510187e76089 +DIST TwistedCore-10.2.0.tar.bz2 1359631 RMD160 87b9ec3ca3e06e0a4421c603c9f56437aa2c2400 SHA1 d0dfd2ec562496e32fb3a64cde31647294683af3 SHA256 38e4fa66713a3cb3eae052c5183e492aa4b363e00ffad2af91bf99c0cad538f6 DIST TwistedCore-8.2.0.tar.bz2 1205654 RMD160 7162be0d4f131e2e8379ba4330b0ff8978a6530c SHA1 0c4f24c661316a650ed1493d2c6a9ace6c10fd27 SHA256 481e8ea4b05b482aa1396ca3ad09fac6086acddfd57eed7bb63e1385717adde4 DIST TwistedCore-9.0.0.tar.bz2 1270053 RMD160 c71864bf174d4eaabfa1df2b579d6598ae8fe1a7 SHA1 6966ce9f481fccc6a8abfeec144314ba70e29b1c SHA256 6e71eeecf5c4fa5fd4ae1b2a3f907da69d62897eda02d23135ccf0ea36a2958e EBUILD twisted-10.0.0.ebuild 3869 RMD160 24db167466ce216dbb76d0eb57f8d920842a61fe SHA1 2f0520bc5d34bdd04ccf9e5aa820ff9241a92d97 SHA256 007161cd8112dd1c9b6e49ccdbae614a621fdc3014cdd99b8b71331ada3e0ca5 EBUILD twisted-10.1.0.ebuild 3238 RMD160 56f749ae887e223d8ba8f0bbc7869295da363867 SHA1 511bf15e860218e8301664afda6b49f8d99d4cdd SHA256 6102d06bd5d9d1a03d4a42d0c58f486c1323efd04658712a4236946bcbb7f1f7 +EBUILD twisted-10.2.0.ebuild 3254 RMD160 3d71a259bfdfdfea53f359ffcbd48b557561cefa SHA1 f41a2691cbc74481dbe2d283272996f54e26aaae SHA256 698596624cd0c47f8d4e3ff4e8b772258ccba4bb7f9bfb4944cf0957aeb6f703 EBUILD twisted-8.2.0-r2.ebuild 3534 RMD160 58c82cff4e179255cb9dfe69474a07a32fd77fbd SHA1 17d422a1da003d43f5f31bc1850420381d1430a8 SHA256 74df451cccec426eededa1fc731173ad90a2ff331e616dc3d220a8caaba24498 EBUILD twisted-9.0.0-r1.ebuild 3843 RMD160 9b8b196f0cddee361fed867fd802248e89a656f5 SHA1 ddaeb9b9c7800d758c8b7420c965c6cfc5d5e639 SHA256 e947a7923d906e0fe8a47d3f9d07aa9a64a194032557d5d80fe52df872fe6d52 -MISC ChangeLog 21925 RMD160 b18465eea20fde5b5d709b4c72e4367718564bb0 SHA1 3176a2e41b23581693e04f4b20355db9ac5da29e SHA256 e0c03508c799f9cb6d9750c8b942868e2a1995198d74ff6a04c0d7a682baee65 +MISC ChangeLog 22077 RMD160 bc4b7b6a03c46374aa14f44f0984d84bc4da06d7 SHA1 e40fab2a803f492e9bacc8809ca41678790cdff6 SHA256 87c10e5e07bf4b7351fb468d5c0ee59ba10c490f728df586b022184a19ba1943 MISC metadata.xml 516 RMD160 3603e0b110b1486ed5c02ec37ccee6712e2098c8 SHA1 3fe53dc137c9bd5437e8f6fb1d397491f5e9281e SHA256 702ffca7fc318ecb382067e3bccf620bebd7da614430ea82de24445b9f75524c diff --git a/dev-python/twisted/twisted-10.2.0.ebuild b/dev-python/twisted/twisted-10.2.0.ebuild new file mode 100644 index 000000000000..834db3cc9382 --- /dev/null +++ b/dev-python/twisted/twisted-10.2.0.ebuild @@ -0,0 +1,98 @@ +# 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.2.0.ebuild,v 1.1 2010/12/22 21:27:59 arfrever Exp $ + +EAPI="3" +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" +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 +} |