1 |
commit: a549739c8933dcb469d0a986e3e3cff0cc9692b0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 30 09:35:36 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 30 10:04:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a549739c |
7 |
|
8 |
dev-python/python-lzo: Switch to PEP 517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-lzo/python-lzo-1.14-r1.ebuild | 29 +++++++++++++++++++++++++ |
13 |
1 file changed, 29 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/python-lzo/python-lzo-1.14-r1.ebuild b/dev-python/python-lzo/python-lzo-1.14-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..73aa90f9490d |
18 |
--- /dev/null |
19 |
+++ b/dev-python/python-lzo/python-lzo-1.14-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 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 prefix |
30 |
+ |
31 |
+DESCRIPTION="Python interface to lzo" |
32 |
+HOMEPAGE="https://github.com/jd-boyd/python-lzo" |
33 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
38 |
+ |
39 |
+RDEPEND="dev-libs/lzo:2" |
40 |
+DEPEND="${RDEPEND}" |
41 |
+ |
42 |
+# We can't use pytest at the moment because the package uses "yield tests" |
43 |
+# https://docs.pytest.org/en/6.2.x/deprecations.html#yield-tests |
44 |
+distutils_enable_tests nose |
45 |
+ |
46 |
+python_prepare_all() { |
47 |
+ hprefixify setup.py |
48 |
+ distutils-r1_python_prepare_all |
49 |
+} |