diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-07 11:42:03 +0100 |
commit | f70601e0934acd62f6c5d06c5ede4cc607179514 (patch) | |
tree | 0b337390375de04b950fc4b45edc0f895a4701a4 /dev-python/greenlet | |
parent | b2be182d49eea46686b5cf2680d457df61e89dc4 (diff) |
gentoo resync : 07.07.2018
Diffstat (limited to 'dev-python/greenlet')
-rw-r--r-- | dev-python/greenlet/Manifest | 2 | ||||
-rw-r--r-- | dev-python/greenlet/greenlet-0.4.13.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index a21fe6f94569..e3ab02ce97b3 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,3 +1,5 @@ DIST greenlet-0.4.12.tar.gz 57319 BLAKE2B 8260e495bb67e1a2b5b593d3513c3e2157a7b68b71fa3cb2a77de3b4ccc21b5d56bab26b6f0caf00cb669f051d22d7d6ad2700059a3d23b9ad7591f3d6608f43 SHA512 f3bf0f82b6e3bc687fc9b89469339cfb05e64518d1e49bc96066e8d47b8559f1c1aa53692cd25d839437a2f1b81df6fd9a4509a1b4063ec4ce1d97b73842e9f6 +DIST greenlet-0.4.13.tar.gz 58382 BLAKE2B a4afd9621ccd6444738c9b536af7ad5ceef5d3c8c4193ce637b4a8580c7070805419a917bef131f397286fae13f6e6f23409f5eedb814a41fcfee98356c0951a SHA512 625aaa8875b408442139191e1a63eca71c668675229907335f5caee623487aba5305c1d53b51e1764ad982b8edd07d04f984e08a75318a0a5672805667917a61 EBUILD greenlet-0.4.12.ebuild 1079 BLAKE2B 39169db1ed98f0685cb36a9761f68a6884ed5ba633a398d4834d53e09b0a43b835125769f4d8189793527a71a4fbd275142a9ce95c5af2a58df4ff487f75a099 SHA512 257224005781fb5cb1871714bf21963616b6c233653b7700e18d943ad97037d88b14e31622ff2317a894433bf3b306d4dbcebbd2c0f77b7d70e41c9d48fcfb4c +EBUILD greenlet-0.4.13.ebuild 1084 BLAKE2B 0052f254ed678ee40ac9a17e514d4feb4654bec98a2ba10e51ce78180dc1f622e339ada4744488ec07d361115542367d785debc7f1ef7fb5ee39e2ef80d61487 SHA512 7cad57f57ba39f099784afb598086ab348e7d4011ae8d7551a8e4735b3fe991a72306ae91688330ffba9680b432fddb13667895bc0af71f361210d967bc1e119 MISC metadata.xml 321 BLAKE2B e625b0c7ecad0e1755cc398a1111c93434bc16c848ba4c15c11551ec1f9367c71a8f1f081409a7f09f5a3c5c6a693d5702fe2d30d371f4c431a6147b817621e6 SHA512 39b920fabdf3e6ca67ead606a859b66dfa19ab532a798755fc9406b850372d238b774ebe82e107e89b4e8e0447e5e48abb259047df62b4cd5009396ecad74548 diff --git a/dev-python/greenlet/greenlet-0.4.13.ebuild b/dev-python/greenlet/greenlet-0.4.13.ebuild new file mode 100644 index 000000000000..cc9bcb53e847 --- /dev/null +++ b/dev-python/greenlet/greenlet-0.4.13.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE="https://pypi.org/project/greenlet/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_compile() { + if [[ ${EPYTHON} == python2.7 ]]; then + local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} + append-flags -fno-strict-aliasing + fi + + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + "${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +} |