Сравнение tables-3.8.0-r3 с tables-3.9.0
/usr/portage/dev-python/tables/tables-3.9.0.ebuild 2023-10-09 14:52:30.388368373 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DISTUTILS_EXT=1 |
7 |
PYPI_PN="tables" |
|
7 |
DISTUTILS_USE_PEP517=setuptools |
|
8 | 8 |
PYTHON_COMPAT=( python3_{10..11} ) |
9 | 9 |
PYTHON_REQ_USE="threads(+)" |
10 | 10 | |
... | ... | |
19 | 19 | |
20 | 20 |
LICENSE="BSD" |
21 | 21 |
SLOT="0" |
22 |
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" |
|
22 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
|
23 | 23 |
IUSE="+cpudetection examples test" |
24 | 24 |
RESTRICT="!test? ( test )" |
25 | 25 | |
... | ... | |
30 | 30 |
>=dev-libs/c-blosc-1.11.1:0= |
31 | 31 |
dev-libs/c-blosc2:= |
32 | 32 |
dev-libs/lzo:2= |
33 |
>=dev-python/numpy-1.19[${PYTHON_USEDEP}] |
|
33 |
>=dev-python/numpy-1.19.0[${PYTHON_USEDEP}] |
|
34 | 34 |
>=sci-libs/hdf5-1.8.4:= |
35 | 35 |
" |
36 | 36 |
RDEPEND=" |
... | ... | |
49 | 49 |
" |
50 | 50 | |
51 | 51 |
python_prepare_all() { |
52 |
local PATCHES=( |
|
53 |
"${FILESDIR}"/${P}-blosc2.patch |
|
54 |
"${FILESDIR}"/${P}-optional-cpuinfo.patch |
|
55 |
"${FILESDIR}"/${P}-cython3.patch |
|
56 |
) |
|
57 | ||
58 | 52 |
export PYTABLES_NO_EMBEDDED_LIBS=1 |
59 | 53 |
export USE_PKGCONFIG=TRUE |
60 | 54 | |
61 | 55 |
rm -r c-blosc/{blosc,internal-complibs} || die |
62 |
rm tables/libblosc2.so || die |
|
63 | 56 |
sed -i -e '/blosc2/d' requirements.txt || die |
64 | 57 |
hprefixify -w '/prefixes =/' setup.py |
65 | 58 |
distutils-r1_python_prepare_all |
66 | 59 |
} |
67 | 60 | |
68 |
python_compile() { |
|
69 |
distutils-r1_python_compile -j1 |
|
70 |
} |
|
71 | ||
72 | 61 |
python_test() { |
73 |
cd "${BUILD_DIR}"/lib* || die |
|
62 |
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die |
|
74 | 63 |
"${EPYTHON}" tables/tests/test_all.py -v || die |
75 | 64 |
} |
76 | 65 |