1 |
commit: bb9f2cad6b562d1800e1a2fc814a984938bdbb08 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 13 13:57:51 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 13 14:45:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb9f2cad |
7 |
|
8 |
dev-python/lazy-object-proxy: use PEP517 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
.../lazy-object-proxy-1.7.1-r1.ebuild | 34 ++++++++++++++++++++++ |
13 |
1 file changed, 34 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/lazy-object-proxy/lazy-object-proxy-1.7.1-r1.ebuild b/dev-python/lazy-object-proxy/lazy-object-proxy-1.7.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..f0939d83d332 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/lazy-object-proxy/lazy-object-proxy-1.7.1-r1.ebuild |
20 |
@@ -0,0 +1,34 @@ |
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 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="A fast and thorough lazy object proxy" |
31 |
+HOMEPAGE=" |
32 |
+ https://github.com/ionelmc/python-lazy-object-proxy |
33 |
+ https://pypi.org/project/lazy-object-proxy/ |
34 |
+ https://python-lazy-object-proxy.readthedocs.org/" |
35 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="BSD" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
40 |
+ |
41 |
+BDEPEND=" |
42 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
43 |
+" |
44 |
+ |
45 |
+distutils_enable_tests pytest |
46 |
+ |
47 |
+python_prepare_all() { |
48 |
+ # No need to benchmark |
49 |
+ sed \ |
50 |
+ -e '/benchmark/s:test_:_&:g' \ |
51 |
+ -e '/pytest.mark.benchmark/d' \ |
52 |
+ -i tests/test_lazy_object_proxy.py || die |
53 |
+ distutils-r1_python_prepare_all |
54 |
+} |