1 |
commit: ad2e7b528892782a1efd57d794b5b8cd674257d8 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 3 16:27:42 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 17:27:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad2e7b52 |
7 |
|
8 |
dev-python/frozenlist: add 1.3.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/frozenlist/Manifest | 1 + |
13 |
dev-python/frozenlist/frozenlist-1.3.1.ebuild | 44 +++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/frozenlist/Manifest b/dev-python/frozenlist/Manifest |
17 |
index b063f0015a77..c3d29e9413a3 100644 |
18 |
--- a/dev-python/frozenlist/Manifest |
19 |
+++ b/dev-python/frozenlist/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST frozenlist-1.3.0.gh.tar.gz 27669 BLAKE2B d09e18455893f7ede59c37a080e79ea5e085cc3362e53bc7016db64338b2cf26baf44e95ec0c691535527b0eef4a40ec1fbe814e5d4ae238300125438d21b467 SHA512 780f0ec0e1a701b009e5afcd7f62b2950eda5365140ad5842c09db85b0a3cf282ab70ff9ba752ea6dc7a97542fc7399023aaaca8fdd8ecbd5c26bf64f305f5f4 |
22 |
+DIST frozenlist-1.3.1.gh.tar.gz 27705 BLAKE2B 7428d936926978acb90a857e0f76b303dddea684c3e815b3fd583e888102e114cc629fcd8e862a4e72775f8525193becfd4b9cd844a36f5b2c7964605008bb84 SHA512 4986f3635ebd2d3ca9623299a66375b03938a7be72f7a1d3437b1bf8c0739513942e6babf00476b61055c9ebee3638ec807dad521c52990104d4d57017efdfb2 |
23 |
|
24 |
diff --git a/dev-python/frozenlist/frozenlist-1.3.1.ebuild b/dev-python/frozenlist/frozenlist-1.3.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f8146bda6935 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/frozenlist/frozenlist-1.3.1.ebuild |
29 |
@@ -0,0 +1,44 @@ |
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..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A list-like structure which implements collections.abc.MutableSequence" |
41 |
+HOMEPAGE=" |
42 |
+ https://pypi.org/project/frozenlist/ |
43 |
+ https://github.com/aio-libs/frozenlist/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/aio-libs/frozenlist/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="Apache-2.0" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ $(python_gen_cond_dep ' |
56 |
+ dev-python/cython[${PYTHON_USEDEP}] |
57 |
+ ' 'python*') |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ sed -i -e '/addopts/d' pytest.ini || die |
64 |
+ distutils-r1_src_prepare |
65 |
+} |
66 |
+ |
67 |
+python_configure() { |
68 |
+ # pypy is not using the C extension |
69 |
+ if [[ ${EPYTHON} == python* ]]; then |
70 |
+ > .install-cython || die |
71 |
+ emake cythonize |
72 |
+ fi |
73 |
+} |