From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1A831382C5 for ; Sat, 6 Jun 2020 08:38:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6CA2E0924; Sat, 6 Jun 2020 08:38:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE2ABE0924 for ; Sat, 6 Jun 2020 08:38:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 997C834F22D for ; Sat, 6 Jun 2020 08:38:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4F33E286 for ; Sat, 6 Jun 2020 08:38:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1591432687.ff701a1621d00d2e0d38c2cc9c6ba14f7ce04345.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/greenlet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/greenlet/Manifest dev-python/greenlet/greenlet-0.4.16.ebuild X-VCS-Directories: dev-python/greenlet/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ff701a1621d00d2e0d38c2cc9c6ba14f7ce04345 X-VCS-Branch: master Date: Sat, 6 Jun 2020 08:38:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c846e12e-fe25-4ccc-b314-567759c8aadf X-Archives-Hash: 4e036ece28b88cb6f92ff0fa90ae8bda commit: ff701a1621d00d2e0d38c2cc9c6ba14f7ce04345 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 6 07:18:14 2020 +0000 Commit: Michał Górny gentoo 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 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}" +}