1 |
commit: f513c15bec58f29267acc5e3476bbef28fbebfe3 |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 26 12:46:59 2021 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 26 12:47:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f513c15b |
7 |
|
8 |
dev-python/python-lzo: add 1.14 |
9 |
|
10 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-lzo/Manifest | 1 + |
13 |
dev-python/python-lzo/python-lzo-1.14.ebuild | 29 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest |
17 |
index c07bc18d739f..161089c5e52d 100644 |
18 |
--- a/dev-python/python-lzo/Manifest |
19 |
+++ b/dev-python/python-lzo/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-lzo-1.12.tar.gz 14042 BLAKE2B 7375e9b200a17cc1ad2c4dfdbe6491082af8d120b2b659b1e9bbff00eaae568e04dc12e5c13de3a028267a1e8e02bd1522a9335db73fa6a5a4ebc7ca4b341fff SHA512 811bdb282cfaf33427ad641d0342900c5af1f17b7033d76593288c3846b0feefe6ef93253152add97b2d6420f937de2745c8e7508dadf33e72b11545cac3be4d |
22 |
+DIST python-lzo-1.14.tar.gz 14050 BLAKE2B e1df6b842562064ca13ddbacb194047ca343694d480a5a65e7d2876ec98a4215b4badb3b2a839f308dea8624c162a0536f363c093bcb2e5b48c68b69fb472729 SHA512 036cf7199afe12cec8b9c7ee92134f58357e1f892870ade3a619541a69c9cc92155892d53bd43330732b848016c2997e096a9a492e52f15d04fa516ca7645b93 |
23 |
|
24 |
diff --git a/dev-python/python-lzo/python-lzo-1.14.ebuild b/dev-python/python-lzo/python-lzo-1.14.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..10b20a55d40a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-lzo/python-lzo-1.14.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=no |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 prefix |
39 |
+ |
40 |
+DESCRIPTION="Python interface to lzo" |
41 |
+HOMEPAGE="https://github.com/jd-boyd/python-lzo" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+ |
48 |
+RDEPEND="dev-libs/lzo:2" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+ |
51 |
+# We can't use pytest at the moment because the package uses "yield tests" |
52 |
+# https://docs.pytest.org/en/6.2.x/deprecations.html#yield-tests |
53 |
+distutils_enable_tests --install nose |
54 |
+ |
55 |
+python_prepare_all() { |
56 |
+ hprefixify setup.py |
57 |
+ distutils-r1_python_prepare_all |
58 |
+} |