diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-06-29 12:08:38 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-06-29 12:08:38 +0200 |
commit | 19f61bedc56975909487ef32b5e127a5161e2f03 (patch) | |
tree | 719350ca55e4271a6ffb49065f821c7c0dafbce4 /dev-python/greenlet | |
parent | 351190af49b1a1198e6364e26b8d852adf1c2862 (diff) | |
download | gentoo-19f61bedc56975909487ef32b5e127a5161e2f03.tar.gz gentoo-19f61bedc56975909487ef32b5e127a5161e2f03.tar.xz |
dev-python/greenlet: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/greenlet')
-rw-r--r-- | dev-python/greenlet/Manifest | 1 | ||||
-rw-r--r-- | dev-python/greenlet/greenlet-0.4.10.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index a68f66b44a4..bdf17fadc31 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,3 +1,4 @@ +DIST greenlet-0.4.10.zip 82616 SHA256 9a98d49f63259b16d3627976b69dd856888a376c498b091c8e9ead56d5098ca8 SHA512 7fc78b14dca079f838647fd99878850cf9e83af781c985362146a11f71c5a700fbac8148273cd1c0ec4ac6ead4cf5bd389e001b8fc1225e87e9b51919d7ecc6c WHIRLPOOL 19490879ceb1ca3407cd84beea6a9dc741ac5d2783df3a867f69e249d16cd5b0ec9fafb5b27a22c71e1984dea85fcdeacd915a5a3fd3759e3c873fb02c515127 DIST greenlet-0.4.2.zip 74404 SHA256 b160e556a22e16bae3f3f63ffce7898682c803cd896457192f7b54fe74fe991e SHA512 9596b740921e4a80bcb43adb725a7a4ea428dadc10ba55f8840837ba685b010c273a4a2bd62c5ba4bfdf27ce87c914a83714d762bacafb8e0a3cd7e2a9675992 WHIRLPOOL d65f1e30afb19d305ce3da884846e8f9f3e0222e02bff90f88f606dc0cc797efcab583069cf99be5b05520e0d98299319fef45bfd696050fc898868d233c23dd DIST greenlet-0.4.3.zip 76473 SHA256 c94f6c3d3e34d4900a277181619a5854cf5a331903f84160591e325d881659a6 SHA512 eaa43d4a2f3496f59fa7bbb6aba71ce1cc5099d4fb505844ba878a4d4feabab3045130a5f5b6cd37a1a47b3655fe9752c9e69022a4e78971035b14f493decbd2 WHIRLPOOL 7ae4995711b51bc0a154a3ec9314ed35d4a7c88eb0794a71cf72b048d2b3672e64e2af3ca04f2d6d9ccd02c0fa6df8fb218a830af41a9ba895aa43005060a3e6 DIST greenlet-0.4.4.zip 76659 SHA256 935a76b7ad3c41846af26e136e2fd8ec763794cbc5b5fbc4b7b09d9a8de1d056 SHA512 e3e834d9cd3e00c4be22ebf4eed785ffd302b5e62feafe3e6ac13455a9a8c7249a1624bf76ff5f9d48489553767058fdea240ef7cc4e45cae39ce62c10aeb4e7 WHIRLPOOL d33d571b12be3e1eb0d856c7abc322e1bf032315f3e0c358d4265f3a3db2af9bff07458631c49295a9010fbe77a482ddcafa114b7f974601284761e4798a951b diff --git a/dev-python/greenlet/greenlet-0.4.10.ebuild b/dev-python/greenlet/greenlet-0.4.10.ebuild new file mode 100644 index 00000000000..d6159bb9e62 --- /dev/null +++ b/dev-python/greenlet/greenlet-0.4.10.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 flag-o-matic + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE="https://pypi.python.org/pypi/greenlet/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc" + +DEPEND=" + app-arch/unzip + 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 +} |