summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-02-06 04:34:19 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-02-06 04:34:19 +0100
commitf41d10d42f58de5414558915285e30b4caf771ac (patch)
tree383305d730d4595b631d81f625ed0afc519f934d /dev-python/greenlet
parentdev-python/cryptography-vectors: Removed old. (diff)
downloadgentoo-f41d10d42f58de5414558915285e30b4caf771ac.tar.gz
gentoo-f41d10d42f58de5414558915285e30b4caf771ac.tar.bz2
gentoo-f41d10d42f58de5414558915285e30b4caf771ac.zip
dev-python/greenlet: Bump to version 0.4.12
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/greenlet')
-rw-r--r--dev-python/greenlet/Manifest1
-rw-r--r--dev-python/greenlet/greenlet-0.4.12.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest
index 06cdf893005a..dabc96a11b08 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.11.tar.gz 58293 SHA256 3095bda0db92736c3197912c9f7f8065e5630a03b2f6c431617338228d9811f6 SHA512 03c91784ee32569fb1896fcc110a4c4dbfd7f194c651bbb29ecf38cb566c0c0e31fad1843b01a6af8d33abeda34259c04c6530b78ab01c3b2804625eaa2f37f9 WHIRLPOOL 08561e6afd6d7839903b8d2454eb9e0203216fbfdc524ac9274997af49a6071cd926747096b0fdd2bfaf97ff8bb0fcdbd39afb41e8aac13d981bd73f80e21b0c
+DIST greenlet-0.4.12.tar.gz 57319 SHA256 e4c99c6010a5d153d481fdaf63b8a0782825c0721506d880403a3b9b82ae347e SHA512 f3bf0f82b6e3bc687fc9b89469339cfb05e64518d1e49bc96066e8d47b8559f1c1aa53692cd25d839437a2f1b81df6fd9a4509a1b4063ec4ce1d97b73842e9f6 WHIRLPOOL bd6eeca3614487c864c1bd3adadcef714c6fb6358e64bd4e9c3c41d2104a3e1d9f31ace7fcbc13a5cb5f482313baf2085385454e9e65129c9c88359798afecbe
DIST greenlet-0.4.5.zip 77396 SHA256 b990f00f120c4cfb6672eec2acd32210990a2c7b70b815c034d1d8cbf08e2dbe SHA512 bdef004299e6d9ac457c0884aea69a882f7ee66135ea5da9a231c7f05024413db8ee5bc1e15c4bbc17379130eda5b38948662178fc34c00f96449a6ada6d3e78 WHIRLPOOL 01e06febe2537dd71478f5404d8f545df19af761b13fcd88c8edc1ab6e4a28da48183084800523d603ca9d58f74b7d675ec4f412b635af961be637f6a22a3f82
diff --git a/dev-python/greenlet/greenlet-0.4.12.ebuild b/dev-python/greenlet/greenlet-0.4.12.ebuild
new file mode 100644
index 000000000000..5cf9e9378b85
--- /dev/null
+++ b/dev-python/greenlet/greenlet-0.4.12.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# Note: greenlet is built-in in pypy
+PYTHON_COMPAT=( python2_7 python3_{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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 -hppa ~mips ~ppc ~ppc64 ~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
+}