commit: 15ad78468b5e8099ba96cd3b5fed98588fb37d98
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 06:00:56 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 07:28:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15ad7846
dev-python/greenlet: Bump to 0.4.17
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/greenlet/Manifest | 1 +
dev-python/greenlet/greenlet-0.4.17.ebuild | 36 ++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest
index 2b227c87d34..be50f662ec7 100644
--- a/dev-python/greenlet/Manifest
+++ b/dev-python/greenlet/Manifest
@@ -1 +1,2 @@
DIST greenlet-0.4.16.tar.gz 60576 BLAKE2B
e0c53af4b6886fe00f0299a1779e478b7cbce5ff733669e8a62757cef49f034e19b7b932e7900b09e288ff4ab7e883fc2dd5f97f78c0e1b5702e5ba9c9f62fa1
SHA512
0dc473c05c1d54a830c009fe8197fd2017b8f3117532af0fc7970eb5abd93a82bbaa1a8403375a0ac7148fcff63cdc3faa663d0c5e442f3dd10ea3b2f98b306e
+DIST greenlet-0.4.17.tar.gz 61381 BLAKE2B
fd5b8ed72acd390f3d5fe3ca1d5894bc47278b1f0e04e4fe5c6015c60dfb3109e766dc6072bf85b96760f673a1af08cd546171906800a1221a216899077a908e
SHA512
41afd80a6cd5e9cf9c8149016f24d0944d2651288d50094ef04bb6759202903c436af639872d7aab631ed8fe13aad7d4405beb428415b198a3ba30a96d4bd3de
diff --git a/dev-python/greenlet/greenlet-0.4.17.ebuild
b/dev-python/greenlet/greenlet-0.4.17.ebuild
new file mode 100644
index 00000000000..66523de5fde
--- /dev/null
+++ b/dev-python/greenlet/greenlet-0.4.17.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# setuptools is used only if one of the fancy commands are used
+DISTUTILS_USE_SETUPTOOLS=no
+# Note: greenlet is built-in in pypy
+PYTHON_COMPAT=( 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"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+distutils_enable_sphinx doc --no-autodoc
+
+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}"
+}