1 |
commit: 14b2873e7a5a273c372df87b92687d1dc73b48af |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 08:35:52 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 09:07:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14b2873e |
7 |
|
8 |
dev-python/zstandard: Bump to 0.15.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/zstandard/Manifest | 1 + |
13 |
dev-python/zstandard/zstandard-0.15.2.ebuild | 33 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/zstandard/Manifest b/dev-python/zstandard/Manifest |
17 |
index 7f5fdab8093..6bef8d25d2e 100644 |
18 |
--- a/dev-python/zstandard/Manifest |
19 |
+++ b/dev-python/zstandard/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST zstandard-0.14.0.tar.gz 676761 BLAKE2B f90fcee6571f89eb5964ba50c722be8f3b84 |
21 |
DIST zstandard-0.14.1.tar.gz 676849 BLAKE2B ad2a89371301e64428de90adf8770ebb7b43b06d720f5e0e9b490dc8771c55a974625105128c3a8052d68230d2670a802adfbf64708729440fdf624ca8d4fccb SHA512 e49f294816f0c7da35914363dbbdfcc4d432f7fa8367192e07a5d0c093ec8af76966fd0a95b4e8316091f056a8027c383ca73cc9ed506b29e2f9a31bc9ad3379 |
22 |
DIST zstandard-0.15.0.tar.gz 990208 BLAKE2B d31a4c3cec60b642ec8c3a85b9038d6b0153e2be25696591db1a8e8f45b44018e370eb10bc4a902df3da03048a26ad55b2358d3b9912b1802c61bb63ce920523 SHA512 2de5a2047b1a9a146160bfa1cc50adb0ae1ddf23ae346b22d49b04e38987f90dcbb1f15d75c486fb37bf7084de66ebe19d917a37515dedac462102543533c407 |
23 |
DIST zstandard-0.15.1.tar.gz 992126 BLAKE2B 7f6e987402bb5ddada70b56660d6e9d4eb5cd17dfa0041323ba2ef75bdb5362e7bc4fc8415132079a929e34fefdb654860088356b38dc0546b7c4f7108f93252 SHA512 7aabe647fa8c9a696084da6544c27287fe7d57e3a0ce2594c061fd20136e147ded4ea3da3648f6ef93c49636edc1d04ca4f29561514fb13f1a5d0340cd51996b |
24 |
+DIST zstandard-0.15.2.tar.gz 1012864 BLAKE2B 3239a7003d8869182becbaf952b43da8923518e4b5202b115d59fc1492d26bf9703c1ea2dcf525459da023470c134c70525bd040a2d728d24861f7bc1e3a8948 SHA512 0102f3522145c80ec096e9dfac34a5bdd2a98b43b50b8c1e99bcfb0057904c551ababeeb82ced5f8b65945d42b39479cbc29472058679af1f8f91b68ae79f70f |
25 |
|
26 |
diff --git a/dev-python/zstandard/zstandard-0.15.2.ebuild b/dev-python/zstandard/zstandard-0.15.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..ebdd50617be |
29 |
--- /dev/null |
30 |
+++ b/dev-python/zstandard/zstandard-0.15.2.ebuild |
31 |
@@ -0,0 +1,33 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Zstandard Bindings for Python" |
42 |
+HOMEPAGE="https://pypi.org/project/zstandard/ https://github.com/indygreg/python-zstandard" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="BSD" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ $(python_gen_cond_dep '>=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}]' 'python*') |
51 |
+" |
52 |
+BDEPEND=" |
53 |
+ test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )" |
54 |
+ |
55 |
+distutils_enable_tests setup.py |
56 |
+ |
57 |
+python_compile() { |
58 |
+ local MAKEOPTS=-j1 |
59 |
+ distutils-r1_python_compile --system-zstd |
60 |
+} |
61 |
+ |
62 |
+python_install() { |
63 |
+ distutils-r1_python_install --system-zstd |
64 |
+} |