diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyprotocols |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyprotocols')
-rw-r--r-- | dev-python/pyprotocols/Manifest | 6 | ||||
-rw-r--r-- | dev-python/pyprotocols/files/SkipTests.patch | 25 | ||||
-rw-r--r-- | dev-python/pyprotocols/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/pyprotocols/pyprotocols-1.0_pre2306-r1.ebuild | 46 |
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-python/pyprotocols/Manifest b/dev-python/pyprotocols/Manifest new file mode 100644 index 000000000000..9bc1a66317fc --- /dev/null +++ b/dev-python/pyprotocols/Manifest @@ -0,0 +1,6 @@ +AUX SkipTests.patch 619 SHA256 d091bb7656878c457fc24c0fcb4a6f8e200886bf22ec0dfdee55cf3d6b227f1f SHA512 b4f37fdcb0eb10d58813d3bfe776de9a56549f768eb974ec2a8818ca891181a1551cf8c8ee99865aade77f4aef330e617053bde58824f288a876da0beb4f8d51 WHIRLPOOL ee9a6173e981c7a9f548efc01f7487c626b3889a68e9ac883af9cac5d3a5dceaf44860097a0e4fff1e7a60a08611c8bbd6ea2ddd43d36fae8f9b0603e38b2205 +DIST PyProtocols-1.0a0dev_r2306.tar.gz 218555 SHA256 55241280fdb5c9a00e69c51e0fca2d76214d741843753f00c73bf78ea09db284 SHA512 1f18be9548ae29b6111dccd158f5706f3a1ed7074152e9ef2e0d17caaad2227d3f613b50b602b3b1d47b5db7f53e583fce4e06b3e23916ac0daf7a92bcd66ccc WHIRLPOOL 150bedb9f3f531104efb30bc7c49f1dbfbb6bdde32bb706273c8f0c2513e951fa80bf992b4f58e151185ebfaf26df70aecd5b84e1ba55cf907ee78e9c5788f65 +EBUILD pyprotocols-1.0_pre2306-r1.ebuild 1199 SHA256 d6e828ad4e64856805516631dc39fa629997f63c34121a7ab237965307d20f61 SHA512 86b0e1fd391b8ca934d5c1f1c669bba9c7f12e4f3fdd18cd70fa7f6ffa2017cca1763eb3caaf44169e8ef0307cf188e60d8f4935beaad8f3ea7a4cc71030f2c9 WHIRLPOOL 0d5702d6c579ce1d103221cf36f9661956d272d25682ff63c127b0b3552a42068823dd86cc6f97e0ea809f99b218b6da1d8f00f39d740aa7afb735289e1e9092 +MISC ChangeLog 2641 SHA256 697fb0ba0cef8d6ee77d9cc07f7d3165f228a30bfb2e0fc72c90007ccd130ffe SHA512 008be7da37b8e18b2b7c7545e648aef2eedb391dff18890c381647ce758e8aa8b24ae861e48d0015dd0a50f4f11f4bd3ba61f3d6343a9433fd260121e132ff83 WHIRLPOOL 66d0e76392c6fd59ffa2c1c8a48b683598710619bc1f429a2c770d663619ae254b232cd30d7e11302bf9ea84027616c56ceec14f4c8dddeed4ff4c999662c4fa +MISC ChangeLog-2015 4962 SHA256 816f5fff5e69deed378b81fc62d868beb25770c86cf62975e1d32fcd50d41e5d SHA512 35f19d77a63fd1c61253c0fb5fd97317370f468b0c5a5206795b3358560ac95afe9be9cfcb507ebdc5bf4592705e98b5f054563b78de696f7ee605670b7835ce WHIRLPOOL 1abb2f8ffd09bfb411c6bde8449aa2ff1b95ea4d6f0da7ff9700a6ff8346a4a35c586a0fd7b40d862c4f4506eab2275e360d59e0343a7a577bdde0d628f46f1f +MISC metadata.xml 236 SHA256 4709fa7f17a11d5eae6dd884b488d3c6eb8f85e9b63fe3684b4f234d3b9b14a9 SHA512 0f2c2a0401b53543eac90eafdd4d11c5913be07f47b968e2892ca92c265adbd9564f02a491ff2607d7031194ba3e50c7720851537341b1541120821c487147a3 WHIRLPOOL d73790bb41c2cefb5e2f7b163fc95a79b9674d9808ca34cef58fbc8c5a765023a0be285508a2e7f5f70eadc5725cf8d63553d599e4b367f52fac3374de347abb diff --git a/dev-python/pyprotocols/files/SkipTests.patch b/dev-python/pyprotocols/files/SkipTests.patch new file mode 100644 index 000000000000..293f0a2a0626 --- /dev/null +++ b/dev-python/pyprotocols/files/SkipTests.patch @@ -0,0 +1,25 @@ +--- a/src/protocols/tests/__init__.py ++++ b/src/protocols/tests/__init__.py +@@ -256,22 +256,6 @@ + makeSuite(GenerationTests,'check'), + ] + +- try: +- import zope.interface +- except ImportError: +- pass +- else: +- from protocols.tests import test_zope +- tests.append( test_zope.test_suite() ) +- +- try: +- from twisted.python.components import Interface +- except (ImportError, SystemError): +- pass +- else: +- from protocols.tests import test_twisted +- tests.append( test_twisted.test_suite() ) +- + return TestSuite( + tests + ) diff --git a/dev-python/pyprotocols/metadata.xml b/dev-python/pyprotocols/metadata.xml new file mode 100644 index 000000000000..9e5274c5b4ae --- /dev/null +++ b/dev-python/pyprotocols/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/dev-python/pyprotocols/pyprotocols-1.0_pre2306-r1.ebuild b/dev-python/pyprotocols/pyprotocols-1.0_pre2306-r1.ebuild new file mode 100644 index 000000000000..8a8f9f0b4bdc --- /dev/null +++ b/dev-python/pyprotocols/pyprotocols-1.0_pre2306-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 flag-o-matic + +MY_PN="PyProtocols" +MY_P="${MY_PN}-${PV/_pre/a0dev_r}" + +DESCRIPTION="Extends the PEP 246 adapt function with a new 'declaration API'" +HOMEPAGE="http://peak.telecommunity.com/PyProtocols.html https://pypi.python.org/pypi/PyProtocols \ + http://svn.eby-sarna.com/PyProtocols/" +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" + +LICENSE="|| ( PSF-2 ZPL )" +SLOT="0" +KEYWORDS="amd64 ~ia64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND=">=dev-python/decoratortools-1.4[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + >=dev-python/pyrex-0.9.9[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_PN}" + +PATCHES=( "${FILESDIR}"/SkipTests.patch ) +DOCS=( CHANGES.txt README.txt UPGRADING.txt ) + +python_prepare_all() { + # Rm peripheral & rogue failing tests + rm -f src//protocols/tests/{test_twisted.py,test_zope.py} || die + + distutils-r1_python_prepare_all +} + +python_configure_all() { + append-flags -fno-strict-aliasing +} + +python_test() { + esetup.py test || die "Tests failed under ${EPYTHON}" +} |