From 642f12fdd32b96899bb8246f83cc686c91334789 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Wed, 2 Sep 2015 18:30:27 +0200 Subject: [PATCH] dev-python/greenlet: Version Bump Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- dev-python/greenlet/Manifest | 1 + dev-python/greenlet/greenlet-0.4.9.ebuild | 48 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-python/greenlet/greenlet-0.4.9.ebuild diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 31bfb9f2c924..a68f66b44a4d 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -4,3 +4,4 @@ DIST greenlet-0.4.4.zip 76659 SHA256 935a76b7ad3c41846af26e136e2fd8ec763794cbc5b DIST greenlet-0.4.5.zip 77396 SHA256 b990f00f120c4cfb6672eec2acd32210990a2c7b70b815c034d1d8cbf08e2dbe SHA512 bdef004299e6d9ac457c0884aea69a882f7ee66135ea5da9a231c7f05024413db8ee5bc1e15c4bbc17379130eda5b38948662178fc34c00f96449a6ada6d3e78 WHIRLPOOL 01e06febe2537dd71478f5404d8f545df19af761b13fcd88c8edc1ab6e4a28da48183084800523d603ca9d58f74b7d675ec4f412b635af961be637f6a22a3f82 DIST greenlet-0.4.6.zip 77759 SHA256 3000b5c4301a0285f914fd7bb2eb613279f7098000c8e2150b169abcad4c3393 SHA512 498721395bdc4612dd646ee7f384d7edba992dd10a31fccbdb67294e4f22b4890e79f7c509863943b8538c7a34bb4a64fbe6870fc84651f7fdf17654d47281ed WHIRLPOOL 02e84f9738fc899ac4dad40cb197648e1b36f3e10d451fb7963951f2a974af4071450b2c31eadaed6028c9d905557560e03688659efb6de0eaedf22336cb507e DIST greenlet-0.4.7.zip 77540 SHA256 f32c4fa4e06443e1bdb0d32b69e7617c25ff772c3ffc6d0aa63d192e9fd795fe SHA512 f2a080b9782bc3f91cf7971b97cb00b9d48d6021e01d413c96128ff32165fbd310ec8e9a1a00d03946e3c637162acd7eb6ebf44425580bd2e7511c3cd15fb192 WHIRLPOOL ac66424e329b8bc83e0c6d5c1aea3ddb237433505e8547916efaf13280a43f040a3f39e67e4b15164acb86f061180928acd29a8725dfb91427c52524fc13c91e +DIST greenlet-0.4.9.zip 78125 SHA256 58b2f3a2e7075c655616bf95e82868db4980f3bb6661db70ad02a51e4ddd2252 SHA512 2dce966827caf32b21cf005498ef6e595524ffb0aabbe424c705850986edfda4f4b2ba791180a7de900b1778594851de83a5b2cc69baf31c968ee8fb9131ba58 WHIRLPOOL e2464ead5f1e47ee62b80f1ce048c263e4516d333e1b5f532698192d0df4906754376a7dfb9b0a26236c56326853830f5110c56673193a8471c07fc0ac0313a6 diff --git a/dev-python/greenlet/greenlet-0.4.9.ebuild b/dev-python/greenlet/greenlet-0.4.9.ebuild new file mode 100644 index 000000000000..9017b17e9552 --- /dev/null +++ b/dev-python/greenlet/greenlet-0.4.9.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 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} ) + +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 -hppa ~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 +} -- 2.26.2