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/eventlet |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/eventlet')
-rw-r--r-- | dev-python/eventlet/Manifest | 11 | ||||
-rw-r--r-- | dev-python/eventlet/eventlet-0.18.4.ebuild | 63 | ||||
-rw-r--r-- | dev-python/eventlet/eventlet-0.20.0-r1.ebuild | 67 | ||||
-rw-r--r-- | dev-python/eventlet/eventlet-0.20.1-r1.ebuild | 67 | ||||
-rw-r--r-- | dev-python/eventlet/eventlet-0.21.0-r1.ebuild | 67 | ||||
-rw-r--r-- | dev-python/eventlet/metadata.xml | 12 |
6 files changed, 287 insertions, 0 deletions
diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest new file mode 100644 index 000000000000..11f136ffc62e --- /dev/null +++ b/dev-python/eventlet/Manifest @@ -0,0 +1,11 @@ +DIST eventlet-0.18.4.tar.gz 288920 SHA256 74ef11d67ee5e85e009b0fced733c907620bca1ab8e6b0489d9f247405ab2685 SHA512 3098f2e8649b1e10157b9474571b372176b05263a7d5e7bb915b0464551d70505bbdf77dc072f64c1c05b3011406ae4814ea1b6f746cea766bb58827b1515fcc WHIRLPOOL 818fea5dec6532312068b9853a501d38bf4e69cca4e6e7ad6f6cbede9f9fe63237e3889ddb8b74d3d0e080b826d24532ed488687b60fc160a7e65d129ce2497f +DIST eventlet-0.20.0.tar.gz 466828 SHA256 2e17cda85f2003796f13de0e6c59a5253c0afd1f45dfc97bb9b6bfb8962f7895 SHA512 4be70ba8cc3ac76d424aad66cd214e97249a42785319b992d048a77cd26f53a428f7959596d07da9a88c92ee103d73d4990733fc00bca57cc8fd242041365348 WHIRLPOOL 35b84c2ea667982561b9a791f9f8429f0902c3e99b0ad99b98aaa17bc145b534554fb2b005cfdcce3fb8762fc4a8e247eb109d442ba25750d39705fdc17b73d5 +DIST eventlet-0.20.1.tar.gz 469509 SHA256 3ad581b8645a54acf436e62a4d8cbf229a1ec7bfa3287c160f0258826b297838 SHA512 875c1ca82822a486bf28866c7d1f34df2419e7d33450a21740434d2e7f15c37a1090436cb7fe1feaeb5c810d39e4b238206c502323317897c8a42e844cbe7734 WHIRLPOOL 729505cd16fdecdc323f2bb12f4b03a9f9dc63267db4a1f005ba266a8bd8f37707969a80e23ecd18b2cc6e247e71bff0c31d7a5096576c57e6c3c32dc050cf73 +DIST eventlet-0.21.0.tar.gz 484191 SHA256 08faffab88c1b08bd53ea28bf084a572c89f7e7648bd9d71e6116ac17a51a15d SHA512 4ee682ca8faf870ff6f1d72e93527028f73ae13d7f755eceafb23f3cde48e52b83ff04b645b7e90299997713de93c52f244db8b81d6abc7788a56ea38c7b0f47 WHIRLPOOL 7dd13fe69aa5690001900ac34382cee8c2b0c112fa556a4b552543806d6e88992ef1a5dd6fb7307fa63bcf25e311727b6c979a6acb0e009fc488edd64e4d5e87 +EBUILD eventlet-0.18.4.ebuild 2040 SHA256 a760ba0e2cfd487bfaaa0a780bf5d26a540a95dc6b7ef792c3b6a1e79fa09581 SHA512 cf2cb7035c0cd19839d3a754adeeaf49b09f79ef063cc97df902cccf926c546011543cfce7fcde6e7e1a0a10935aa85e9add6576baac9d6ceb5a244ed5dc079a WHIRLPOOL c3bba53664bc2d16a4142ad95cc295e859d175e31d55d0d9f9dde31981e9f03a7fe79ad4fc154a49f6679f7292dd5024a954a027110fc8c6532ddd031deb98cf +EBUILD eventlet-0.20.0-r1.ebuild 2144 SHA256 ddcd8ae703b83dacd2a294ce1971dd9312931079ba2d52b87e1e145e59739c30 SHA512 696ecc53399848101a48319830045daffa86d8a7adfb5ab1f6d10d353d87f702bf4671bf0e579af722748ada68d0be2b0d7c7c2e282c5192ae6810b6c3f68e31 WHIRLPOOL b363608cba13b8b14f8cc7ee3f76ffa918ba233ace3290d08ec5ec27cb20857e67ed58ece20ddbccdda3d0f2ad446b53c582436eb42686747d6ec5c65a21572e +EBUILD eventlet-0.20.1-r1.ebuild 2160 SHA256 c1cc0ead37033a425c3a88d1a0549a1e32ba9170a6987e0b51a04f1cb3296c4d SHA512 de3ea57285a9ddb5374cff54fb9c6f0c82bb47fe7280d7d63d24181212997d46391f0b49ef9e18fc7a33493509678571eac989d1067760c52f1c8c1bcad2ca88 WHIRLPOOL a321046d6febbf6d383f184d88f5cf129774834f29ab0de219633296cc4223a11c373f97e3b64e901933f645076d830d4330b757e403290d956fab23447663b9 +EBUILD eventlet-0.21.0-r1.ebuild 2162 SHA256 67aebf17b43022526736ac3af3fcdeee5fa32fbb3af3a6f301a527c8412d4d34 SHA512 c297755f8541b1eca3937c8688013de5328319426ba732916a3ee1532579800e0d74735532f3788bc1ea6e66d9dcfec6a8663898e1e93fb35cdcbed37f547d99 WHIRLPOOL db264bbdd6258b82c55ddfe097f2c2804d0838e5f586ed8f0322134425fdd2ec5ba4fa3d135f1bdcc8d8ac5aeb25e528bc6fd41c59c8359a2ee353702b898b2d +MISC ChangeLog 4712 SHA256 99ac79f74a2065a2630aa0d02a9665e61223b3c79fea55bd5c3a4d4d73fcf2a0 SHA512 6d557a32e79b51494ded197a8138def994fed468e446008ebae5d3cdbe04688487f938b67455315eabd7a284efa5f0142fcc8131b2f85bdea285059680385ada WHIRLPOOL b4799d7c7e5ccd82fe62f819350ee921aad7f8e8379f46edd27acdafec12a7f3724a3bbab675910dc95350d24f64551c725701f49483dfd3d4111e982b21d3c5 +MISC ChangeLog-2015 2887 SHA256 1c705b5b7b44891cc239d7a50b992ea449de67bb778bff9d4b65ecdf514f0c51 SHA512 71a2a6a1c7d0f1873cb6a8ec36f4d83613ee398acc97791e9fe33137302e4f8ef4e15647d3155aa9b15157fc96821962e8730eee66a4e310f96d913516b7d68c WHIRLPOOL c23e04fa9980dd8085cc97f4a60b88242eba41144b7d9ca514ac180738b9f5308faf502904b2cfdea52bcaa88e515447da5de37b974e5a03e285ccbf1e1297cd +MISC metadata.xml 380 SHA256 78f6be83993801f376748e135657eac13b680d21fdd56f04d099fa2bb17b9a19 SHA512 8100edfde1885122848aa543b99bbc8529b9dc2aeea3b7efb74a3d1e8e01bdd2110e4cdce2c4ddeab9fd0182f193118e876843a61a25e17355d0916d50331daa WHIRLPOOL 45bfcf31c22a47927dd15f6c564613a7aa2be416ed1793030707feeb0ab5c0ef1e3314e46d1d100f400d262a23a36c5a16298f2df2157ef91705aa6df1d110d4 diff --git a/dev-python/eventlet/eventlet-0.18.4.ebuild b/dev-python/eventlet/eventlet-0.18.4.ebuild new file mode 100644 index 000000000000..4b00621ad223 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.18.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Highly concurrent networking library" +HOMEPAGE="https://pypi.python.org/pypi/eventlet https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="doc examples test" + +RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}]" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + if use doc; then + local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + if use test; then +# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die +# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die +# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die + sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # https://github.com/eventlet/eventlet/issues/152 + use doc && emake -C doc html +} + +python_test() { + # Several errors 1 failure + # https://github.com/eventlet/eventlet/issues/151 + nosetests tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/eventlet/eventlet-0.20.0-r1.ebuild b/dev-python/eventlet/eventlet-0.20.0-r1.ebuild new file mode 100644 index 000000000000..b0366da9f319 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.20.0-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Highly concurrent networking library" +HOMEPAGE="https://pypi.python.org/pypi/eventlet https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc examples test" + +RDEPEND="virtual/python-enum34 + >=dev-python/greenlet-0.3[${PYTHON_USEDEP}]" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # provided by virtual/python-enum34 + sed -i '/enum-compat/d' setup.py || die + + if use doc; then + local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + if use test; then +# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die +# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die +# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die + sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # https://github.com/eventlet/eventlet/issues/152 + use doc && emake -C doc html +} + +python_test() { + # Several errors 1 failure + # https://github.com/eventlet/eventlet/issues/151 + nosetests tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/eventlet/eventlet-0.20.1-r1.ebuild b/dev-python/eventlet/eventlet-0.20.1-r1.ebuild new file mode 100644 index 000000000000..b218597e0479 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.20.1-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Highly concurrent networking library" +HOMEPAGE="https://pypi.python.org/pypi/eventlet https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64 x86" +IUSE="doc examples test" + +RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}]" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # provided by virtual/python-enum34 + sed -i '/enum-compat/d' setup.py || die + + if use doc; then + local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + if use test; then +# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die +# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die +# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die + sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # https://github.com/eventlet/eventlet/issues/152 + use doc && emake -C doc html +} + +python_test() { + # Several errors 1 failure + # https://github.com/eventlet/eventlet/issues/151 + nosetests tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/eventlet/eventlet-0.21.0-r1.ebuild b/dev-python/eventlet/eventlet-0.21.0-r1.ebuild new file mode 100644 index 000000000000..a0881d9eaa47 --- /dev/null +++ b/dev-python/eventlet/eventlet-0.21.0-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Highly concurrent networking library" +HOMEPAGE="https://pypi.python.org/pypi/eventlet https://github.com/eventlet/eventlet/" +SRC_URI="mirror://pypi/e/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc examples test" + +RDEPEND=">=dev-python/greenlet-0.3[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}]" +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/python-docs-2.7.6-r1:2.7 ) + test? ( ${RDEPEND} + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +python_prepare_all() { + # provided by virtual/python-enum34 + sed -i '/enum-compat/d' setup.py || die + + if use doc; then + local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7) + local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}" + local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html" + local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv" + sed -i "s|'http://docs.python.org/': None|'${PYTHON_DOC}': '${PYTHON_DOC_INVENTORY}'|" doc/conf.py || die + fi + + if use test; then +# sed -i '/This is a Python 3 module/d' eventlet/green/http/__init__.py || die +# sed -i 's/^import/from OpenSSL import/g' eventlet/green/OpenSSL/__init__.py || die +# sed -i 's/^from version/from OpenSSL.version/' eventlet/green/OpenSSL/__init__.py || die + sed -i 's/TEST_TIMEOUT = 1/TEST_TIMEOUT = 10/' tests/__init__.py || die + fi + + # Prevent file collisions from teestsuite + sed -e "s:'tests', :'tests', 'tests.*', :" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + # https://github.com/eventlet/eventlet/issues/152 + use doc && emake -C doc html +} + +python_test() { + # Several errors 1 failure + # https://github.com/eventlet/eventlet/issues/151 + nosetests tests || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/eventlet/metadata.xml b/dev-python/eventlet/metadata.xml new file mode 100644 index 000000000000..6cec5e8a7b6c --- /dev/null +++ b/dev-python/eventlet/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="pypi">eventlet</remote-id> + <remote-id type="github">eventlet/eventlet</remote-id> + </upstream> +</pkgmetadata> |