commit:     ff701a1621d00d2e0d38c2cc9c6ba14f7ce04345
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 07:18:14 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 08:38:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff701a16

dev-python/greenlet: Bump to 0.4.16

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/greenlet/Manifest               |  1 +
 dev-python/greenlet/greenlet-0.4.16.ebuild | 35 ++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest
index fd0c82a266e..03389d2ffe4 100644
--- a/dev-python/greenlet/Manifest
+++ b/dev-python/greenlet/Manifest
@@ -1 +1,2 @@
 DIST greenlet-0.4.15.tar.gz 59694 BLAKE2B 
8409e356e7724e1651606507d0d082e77f7f21b8884f304f5db55ce6ba6e56446525e3adc96743566b03bcdb9bdea7c47fd144554a7f60825cb191e19d6e177b
 SHA512 
a3b7856aadc988fe153f5cf62552dd6219358f35ee2ca136e5eb5c9871cb7545986753af299e6b3e95877e9aa564559e95c548785f78e680766630b047a1ec89
+DIST greenlet-0.4.16.tar.gz 60576 BLAKE2B 
e0c53af4b6886fe00f0299a1779e478b7cbce5ff733669e8a62757cef49f034e19b7b932e7900b09e288ff4ab7e883fc2dd5f97f78c0e1b5702e5ba9c9f62fa1
 SHA512 
0dc473c05c1d54a830c009fe8197fd2017b8f3117532af0fc7970eb5abd93a82bbaa1a8403375a0ac7148fcff63cdc3faa663d0c5e442f3dd10ea3b2f98b306e

diff --git a/dev-python/greenlet/greenlet-0.4.16.ebuild 
b/dev-python/greenlet/greenlet-0.4.16.ebuild
new file mode 100644
index 00000000000..95b8ec7c7e4
--- /dev/null
+++ b/dev-python/greenlet/greenlet-0.4.16.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Note: greenlet is built-in in pypy
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} )
+
+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 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+distutils_enable_sphinx doc
+
+python_compile() {
+       if ! python_is_python3; then
+               local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
+               append-flags -fno-strict-aliasing
+       fi
+
+       distutils-r1_python_compile
+}
+
+python_test() {
+       "${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
+}

Reply via email to