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/blosc/, dev-python/blosc/files/
Date: Sun, 31 Jan 2021 20:04:16
Message-Id: 1612123446.56b0faee408015634a450c6ce608923497aab644.mgorny@gentoo
1 commit: 56b0faee408015634a450c6ce608923497aab644
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 31 19:52:20 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 31 20:04:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b0faee
7
8 dev-python/blosc: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/blosc/Manifest | 2 -
13 dev-python/blosc/blosc-1.10.0.ebuild | 46 ---------------------
14 dev-python/blosc/blosc-1.9.2.ebuild | 49 -----------------------
15 dev-python/blosc/files/blosc-1.9.1-unbundle.patch | 23 -----------
16 4 files changed, 120 deletions(-)
17
18 diff --git a/dev-python/blosc/Manifest b/dev-python/blosc/Manifest
19 index 527dee909a8..4751f705fe7 100644
20 --- a/dev-python/blosc/Manifest
21 +++ b/dev-python/blosc/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST blosc-1.10.0.tar.gz 845312 BLAKE2B 15f367f1420f56e64ec01e74d7320adc194db11d15bd26a2b78c59c88a6127f1d2b5fc7bd53e02a6d0cad785c87cf79bb909dec62982b5ee8620c92ccdd80249 SHA512 f071d131966acd74cf71f8688ae9830091ee12a92399e8736f2b2cc2243bc022f9fd194c60493e912aef87a54202813a67a8f9bddd90c1c44631205d58c3f3e3
24 DIST blosc-1.10.1.tar.gz 858162 BLAKE2B 768ae6d438d9fe05589460dcaeea77dbf2e0212bbc67388c6df1b9fc6bd1921e8cd79da2039cd4300cd91923d7988f8c4741ea1dbd5ebfa13e48f3ade678ac09 SHA512 06e393efa3fc7060205a483787eb4c5befe75dfdd6321b37c43ed7830dccf4d622bd88451e97da663ed9dc9302c30d7486315de9aff6351721862e2eceddd9a3
25 DIST blosc-1.10.2.tar.gz 858096 BLAKE2B ff314011e1afc2d972c2445df9ad25c245494479201ddd0944ddf5f14aa0aa772c9da1e117eb5395f5488e7238aefe1236d9a5579b4d03be2b041790de9575e8 SHA512 82dab50a49ddd45d8276fd43999233f41b507e35af5897ed4945565fde8f56be0855b0dd926d254bd77904ec7a13ad3f024007159510b677769d97599b731222
26 -DIST blosc-1.9.2.tar.gz 816897 BLAKE2B 7d1a2d925500c8ddb93975dd785c03b91dec2716a438915d5dfdb739c650de8a47ed80eb25fc55357e69b586c446c5af61212e0a4fba8158839a66849309f478 SHA512 a8f53afb7fb1bb742e2daa03015b636d4dbb1fd073be079022364ec67035c9e6ee372ab07f7ce06579b85d9fcaedd2a11f30b9cf5b2bd1d1ea62cf32a8aa3c1f
27
28 diff --git a/dev-python/blosc/blosc-1.10.0.ebuild b/dev-python/blosc/blosc-1.10.0.ebuild
29 deleted file mode 100644
30 index 115df5959d2..00000000000
31 --- a/dev-python/blosc/blosc-1.10.0.ebuild
32 +++ /dev/null
33 @@ -1,46 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{7..9} )
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="High performance compressor optimized for binary data"
44 -HOMEPAGE="http://python-blosc.blosc.org"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -SLOT="0"
48 -LICENSE="MIT"
49 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
50 -IUSE="test"
51 -RESTRICT="!test? ( test )"
52 -
53 -RDEPEND=">=dev-libs/c-blosc-1.19.0:="
54 -DEPEND="${RDEPEND}"
55 -BDEPEND="
56 - dev-python/scikit-build[${PYTHON_USEDEP}]
57 - test? (
58 - dev-python/numpy[${PYTHON_USEDEP}]
59 - )
60 -"
61 -
62 -DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst )
63 -PATCHES=(
64 - "${FILESDIR}"/blosc-1.10.0-unbundle.patch
65 -)
66 -
67 -python_prepare_all() {
68 - export BLOSC_DIR="${EPREFIX}/usr"
69 - distutils-r1_python_prepare_all
70 -}
71 -
72 -python_test() {
73 - "${EPYTHON}" -m blosc.test -v || die
74 -}
75 -
76 -python_install() {
77 - distutils-r1_python_install
78 - python_optimize
79 -}
80
81 diff --git a/dev-python/blosc/blosc-1.9.2.ebuild b/dev-python/blosc/blosc-1.9.2.ebuild
82 deleted file mode 100644
83 index f09441ce889..00000000000
84 --- a/dev-python/blosc/blosc-1.9.2.ebuild
85 +++ /dev/null
86 @@ -1,49 +0,0 @@
87 -# Copyright 1999-2020 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI=7
91 -
92 -DISTUTILS_USE_SETUPTOOLS=no
93 -PYTHON_COMPAT=( python3_{7..9} )
94 -
95 -inherit distutils-r1
96 -
97 -DESCRIPTION="High performance compressor optimized for binary data"
98 -HOMEPAGE="http://python-blosc.blosc.org"
99 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
100 -
101 -SLOT="0"
102 -LICENSE="MIT"
103 -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
104 -IUSE="test"
105 -RESTRICT="!test? ( test )"
106 -
107 -RDEPEND=">=dev-libs/c-blosc-1.19.0:="
108 -DEPEND="${RDEPEND}"
109 -BDEPEND="
110 - dev-python/scikit-build[${PYTHON_USEDEP}]
111 - test? (
112 - dev-python/nose[${PYTHON_USEDEP}]
113 - dev-python/numpy[${PYTHON_USEDEP}]
114 - )
115 -"
116 -
117 -PATCHES=(
118 - "${FILESDIR}"/blosc-1.9.1-unbundle.patch
119 -)
120 -
121 -python_prepare_all() {
122 - export BLOSC_DIR="${EPREFIX}/usr"
123 - distutils-r1_python_prepare_all
124 - DOCS=( ANNOUNCE.rst README.rst RELEASE_NOTES.rst )
125 -}
126 -
127 -python_test() {
128 - cd "${BUILD_DIR}"/lib || die
129 - PYTHONPATH=. nosetests -v || die
130 -}
131 -
132 -python_install() {
133 - distutils-r1_python_install
134 - python_optimize
135 -}
136
137 diff --git a/dev-python/blosc/files/blosc-1.9.1-unbundle.patch b/dev-python/blosc/files/blosc-1.9.1-unbundle.patch
138 deleted file mode 100644
139 index 55af5f0c621..00000000000
140 --- a/dev-python/blosc/files/blosc-1.9.1-unbundle.patch
141 +++ /dev/null
142 @@ -1,23 +0,0 @@
143 -diff --git a/CMakeLists.txt b/CMakeLists.txt
144 -index 2711877..a4c949c 100644
145 ---- a/CMakeLists.txt
146 -+++ b/CMakeLists.txt
147 -@@ -4,16 +4,9 @@ find_package(PythonExtensions REQUIRED)
148 -
149 - # Todo: c-blosc provides a CMake package configuration file that we can build
150 - # against if blosc is available on the system, etc.
151 --# find_package(blosc)
152 --# if(NOT blosc_FOUND)
153 --set(BUILD_STATIC ON CACHE BOOL "Build a static version of the blosc library.")
154 --set(BUILD_SHARED OFF CACHE BOOL "Build a shared library version of the blosc library.")
155 --set(BUILD_TESTS OFF CACHE BOOL "Build test programs form the blosc compression library")
156 --set(BUILD_BENCHMARKS OFF CACHE BOOL "Build benchmark programs form the blosc compression library")
157 --set(CMAKE_POSITION_INDEPENDENT_CODE ON)
158 --add_subdirectory(c-blosc)
159 -+find_package(blosc)
160 -
161 - add_library(blosc_extension MODULE blosc/blosc_extension.c)
162 --target_link_libraries(blosc_extension blosc_static)
163 -+target_link_libraries(blosc_extension blosc)
164 - python_extension_module(blosc_extension)
165 - install(TARGETS blosc_extension LIBRARY DESTINATION blosc)