diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/twisted-core | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/twisted-core')
9 files changed, 0 insertions, 340 deletions
diff --git a/dev-python/twisted-core/Manifest b/dev-python/twisted-core/Manifest deleted file mode 100644 index 0e499563901e..000000000000 --- a/dev-python/twisted-core/Manifest +++ /dev/null @@ -1,10 +0,0 @@ -AUX twistd.conf 277 BLAKE2B 78ca35b410a6597c9afe6a9c8d3dfb1de113411634901f936794e8a59c0644233d0673e710bd0870ecf4312d079c46f62f43928605700559134f1fb62490559a SHA512 76d44caebab8404f16937c2515ad9ae8236732a48c7127366f7fa22c6ed3d88ace2d33b832a6d95f775973d41b7caf75344805fe5b01e964c04eb710bf3c89fb -AUX twistd.init 563 BLAKE2B 24488118b025bf2068bbf07af900064ff6a7ee99106c3da30f15f2b3f85af7443212afebc6b52a12645488b85656f87b653df9263fc2be6bd09707917899f252 SHA512 7860601beba1efda2b0a045b2a044ec33caff9ee915d45225c05e281760a68da349b4c45080600177aab32aa806714327acf3cf5dda92be0874f781f129bb129 -AUX twisted-core-12.1.0-remove-tests-conch-dependency.patch 459 BLAKE2B c6657e1840e532ac9eda3bb15035c755bbfca8b80dd93cb8cedfa8e549c8631b7354970cb478903a99bda69af59027baa79d9ca276aec8408b2957df1cd8757c SHA512 bb68becc92aabb539658b0435f12c03612fc825eee1d1b63873d008f1b8fd18806d3dc00987931aae4e3cc86e5f57b94c17e1c1227f1019e17bbce9930f919d9 -AUX twisted-core-2.1.0-echo-less.patch 269 BLAKE2B b4f68663c7485a9ac247415aede69599023475db9ba2c2e0a186448969d50dcc5e26fce56f5906e9555b7469990d7aefb4b39b52e9e5f775ba4e985312a32ac4 SHA512 74e8ab5de6545a09159cbaeae63688e0bb3fe1bf7c78fc14945cef0c8d017ee5157fdf41e0730bdf2bb47d2405978fffea1c2c6c660e3838a659b523e6ef0f2d -AUX twisted-core-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch 419 BLAKE2B 674b63a74ed134596d21d384737fb510f4a26f6c4770c1feb7a612901c8b7bebf9f8e2cbaf9bd6e18a1c7e11f24d47e0b32b2ea15204cb37ee70d5b1625bb9ef SHA512 b77cdc6f7df5a283075f1bde7f974482cb5c5f49c9189b0f3fc3a39da18fbb7ade30a115cd76cc4241d5bc8727994cfcc1e96aaa835c68f753b6ac3523438a63 -DIST TwistedCore-13.2.0.tar.bz2 1496299 BLAKE2B a7034a23c4ad890a8591e7ef1de1c3ba1dc486ac6f3d1987cfc280756323d3e968a913bc4291ef8dede295a12c02b8e166a27f665ce7f4a1c536e6e7a6991e53 SHA512 90cf2019f0d5b125c7bbb5a9e3e7d2dedcd8efd5f9b2ab057e0b41f899d394b995fe599128223c82b1a634fb881ad7ae8ddc5b86b26adb28a3834c05da45f2c6 -DIST TwistedCore-15.2.1.tar.bz2 1179442 BLAKE2B 39c9d3646fbd31225dca1a4888ee177c9547b7a9809c57e2e9577c90c02f2b64e74cfa3b8410513b7645312d39ebb292fdc8dced26a9dd29abe95dad24a8b870 SHA512 c5923d71903afac7dec15d130ff3bd247dc1a6cdeb35cc642912a43f1e5640088971ddfc7abe3e18ca1853e59ba6a417d4b465fb422aba1a052bc156d7c6e820 -EBUILD twisted-core-13.2.0.ebuild 3633 BLAKE2B f282cc5600a587079e78318834337b236f8a3b611f0fdb899a5b5be4bb81034f17b08de99b066866e795a02ddee1ed7184ff990f2febdef5fea43ec3339cf567 SHA512 8fe6f175dcccaf82e92e2d2a056cb75cff245d8b62ddae54bdfb3eb953ea6156e0b2cd63c0e6f56139f2e4a9a04bf545268931834a2698f1e3cf88e784929399 -EBUILD twisted-core-15.2.1.ebuild 4115 BLAKE2B ccc5b08004f39dbb5cca6bb1c9cf457c773e3715a2f844c11ac5890b8a1724085cb34d160bb0e2b52b08bbaca70244c8368db8570bbbd0e11ed9db141dc8ff04 SHA512 42b95e762cf11f692b30a46c25c2e5e3017d51ae85b3e5b2733143969e3a6118a9f0657ca1dbad751646d653312cc329f7ac5dfebd1c7b6c6f79ef8cb7fad602 -MISC metadata.xml 596 BLAKE2B bbf2d93b3f599494e0913ae0068a5aaf6d0c972959eb5fa80231f247fd4988515aefd978d25d023ea6a66a9edf036a794599088931dd098223fa9951c567dda8 SHA512 acb4690541dd747cbee28993ec56a422149ef02150505b4b1ee1ab0418745dd074344a8cb2d3dfc76f7027229f921e8eb25738bfe4b829243dc4530c96a41440 diff --git a/dev-python/twisted-core/files/twistd.conf b/dev-python/twisted-core/files/twistd.conf deleted file mode 100644 index 53788cd0017e..000000000000 --- a/dev-python/twisted-core/files/twistd.conf +++ /dev/null @@ -1,7 +0,0 @@ - -# These are passed to twistd. -# TWISTD_OPTS="--no_save --logfile=/var/log/twistd -y /etc/twistd.tac" -# TWISTD_OPTS="--no_save --logfile=/var/log/twistd -f /etc/twistd.tap" - -# Make any additions to PYTHONPATH the twistd needs here. -# PYTHONPATH="/path/to/extra/python/modules" diff --git a/dev-python/twisted-core/files/twistd.init b/dev-python/twisted-core/files/twistd.init deleted file mode 100644 index b031b0020c6e..000000000000 --- a/dev-python/twisted-core/files/twistd.init +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/openrc-run - -depend() { - need net -} - -start() { - if [ -z "${TWISTD_OPTS}" ]; then - eerror "TWISTD_OPTS is not set!" - eerror "You need to configure twistd in /etc/conf.d/twistd." - return 1 - fi - export PYTHONPATH - ebegin "Starting twistd" - start-stop-daemon --start --quiet --pidfile /var/run/twistd.pid \ - --exec /usr/bin/twistd -- --pidfile /var/run/twistd.pid \ - ${TWISTD_OPTS} - eend $? "Failed to start twistd" -} - -stop() { - ebegin "Stopping twistd" - start-stop-daemon --stop --quiet --pidfile /var/run/twistd.pid - eend $? "Failed to stop twistd" -} diff --git a/dev-python/twisted-core/files/twisted-core-12.1.0-remove-tests-conch-dependency.patch b/dev-python/twisted-core/files/twisted-core-12.1.0-remove-tests-conch-dependency.patch deleted file mode 100644 index db2e2454bbc6..000000000000 --- a/dev-python/twisted-core/files/twisted-core-12.1.0-remove-tests-conch-dependency.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: twisted/test/test_strcred.py -=================================================================== ---- twisted/test/test_strcred.py (revision 34525) -+++ twisted/test/test_strcred.py (working copy) -@@ -352,6 +352,10 @@ - except ImportError: - skip = "PyCrypto is not available" - -+ try: -+ from twisted import conch -+ except ImportError: -+ skip = "Twisted Conch is not available" - - def test_isChecker(self): - """ diff --git a/dev-python/twisted-core/files/twisted-core-2.1.0-echo-less.patch b/dev-python/twisted-core/files/twisted-core-2.1.0-echo-less.patch deleted file mode 100644 index c180a111021d..000000000000 --- a/dev-python/twisted-core/files/twisted-core-2.1.0-echo-less.patch +++ /dev/null @@ -1,13 +0,0 @@ -=== modified file 'twisted/test/test_process.py' ---- twisted/test/test_process.py -+++ twisted/test/test_process.py -@@ -76,7 +76,7 @@ - - class EchoProtocol(protocol.ProcessProtocol): - -- s = "1234567" * 1001 -+ s = "1234567" * 11 - n = 10 - finished = 0 - - diff --git a/dev-python/twisted-core/files/twisted-core-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch b/dev-python/twisted-core/files/twisted-core-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch deleted file mode 100644 index 2fe22f1640b1..000000000000 --- a/dev-python/twisted-core/files/twisted-core-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- twisted/plugin.py -+++ twisted/plugin.py -@@ -174,7 +174,7 @@ - if pluginKey not in existingKeys: - del dropinDotCache[pluginKey] - needsWrite = True -- if needsWrite: -+ if needsWrite and os.environ.get("TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE") is None: - try: - dropinPath.setContent(pickle.dumps(dropinDotCache)) - except: diff --git a/dev-python/twisted-core/metadata.xml b/dev-python/twisted-core/metadata.xml deleted file mode 100644 index 28680e22a671..000000000000 --- a/dev-python/twisted-core/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <use> - <flag name="serial">include serial port support</flag> - </use> - <longdescription> - Twisted is an asynchronous networking framework written in Python, - supporting TCP, UDP, multicast, SSL/TLS, serial communication and - more. It is used by most of the servers, clients and protocols that - are part of other Twisted projects. - </longdescription> -</pkgmetadata> diff --git a/dev-python/twisted-core/twisted-core-13.2.0.ebuild b/dev-python/twisted-core/twisted-core-13.2.0.ebuild deleted file mode 100644 index 20bace99b07e..000000000000 --- a/dev-python/twisted-core/twisted-core-13.2.0.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads(+)" - -inherit eutils flag-o-matic twisted-r1 - -DESCRIPTION="An asynchronous networking framework written in Python" - -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="crypt gtk serial" - -DEPEND=" - >=dev-python/zope-interface-3.6.0[${PYTHON_USEDEP}] - crypt? ( >=dev-python/pyopenssl-0.10[${PYTHON_USEDEP}] ) - gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] ) - serial? ( dev-python/pyserial[${PYTHON_USEDEP}] )" -RDEPEND="${DEPEND} - !dev-python/twisted -" - -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() { - if ! python_is_python3; then - # Needed to make the sendmsg extension work - # (see http://twistedmatrix.com/trac/ticket/5701 ) - - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" - fi - - distutils-r1_python_compile -} - -python_test() { - # NOTE: on pypy a couple of failures (refcounting, version-checking) is - # expected - - 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" - - # tap2rpm is already skipped if rpm is not installed, but fails for me on a Gentoo box with it present. - # I currently lack the cycles to track this failure down. - rm twisted/scripts/test/test_tap2rpm.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 doc strings in all packages. - echo "'''plugins stub'''" > twisted/plugins/__init__.py || die - - # https://twistedmatrix.com/trac/ticket/6920 - 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 creating a cric. dep - rm -f twisted/python/test/test_release.py || die - - # Requires connection to the network - sed -e 's:test_multiListen:_&:' -i twisted/test/test_udp.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 -} diff --git a/dev-python/twisted-core/twisted-core-15.2.1.ebuild b/dev-python/twisted-core/twisted-core-15.2.1.ebuild deleted file mode 100644 index 293fce0e0215..000000000000 --- a/dev-python/twisted-core/twisted-core-15.2.1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="threads(+)" - -inherit eutils flag-o-matic twisted-r1 - -DESCRIPTION="An asynchronous networking framework written in Python" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="crypt gtk serial test" - -RDEPEND=">=dev-python/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} ) -" -RDEPEND+=" !dev-python/twisted" - -PATCHES=( - # 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() { - if ! python_is_python3; then - # Needed to make the sendmsg extension work - # (see http://twistedmatrix.com/trac/ticket/5701 ) - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - local -x CXXFLAGS="${CXXFLAGS} -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 -} |