1 |
commit: 3b4e059dd65bc80ab29d75be0ff0b495b07812f0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 03:05:40 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 03:09:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b4e059d |
7 |
|
8 |
dev-python/python-zstandard: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-zstandard/Manifest | 1 - |
13 |
.../python-zstandard-0.18.0.ebuild | 67 ---------------------- |
14 |
2 files changed, 68 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/python-zstandard/Manifest b/dev-python/python-zstandard/Manifest |
17 |
index b756baa120d3..eca36ccda64c 100644 |
18 |
--- a/dev-python/python-zstandard/Manifest |
19 |
+++ b/dev-python/python-zstandard/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST python-zstandard-0.18.0.gh.tar.gz 678765 BLAKE2B 7a297e76d65c6f5adbb87cc615f474d58c66bc9ee4050eb10277b596f7efda9109de815188b6efe55beb7aa637ec4779359a573c87094661ae28a080c9619576 SHA512 d573da893e3a372143271c7d9dec15cd4e9dd7355d2069e283df8b3feadbf999dddcc0aa37a2831a370526b2b045497f46326dcf13d3680dd8ee624bca1e7666 |
22 |
DIST python-zstandard-0.19.0.gh.tar.gz 683942 BLAKE2B 5b28fb6360147f87fb658d28652e5e43b0e41ff3cc31e46d91b1dcdd5334869f9a10a598f3d1d15a8c0f02afc59d009a8088ba3e81066f1a5f1ad9c05ebd4a1d SHA512 56e7b43161940f182ff5a0745bb6bdb2710c9a61140c4a84b690e0abd18c8b862211ab2b1ba36cfd99fe75bb0ae00af7de798b010b2bd4c5a44d691d4fa0c63d |
23 |
|
24 |
diff --git a/dev-python/python-zstandard/python-zstandard-0.18.0.ebuild b/dev-python/python-zstandard/python-zstandard-0.18.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index d09cefcdc730..000000000000 |
27 |
--- a/dev-python/python-zstandard/python-zstandard-0.18.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,67 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-MY_P=python-zstandard-${PV} |
41 |
-DESCRIPTION="Zstandard Bindings for Python" |
42 |
-HOMEPAGE=" |
43 |
- https://github.com/indygreg/python-zstandard/ |
44 |
- https://pypi.org/project/zstandard/ |
45 |
-" |
46 |
-SRC_URI=" |
47 |
- https://github.com/indygreg/python-zstandard/archive/${PV}.tar.gz |
48 |
- -> ${MY_P}.gh.tar.gz |
49 |
-" |
50 |
-S=${WORKDIR}/${MY_P} |
51 |
- |
52 |
-SLOT="0" |
53 |
-LICENSE="BSD" |
54 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
55 |
- |
56 |
-DEPEND=" |
57 |
- app-arch/zstd:= |
58 |
-" |
59 |
-RDEPEND=" |
60 |
- ${DEPEND} |
61 |
- $(python_gen_cond_dep ' |
62 |
- >=dev-python/cffi-1.14.0-r2:=[${PYTHON_USEDEP}] |
63 |
- ' 'python*') |
64 |
-" |
65 |
-BDEPEND=" |
66 |
- test? ( |
67 |
- dev-python/hypothesis[${PYTHON_USEDEP}] |
68 |
- ) |
69 |
-" |
70 |
- |
71 |
-distutils_enable_tests unittest |
72 |
- |
73 |
-src_prepare() { |
74 |
- # the C backend is repeatedly broken, so force CFFI instead |
75 |
- sed -e '/PYTHON_ZSTANDARD_IMPORT_POLICY/s:default:cffi:' \ |
76 |
- -i zstandard/__init__.py || die |
77 |
- # unreliable, fails on x86 |
78 |
- sed -e 's:test_estimated_compression_context_size:_&:' \ |
79 |
- -i tests/test_data_structures.py || die |
80 |
- # unbundle zstd |
81 |
- : > zstd/zstdlib.c || die |
82 |
- # it does random preprocessing on that, so we can't use #include |
83 |
- cp "${ESYSROOT}/usr/include/zstd.h" zstd/zstd.h || die |
84 |
- sed -i -e '/include_dirs/a libraries=["zstd"],' make_cffi.py || die |
85 |
- |
86 |
- distutils-r1_src_prepare |
87 |
- |
88 |
- DISTUTILS_ARGS=( |
89 |
- --no-c-backend |
90 |
- ) |
91 |
-} |
92 |
- |
93 |
-src_test() { |
94 |
- rm -r zstandard || die |
95 |
- distutils-r1_src_test |
96 |
-} |