Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytables/
Date: Wed, 29 Dec 2021 08:30:24
Message-Id: 1640766594.fa6c1794d4bb7070bf463a81e4fe1be81a9a5fe6.mgorny@gentoo
1 commit: fa6c1794d4bb7070bf463a81e4fe1be81a9a5fe6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 29 08:29:54 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 29 08:29:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6c1794
7
8 dev-python/pytables: Revert "add 3.7.0"
9
10 Reverts: 976696860684f2583e4c428bc7ec4b033176c984
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/pytables/Manifest | 1 -
14 dev-python/pytables/pytables-3.7.0-r1.ebuild | 83 ----------------------------
15 2 files changed, 84 deletions(-)
16
17 diff --git a/dev-python/pytables/Manifest b/dev-python/pytables/Manifest
18 index 0ef697796364..bb12893a62e8 100644
19 --- a/dev-python/pytables/Manifest
20 +++ b/dev-python/pytables/Manifest
21 @@ -1,2 +1 @@
22 DIST tables-3.6.1.tar.gz 4641089 BLAKE2B 4ef44b1263f40babe6719bac911ab191e9cb0c58c377705b755fa83f1fba5af1d0fab10b0b45bd6af619a9dce4842a80afad8d8fbab64c3be4f35a1b3f117ee3 SHA512 7f018b70251095049bce9075be4e19f72efba9d39121a35c4521f634b1dd5b81ab6de47df3bb44ad6b8b2dbdbff4e6d0985ad1a7b2f13b44f920c0935e5830ff
23 -DIST tables-3.7.0.tar.gz 8227955 BLAKE2B 0d5b7b765375c4787f1210138e5fd02e3c0ce429ef209a3a8d4fd3bc094f68486ab6f4d0a960ce86efea6991ed691ef2a3e9e8f37a49fe91cb8d6372cadea80e SHA512 eaa368d063b5fad87e6d0f9ab6f02da0b2a3542740a52fe8c2bb58e41121495d07b6d2710ad402a28891294aa61a11238c6a7e2cf2933a1bb11391b79cf4fd13
24
25 diff --git a/dev-python/pytables/pytables-3.7.0-r1.ebuild b/dev-python/pytables/pytables-3.7.0-r1.ebuild
26 deleted file mode 100644
27 index bbd5389892f6..000000000000
28 --- a/dev-python/pytables/pytables-3.7.0-r1.ebuild
29 +++ /dev/null
30 @@ -1,83 +0,0 @@
31 -# Copyright 1999-2021 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 -PYTHON_REQ_USE="threads(+)"
38 -
39 -MY_PN=tables
40 -MY_P=${MY_PN}-${PV}
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="Hierarchical datasets for Python"
45 -HOMEPAGE="https://www.pytables.org/"
46 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
47 -S="${WORKDIR}/${MY_P}"
48 -
49 -LICENSE="BSD"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
52 -IUSE="doc examples test"
53 -RESTRICT="!test? ( test )"
54 -
55 -DEPEND="
56 - app-arch/bzip2:0=
57 - app-arch/lz4:0=
58 - >=app-arch/zstd-1.0.0:=
59 - >=dev-libs/c-blosc-1.11.1:0=
60 - dev-libs/lzo:2=
61 - >=dev-python/numpy-1.8.1[${PYTHON_USEDEP}]
62 - >=sci-libs/hdf5-1.10:=
63 -"
64 -RDEPEND="${DEPEND}
65 - >=dev-python/numexpr-2.5.2[${PYTHON_USEDEP}]
66 - dev-python/six[${PYTHON_USEDEP}]"
67 -BDEPEND="
68 - >=dev-python/cython-0.21[${PYTHON_USEDEP}]
69 - virtual/pkgconfig
70 - test? (
71 - dev-python/mock[${PYTHON_USEDEP}]
72 - ${RDEPEND}
73 - )
74 -"
75 -
76 -DOCS=( doc/source/release_notes.rst THANKS )
77 -
78 -python_prepare_all() {
79 - export {BLOSC,BZIP2,LZO,HDF5}_DIR="${ESYSROOT}"/usr
80 - export PYTABLES_NO_EMBEDDED_LIBS=1
81 - export USE_PKGCONFIG=TRUE
82 -
83 - rm tables/*.c || die
84 - sed -e "s:/usr:${EPREFIX}/usr:g" \
85 - -i setup.py || die
86 - rm -r c-blosc/{blosc,internal-complibs} || die
87 - sed -i -e '/_version/ s/\\s\*/\\s\+/' setup.py || die
88 - distutils-r1_python_prepare_all
89 -}
90 -
91 -python_compile() {
92 - distutils-r1_python_compile -j1
93 -}
94 -
95 -python_test() {
96 - cd "${BUILD_DIR}"/lib* || die
97 - "${EPYTHON}" tables/tests/test_all.py -v || die "Tests failed with ${EPYTHON}"
98 -}
99 -
100 -python_install_all() {
101 - if use doc; then
102 - DOCS+=( doc/scripts )
103 - fi
104 -
105 - distutils-r1_python_install_all
106 -
107 - if use examples; then
108 - dodoc -r examples
109 - dodoc -r contrib
110 - docompress -x /usr/share/doc/${PF}/examples
111 - docompress -x /usr/share/doc/${PF}/contrib
112 - fi
113 -}