1 |
commit: c69d21e8dc810e15600cdc4206f78f011112d115 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 22:01:16 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 18 22:44:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69d21e8 |
7 |
|
8 |
dev-python/frozenlist: Bump to 1.3.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/frozenlist/Manifest | 1 + |
13 |
dev-python/frozenlist/frozenlist-1.3.0.ebuild | 40 +++++++++++++++++++++++++++ |
14 |
2 files changed, 41 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest |
17 |
index bf51b5a40783..b1b0399d6861 100644 |
18 |
--- a/dev-python/frozenlist/Manifest |
19 |
+++ b/dev-python/frozenlist/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST frozenlist-1.2.0.gh.tar.gz 29062 BLAKE2B cc82db759906ad3e0be1806cacd6815377f264ed07ed272abb7da4753c11561564cf1cb4dfc0154abaeb4005f5607c26e602410a4ef45dd8e94e26583caa2ab7 SHA512 e5dda13e173db0b1c6e8c5a61949534f4eb30211cc4fcd102d0be1b55ee48e2db90d52fd770a2c6d6076f3a0d9e11289629a7a115c1270377636eda35d107e7a |
22 |
+DIST frozenlist-1.3.0.gh.tar.gz 27669 BLAKE2B d09e18455893f7ede59c37a080e79ea5e085cc3362e53bc7016db64338b2cf26baf44e95ec0c691535527b0eef4a40ec1fbe814e5d4ae238300125438d21b467 SHA512 780f0ec0e1a701b009e5afcd7f62b2950eda5365140ad5842c09db85b0a3cf282ab70ff9ba752ea6dc7a97542fc7399023aaaca8fdd8ecbd5c26bf64f305f5f4 |
23 |
|
24 |
diff --git a/dev-python/frozenlist/frozenlist-1.3.0.ebuild b/dev-python/frozenlist/frozenlist-1.3.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..40b055eeefa2 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/frozenlist/frozenlist-1.3.0.ebuild |
29 |
@@ -0,0 +1,40 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A list-like structure which implements collections.abc.MutableSequence" |
40 |
+HOMEPAGE=" |
41 |
+ https://pypi.org/project/frozenlist/ |
42 |
+ https://github.com/aio-libs/frozenlist/" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/aio-libs/frozenlist/archive/v${PV}.tar.gz |
45 |
+ -> ${P}.gh.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
50 |
+ |
51 |
+BDEPEND=" |
52 |
+ $(python_gen_cond_dep ' |
53 |
+ dev-python/cython[${PYTHON_USEDEP}] |
54 |
+ ' 'python*')" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ sed -i -e '/addopts/d' pytest.ini || die |
60 |
+ distutils-r1_src_prepare |
61 |
+} |
62 |
+ |
63 |
+python_configure() { |
64 |
+ # pypy is not using the C extension |
65 |
+ if [[ ${EPYTHON} == python* ]]; then |
66 |
+ > .install-cython || die |
67 |
+ emake cythonize |
68 |
+ fi |
69 |
+} |