diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-05-13 20:29:16 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-05-13 20:29:16 +0000 |
commit | dc5d08d414d554b863c92f5d2442ec3d6eb617d8 (patch) | |
tree | 835edd47507865b5eb16a8c036c7197a4981d446 /dev-python/twisted | |
parent | Initial commit. (diff) | |
download | historical-dc5d08d414d554b863c92f5d2442ec3d6eb617d8.tar.gz historical-dc5d08d414d554b863c92f5d2442ec3d6eb617d8.tar.bz2 historical-dc5d08d414d554b863c92f5d2442ec3d6eb617d8.zip |
Version bump.
Package-Manager: portage-2.1.5_rc10
Diffstat (limited to 'dev-python/twisted')
-rw-r--r-- | dev-python/twisted/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/twisted/Manifest | 12 | ||||
-rw-r--r-- | dev-python/twisted/twisted-8.0.1.ebuild | 108 |
3 files changed, 121 insertions, 6 deletions
diff --git a/dev-python/twisted/ChangeLog b/dev-python/twisted/ChangeLog index 59af78bc7cfe..0f3c8ca070bb 100644 --- a/dev-python/twisted/ChangeLog +++ b/dev-python/twisted/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/twisted # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.88 2008/03/12 18:19:07 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.89 2008/05/13 20:29:16 hawking Exp $ + +*twisted-8.0.1 (13 May 2008) + + 13 May 2008; Ali Polatel <hawking@gentoo.org> +twisted-8.0.1.ebuild: + Version bump. 12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml: Removing Marien Zwart (marienz, #107204) from metadata.xml. diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest index bfc115dcd86e..a0c0ad28dc19 100644 --- a/dev-python/twisted/Manifest +++ b/dev-python/twisted/Manifest @@ -13,6 +13,7 @@ DIST Twisted-2.1.0.tar.bz2 1078044 RMD160 d4048661396c25392b048ed2b74200757b1e63 DIST Twisted-2.2.0.tar.bz2 1285316 RMD160 c11353da93878721c8549a0594363b9d8ee38e12 SHA1 fcce114624dfde91bc1c2358f905d3170e72ad6a SHA256 537ec738c23ced2ec4a9b7f7124c2cd9bded1308331442ced0f3de7cd7562387 DIST TwistedCore-2.4.0.tar.bz2 1213389 RMD160 2ee341412675d2ef4582ae595adf49ce254eb88b SHA1 7e1f767999120ec65570a4e5ecd746e4de00d3ba SHA256 114f8ecf2625916f6cd65099d4321243f2b56704dddb0c96b30f6b991db484d2 DIST TwistedCore-2.5.0.tar.bz2 2049409 RMD160 b2abe479286ef903054b182c6d408c8f3e5aad86 SHA1 23d945c2fb473008f51fbb87af5616344721afba SHA256 3404a92012734d527a7b2029ce6f588bbc02b27904760819b2ce86f81bcddaab +DIST TwistedCore-8.0.1.tar.bz2 1180238 RMD160 06e4068469d579404bdf46647a6236afbf405148 SHA1 eebd94a52d0241d03b2b92c9f73530093072a861 SHA256 9033cd12455f4d4dd8b7542238ef42998b0bed409f1aeab4a1ad5c417744e45c DIST Twisted_NoDocs-1.2.0.tar.bz2 1281868 RMD160 f64a258a5c767c288cf39554471c4f37c4bed136 SHA1 6325d162a17e4527b60e1fcdcbf1c0c5dbd076f6 SHA256 b9245d8c5d4f0df35a20bfefd01db3c9edd6dd814e4c69481a50f59907d25fe1 DIST Twisted_NoDocs-1.3.0.tar.bz2 1545890 RMD160 9b9d8c9667ef3e68118b7509d2c5991285c3a4b9 SHA1 fb4404c588efbe3b3cee24a7fd9bf2cd875b4d2e SHA256 bef1611e10a7493647b668dfff9095754a8881b4ac9364c098ca025820b48aef EBUILD twisted-1.2.0.ebuild 996 RMD160 5194d400fa176184e37961c54d727191c3ec08dc SHA1 25d5c4d348b8715adaaf237892a4cf0510fbb625 SHA256 800994ba7f45c4b98f248b7ccdec4b0625bfd4314c88fd8897132d8e93758d0d @@ -22,12 +23,13 @@ EBUILD twisted-2.1.0.ebuild 3185 RMD160 42052c2d4acaae8f3b7764ac543611a6501d86ae EBUILD twisted-2.2.0.ebuild 3190 RMD160 3769541ef6c2e45e4a408c9fd0737606ccb1dd27 SHA1 def61197602465720c80df8ff2e004d2c33ed925 SHA256 8e3bf6445430a6b046350ef379971f69d7c6b0ad554fb645c6695e57a4d65bf3 EBUILD twisted-2.4.0.ebuild 3308 RMD160 5f77c9e20c21eae5e2ebd932d0cbcf58f255b3f7 SHA1 78d2932fe306f068c63db8f6473c286223d1d957 SHA256 d92714ae8e1a66480f1c5d315337f6bb8c55004090d0ff1d727771c4c9ba5008 EBUILD twisted-2.5.0.ebuild 3218 RMD160 2a658adf83b150d32e8b61d69b03a0ed6565eb81 SHA1 81e037487e6e6f2f5f370c15658f5f269fea51c7 SHA256 7a66f03eeb9900eaf8d659cf2a32639f18688516c95625aba9b9a9cd213b1299 -MISC ChangeLog 15559 RMD160 e0b299e681c92b1429ece4e2bf4fe52dc5d0ba47 SHA1 b63379a8ae8dc8c46bb0f42783af43395f4fa9fd SHA256 42c42478388e6267391619885675f18e63f5f277ed3d9346d3398e7a408847fa +EBUILD twisted-8.0.1.ebuild 3214 RMD160 b9c3a362cc0aa375f724883afb0d08363b841ad2 SHA1 f3583147504d9a159c9c93107bba6792e8c6f252 SHA256 77c7c0878d9b66c5e8083b2b71895c1ae58e310fae842949bfe71912dd8a7f7d +MISC ChangeLog 15678 RMD160 01cb53e9dee0e3d64ba370dd15d634c8bed89424 SHA1 e59d39583b8d5dabf04e2d86d645f3a21ce0562d SHA256 04af55b22b624165b683b976819c2766ab90d638038ceb1bacdda9b99bec8b19 MISC metadata.xml 444 RMD160 0c3efd5527a47e660adfbb5aa7c9e4b3cf407eb6 SHA1 a891b253b5f761194bd82e9f6c086ef05c7af0e4 SHA256 17e24b80f75c35c6e1bba827d2b7816f2507b413f6506709a0579d283570cc04 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.7 (GNU/Linux) +Version: GnuPG v2.0.9 (GNU/Linux) -iD8DBQFH2B6hyuNVb5qfaOYRAspUAJ90EzCh+iLGP9vDLuycK8X8Ip/2QQCeLSw4 -LT7vNbTBPTrnuf/rDcqMr6o= -=uxPl +iEYEARECAAYFAkgp+iIACgkQQU4yORhF8iCuhgCgyQY+spf8wWEO4IxG2RASKWGZ +yOIAoKon2QgGLgi7jyG/ThZr5o9sbSYz +=KZnM -----END PGP SIGNATURE----- diff --git a/dev-python/twisted/twisted-8.0.1.ebuild b/dev-python/twisted/twisted-8.0.1.ebuild new file mode 100644 index 000000000000..83feac5319bc --- /dev/null +++ b/dev-python/twisted/twisted-8.0.1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-8.0.1.ebuild,v 1.1 2008/05/13 20:29:16 hawking Exp $ + +inherit eutils distutils versionator + +MY_P=TwistedCore-${PV} + +DESCRIPTION="An asynchronous networking framework written in Python" +HOMEPAGE="http://www.twistedmatrix.com/" +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="gtk serial crypt" + +DEPEND=">=dev-lang/python-2.3 + >=net-zope/zopeinterface-3.0.1 + serial? ( dev-python/pyserial ) + crypt? ( >=dev-python/pyopenssl-0.5.1 ) + gtk? ( >=dev-python/pygtk-1.99 ) + !dev-python/twisted-docs" + +S=${WORKDIR}/${MY_P} + +DOCS="CREDITS INSTALL NEWS README" + +src_unpack() { + unpack ${A} + cd "${S}" + + # 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" +} + +src_install() { + distutils_src_install + + # get rid of this to prevent collision-protect from killing us. it + # is regenerated in pkg_postinst. + rm "${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) + + # workaround for a possible portage bug + mkdir -p "${D}/etc/conf.d/" + 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() { + python_version + local tpath="${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/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 + update_plugin_cache +} + +pkg_postrm() { + distutils_pkg_postrm + update_plugin_cache +} + +src_test() { + python_version + + if has_version ">=dev-lang/python-2.3"; then + "${python}" setup.py install --root="${T}/tests" --no-compile || die + else + "${python}" setup.py install --root="${T}/tests" || die + fi + + cd "${T}/tests/usr/$(get_libdir)/python${PYVER}/site-packages/" || die + + # prevent it from pulling in plugins from already installed + # twisted packages + rm twisted/plugins/__init__.py || die + + # 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" + cd "${S}" + rm -rf "${T}/tests" +} |