diff options
author | Patrick Lauer <patrick@gentoo.org> | 2014-11-18 03:25:37 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2014-11-18 03:25:37 +0000 |
commit | 88864f844cea8f0ec9993170054cc8b7f2ad161d (patch) | |
tree | 79a2c73baf8f1bd0130f3aecef19839b7fc43a88 /dev-python/twisted-core | |
parent | fix for bug #513852, kernel checks should not be fatal (diff) | |
download | historical-88864f844cea8f0ec9993170054cc8b7f2ad161d.tar.gz historical-88864f844cea8f0ec9993170054cc8b7f2ad161d.tar.bz2 historical-88864f844cea8f0ec9993170054cc8b7f2ad161d.zip |
Bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'dev-python/twisted-core')
-rw-r--r-- | dev-python/twisted-core/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/twisted-core/Manifest | 14 | ||||
-rw-r--r-- | dev-python/twisted-core/twisted-core-14.0.2.ebuild | 127 |
3 files changed, 136 insertions, 12 deletions
diff --git a/dev-python/twisted-core/ChangeLog b/dev-python/twisted-core/ChangeLog index 51e167bdaff7..eac1c2f80277 100644 --- a/dev-python/twisted-core/ChangeLog +++ b/dev-python/twisted-core/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/twisted-core # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.38 2014/11/12 12:19:27 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.39 2014/11/18 03:19:34 patrick Exp $ + +*twisted-core-14.0.2 (18 Nov 2014) + + 18 Nov 2014; Patrick Lauer <patrick@gentoo.org> +twisted-core-14.0.2.ebuild: + Bump 12 Nov 2014; Jeroen Roovers <jer@gentoo.org> twisted-core-14.0.1.ebuild: Marked ~hppa (bug #528896). diff --git a/dev-python/twisted-core/Manifest b/dev-python/twisted-core/Manifest index 324ae4e77718..244093f55de1 100644 --- a/dev-python/twisted-core/Manifest +++ b/dev-python/twisted-core/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX twistd.conf 277 SHA256 aa2ffa5b128973bc0c58a1251b8bbb56f6f890728bc902805ea2db7606416119 SHA512 76d44caebab8404f16937c2515ad9ae8236732a48c7127366f7fa22c6ed3d88ace2d33b832a6d95f775973d41b7caf75344805fe5b01e964c04eb710bf3c89fb WHIRLPOOL 89223406ed730b82c5bf7b8d62bd0f12dbe1a1ab0ac69943fb0192970ea98870d369397a0dccbf0952d9e44abfaf2e897063c6e398efc6b4a7050fbf01593289 AUX twistd.init 562 SHA256 043e426b3ba25b0d1cfb4a04122f8e17b0890fed2b1adde79f35d4d31be87d09 SHA512 8e348df0e925b3566e364b566b2b8eef03273fe0914d11a29e464e28b13fef58cc3e7ce765f3135b393cd2eab36e9cd2277f57ddd04699e216222b093cc38011 WHIRLPOOL 0479a0346130c0a65497e47b395fb42a426c20cb0da488354f7caf00519cc21b4d4f689b4884b4f0901d13f8718bd3cfddc0b21400d4de10481e44990bd13953 AUX twisted-core-12.0.0-fix-test-timeFormatting.patch 850 SHA256 90ff427a74a6b88fcd617795ef21ecc6732e1a3e245a70e13d8993f333e11664 SHA512 3fa895bd3bce5585834880b9d961b2e9d00538756bde37eb7d62459e75287372af6fecb3e60f6dcab3683893403b5068fd8d0d8f7126b069b1b9e9512fcad966 WHIRLPOOL ef6e388c5a124539c99b708d69cb7a32409a1b4a887f189a572c8f4f47abfbb6b83b123fe237eec5f01121542884d1b5ee14c19c08effeee5403736ecd2a6b02 @@ -13,6 +10,7 @@ DIST TwistedCore-13.0.0.tar.bz2 1495753 SHA256 989706fd39c8a28785bdecaa0145b81f7 DIST TwistedCore-13.2.0.tar.bz2 1496299 SHA256 396ee27f0e824772bf26c636c69c2751127738127e283112e72c2de6c28e36be SHA512 90cf2019f0d5b125c7bbb5a9e3e7d2dedcd8efd5f9b2ab057e0b41f899d394b995fe599128223c82b1a634fb881ad7ae8ddc5b86b26adb28a3834c05da45f2c6 WHIRLPOOL 21a90a98b36775db4e6154c30ea697ef53f4b94a30e1be125e420019d5200cbbf31178937c41b12ffb841b028875dbc6b1234cebf8036f4165d2908c431a6de4 DIST TwistedCore-14.0.0.tar.bz2 1126188 SHA256 41fde42b917ea91c74e9ad15ae45a8104de156bcb32e7bb6a2dfa6c68141a72e SHA512 71294a10fb574d1794b730f11f89a689445ff13cf5553140dbbe049a03afe744bcc342cbff60b6d74714575bf840814fcddb0a7c94f5def1987966e0f1238704 WHIRLPOOL 1c68af280d33d0f6ce431a18f87bfa4f679aeab7f6217b388e8f7c7cb78d1b5e4587f3d3f02ccc0b7f87f6dc359c35aa15b0ee58f86385637a5d2236e7563c39 DIST TwistedCore-14.0.1.tar.bz2 1126214 SHA256 4d80bb277bff34266fb03989d89f721ae41edfc755f4c0481813c04a759f16dc SHA512 44ef2e66636da1f7c6497cf1a4bacfdfdffd276e5b0f99b22c70f74a016de6f88a263fc549db3f04e09e86142514955bc79662760148680fb8ec823720a57a41 WHIRLPOOL ccd1acaf7f732d02b4fd45ca8285b8bbbcd3066176280b929a65879b4530f5158db8134296a35ffe565d2a8b72299ecf93329752bf5b409b60313a930cb1d876 +DIST TwistedCore-14.0.2.tar.bz2 1125732 SHA256 3d16cc6f432ecda1cc335b9a99592ee18d7eb8650e95d5f17895ab4e5e3a4ff8 SHA512 a361f5c9205eca3eda9bf222ed1894e1c55ff937e9950c0cfca193310a165486abffee529740c2c3cc0231c4ccba4d324e2ec7ef5d1aaa9516960b01e2e81ed9 WHIRLPOOL be3b1f70e616c48944741395e8c22240ea05d7f9c823b3b58ff9bebbe1d7293d0fb054b4820e19873aa1feb8d2c1e19fb84be1f632466b2c1d951900d1705d0b EBUILD twisted-core-12.3.0-r1.ebuild 3514 SHA256 69d95cdf6434819babd1c5d611820131beb823d2fc04078692a29f5f856170bc SHA512 b88f6282e11587f66f9af582242371ba961e38cd06e6a20ceb6659497a52b17610efb44550a7cc2ae79b9d5a8692b390bbafd20d72e883d3a929dbcd839d2de7 WHIRLPOOL 7368d38449cdeac78b177e6a74008f577683f8dc652a6196424c7cddf51a2db9adb591ca83514fbbe2836ca7e83834e5f46dffbee7da70d0d54ffdc8474542b3 EBUILD twisted-core-12.3.0.ebuild 4053 SHA256 1c301699804e7adfe22714a0531e0827a4dd30af3167bcfcce13683b60cb3f49 SHA512 63bcb8d39f79ebe8681c5523f046c1bb791ef651a057446f65f3d8f1249814a1634d07b0e055e805e0d8cee2f24fb0ee3a28df83eed025aa77103c3a059535cc WHIRLPOOL 6461c2350bf5cfe54567df082354dc0323147082b77fc049ac32ed834fcf89824972f926493d425ca3e5a3c7da38c2e02d10b0b53bca8dbbeb5f969966eae78a EBUILD twisted-core-13.0.0-r3.ebuild 3360 SHA256 77fe03bc1b8e335684dcf85fe8f7a6c7f042a2b1ac963d00247d27b2ba13c661 SHA512 265ed7ea42e09ee280515ee61070fc0206a1df46587c09430d2577b448266c99d1df7187f164a872e5392bd6f9c71121b76eafabd540809c28c0e18ca7d0288a WHIRLPOOL f6d068a5a32b4bfdb03903791105adfc2f3af2b0bd66a7622b54c596bd7b1ac6d996d56d479b1d609584c1236c8b734d1dbeea96f1b2acc47eff66a59bd0aa8e @@ -20,12 +18,6 @@ EBUILD twisted-core-13.0.0.ebuild 4064 SHA256 ca54cd79eeacf2a7c7c4eb1452d9521192 EBUILD twisted-core-13.2.0.ebuild 3698 SHA256 4efc2fb7e66e669d08dcdf799c11008eacb463475270636ed93ab38fccbaf580 SHA512 60f9373e83225a32b5762f0e02992b14dace6d91b2619a218b5907239f9a117ae517fd548397791d0ba54a11651d54aa8dc687370c54a8b492263911352adc60 WHIRLPOOL 307143e61caa8ff8622f6abb7d2b6f6f31bc596a1f4d3effcbccf0a878e838ec374329841b0255ca0612fd2de22e89f59e011faacfa65820269ba66b9fdb9421 EBUILD twisted-core-14.0.0.ebuild 4191 SHA256 5115a9c85be6f07b583540bd214e43b187d87f1da6dd2646c308b203ea3ae641 SHA512 23197e90cfe43439f510aab5f65bfe25435365ce15cdc4a9679bcfa1f4e618f0be5752300c2ee24989af0962a840561efdef0adf1f9fba907f3b0aaee68c952b WHIRLPOOL f6d1df77fbb0acd186e0de05e7bc077de7a9205b31c24261b9440f44c93d022e3346d95aefa2d9f8cc6b2ec8b9a7333a83c9fa1aa4cfac041c46bef3abad04bb EBUILD twisted-core-14.0.1.ebuild 4344 SHA256 ba1a1bb2d0889f2f8ae83e5b1425fa11ddab4cdd25d7dd4a5822b419feb443a6 SHA512 eea5a89fba8fadfca6e66d5011d5d0c64b7daddc7633eff7f4ec09d30f36d6d7b805a2b27ba360f26176591b097f7e41efbdc051b3250a78e9504244e6f7bc0d WHIRLPOOL baba674edd3b311c2cf21d46560c4d33e5afe0f3355a05e2843d11db9d97c3d4d19b71346565b6e3f900f608860b727b2b8b8e2386e30b68fb234e9b2487e307 -MISC ChangeLog 30372 SHA256 04b30fbd1492b46517001f8b5d05f2c88196fb4d73b67dd4999d9df98867363f SHA512 abd35cb6baac2b0177ce593eed2214203172686b58d4e7c35b83d51de2311b51cd77199ac8cc1b0516b3bb34547db567d14c2c22ffddcf27dff340ccf28751c8 WHIRLPOOL 91686f97756766b49ddd1a60acee45cc9f6d1c5d6edaa65a0efa02b330599e80f3931d21d6fde12c68a6c28778a191ba96263f1a40d697136faff736b9106d50 +EBUILD twisted-core-14.0.2.ebuild 4348 SHA256 254dae13dc0302fa19fef31d42d2e9b76142a1740017bf1343bd77ebdb7da013 SHA512 5060dc0d88aab26f6c86c26653c90471435c791b5e005b59ff40f7d96db6bc1beb91229d4772e3e73e3526b1d537823971696fae054e607d7f59f3dee80300ff WHIRLPOOL ff732fb0e21d12765224620a5831f45d0eb0866007bba77e9824fa3072764d67a74a75f5a8051ed365290dfea2ae716526193b1b68e3587ea9eba6042f3796f4 +MISC ChangeLog 30499 SHA256 371dc089e3dbb1d41e27d2aaf2f72e159664abcf947491a5dfd21719623f159c SHA512 7ce933ef4d50852b9c28dfb8cdccbe7e7dd26253dbe62e262b23dfa0e2cffc46cd6496415841160589920737408d0ef547a94a4ab6a69afcfa47c4283827c906 WHIRLPOOL 856f635519c96716cc6a41aa15c1348d10e64a6ddaf6da069e34b020355149410a4748beb2a99994dabef8ea9910ddfb5b451abbecf037f2135ab2b31356a047 MISC metadata.xml 516 SHA256 702ffca7fc318ecb382067e3bccf620bebd7da614430ea82de24445b9f75524c SHA512 7ade57c91b31b32af447632af4d7d8dfb33ebb21cc507b4dad0e3d51c31a45933d33418326ed65584dfcebced63ba4a365bccd84876321ce78a1b62493ae9e01 WHIRLPOOL 1bfd6c2e9e9bcf8f927dc29a720a0d7d2fe8dfe5b475a57da87cff21f8a5aa51c730941898f3348e85f763504ffd999b1e94413921d39f0d5161e3c23ad43507 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iEYEAREIAAYFAlRjUFAACgkQVWmRsqeSphN68QCfZ3Qzv5pjobUde0KFubFALQh0 -5fMAnidcjTw5vZGGqCcarEjrf9xqPUVQ -=UVL9 ------END PGP SIGNATURE----- diff --git a/dev-python/twisted-core/twisted-core-14.0.2.ebuild b/dev-python/twisted-core/twisted-core-14.0.2.ebuild new file mode 100644 index 000000000000..2bd35afeb65f --- /dev/null +++ b/dev-python/twisted-core/twisted-core-14.0.2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.2.ebuild,v 1.1 2014/11/18 03:19:34 patrick Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic twisted-r1 + +DESCRIPTION="An asynchronous networking framework written in Python" + +KEYWORDS="~amd64 ~arm ~hppa ~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 test" + +RDEPEND=">=net-zope/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} )" + +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() { + local CFLAGS CXXFLAGS + + if ! python_is_python3; then + # Needed to make the sendmsg extension work + # (see http://twistedmatrix.com/trac/ticket/5701 ) + append-flags -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 +} |