Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/greenlet/
Date: Wed, 11 May 2022 17:55:01
Message-Id: 1652291683.e354b439f32c1d97c419234a7925b142b8e3f9b4.mgorny@gentoo
1 commit: e354b439f32c1d97c419234a7925b142b8e3f9b4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 11 17:34:10 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 17:54:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e354b439
7
8 dev-python/greenlet: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/greenlet/greenlet-1.1.2-r1.ebuild | 29 ++++++++++++++++++++++++++++
13 1 file changed, 29 insertions(+)
14
15 diff --git a/dev-python/greenlet/greenlet-1.1.2-r1.ebuild b/dev-python/greenlet/greenlet-1.1.2-r1.ebuild
16 new file mode 100644
17 index 000000000000..b29cf2360858
18 --- /dev/null
19 +++ b/dev-python/greenlet/greenlet-1.1.2-r1.ebuild
20 @@ -0,0 +1,29 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +# Note: greenlet is built-in in pypy
28 +PYTHON_COMPAT=( python3_{8..10} )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="Lightweight in-process concurrent programming"
33 +HOMEPAGE="
34 + https://greenlet.readthedocs.io/en/latest/
35 + https://github.com/python-greenlet/greenlet/
36 + https://pypi.org/project/greenlet/
37 +"
38 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa -ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
43 +
44 +distutils_enable_sphinx docs
45 +distutils_enable_tests unittest
46 +
47 +python_test() {
48 + eunittest greenlet.tests
49 +}