1 |
commit: 5b3477b82bcb5d797062eaa77a6989d0ceeaac56 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 3 17:30:32 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 3 17:49:07 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3477b8 |
7 |
|
8 |
dev-python/zstd: add 1.5.1.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/zstd/Manifest | 1 + |
13 |
dev-python/zstd/zstd-1.5.1.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zstd/Manifest b/dev-python/zstd/Manifest |
17 |
index 03a0f6b95d64..68753008095c 100644 |
18 |
--- a/dev-python/zstd/Manifest |
19 |
+++ b/dev-python/zstd/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST zstd-1.5.0.2.tar.gz 528892 BLAKE2B 9aaa0beba1a6703d881daf5c5e10d93a8c67923d07773bce5eda3eba652f50c4cb4aa18d2ea9bea304a8742a7e8501568679837aa8bb1e71fe6eff5a5d08d193 SHA512 a7a6033e743c5bc0fa5256dfd256c2a9417c200cda5d5c02c6c7a5d5553d188637e21908658a4a948e565b16bb03f85f57c74d51c63a3ae7eb160f8b3bdbd3c3 |
22 |
DIST zstd-1.5.0.4.tar.gz 535965 BLAKE2B 6b0440676952f4a50ac23aa3e0c137486a1d9b822ec661510a18882e97aac7c38039d449748a9c029409ae1cdb5275905f0c58a12d151f31f7b99e9d501da533 SHA512 aa74b4a60bcbf138b337b13111489212b28b599fbfbfcc7e058ed03a6d6ba539fed8742babae3d37a1790b26e987d9f111fb6430bfb3f72c3de7794b1f23539b |
23 |
+DIST zstd-1.5.1.0.tar.gz 604039 BLAKE2B 5f3e2f2848d67d2455bab721d011946fa8138729566243046e2b294e51c1144a0a0576f9e64e15472c8da4b45514a052a751b2ac3d87f17301ab634f560bf19a SHA512 4775f9db3b924116272060fd46885a601ec5153b350974ef5fe41878f10aad0fee428f053ce71aaf881eb73bfc11ae1d89148f65447fc6febe3f53a50ffa0a63 |
24 |
|
25 |
diff --git a/dev-python/zstd/zstd-1.5.1.0.ebuild b/dev-python/zstd/zstd-1.5.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c5b4fa69631c |
28 |
--- /dev/null |
29 |
+++ b/dev-python/zstd/zstd-1.5.1.0.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 2020-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Simple python bindings to Yann Collet ZSTD compression library" |
40 |
+HOMEPAGE="https://github.com/sergey-dryabzhinsky/python-zstd" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+ |
47 |
+DEPEND=" |
48 |
+ app-arch/zstd:= |
49 |
+" |
50 |
+RDEPEND="${DEPEND} |
51 |
+ !dev-python/zstandard[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+ |
54 |
+distutils_enable_tests unittest |
55 |
+ |
56 |
+src_configure() { |
57 |
+ DISTUTILS_ARGS=( --external ) |
58 |
+ |
59 |
+ # for tests |
60 |
+ export ZSTD_EXTERNAL=1 |
61 |
+ export VERSION=${PV} |
62 |
+ export PKG_VERSION=${PV} |
63 |
+ export LEGACY=0 |
64 |
+} |