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/llvmlite/
Date: Sun, 30 Dec 2018 09:53:42
Message-Id: 1546163459.3d9023e13874c0cb94aadf02c44e448b90b82719.mgorny@gentoo
1 commit: 3d9023e13874c0cb94aadf02c44e448b90b82719
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 30 09:50:54 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 30 09:50:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9023e1
7
8 dev-python/llvmlite: Clean old up (keep one for every LLVM slot)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/llvmlite/Manifest | 3 --
13 dev-python/llvmlite/llvmlite-0.24.0.ebuild | 55 ----------------------
14 dev-python/llvmlite/llvmlite-0.25.0.ebuild | 63 --------------------------
15 dev-python/llvmlite/llvmlite-0.27.0_rc1.ebuild | 63 --------------------------
16 4 files changed, 184 deletions(-)
17
18 diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
19 index 4149aad7862..2de3e0b82d9 100644
20 --- a/dev-python/llvmlite/Manifest
21 +++ b/dev-python/llvmlite/Manifest
22 @@ -1,7 +1,4 @@
23 DIST llvmlite-0.20.0.tar.gz 96753 BLAKE2B ec9cfa554f44162c0d6e755628603c9afd85642998f56ed49c2ff29c3ef975ef4ce14c6555382ca282b70d71a1ff7347c0b773b339b14345e10d3b9ac96ac55e SHA512 c2e0918e7acfba68922f60889180ec660da13ea199c9e8dfb3ac075c295baeb8c90784a6acc3c463cdd696f8f61c42226548d38db5bd8c4397a23cfa7c7ff764
24 DIST llvmlite-0.22.0.gh.tar.gz 156077 BLAKE2B 1b95a0636807fcf38955b32bd5c7c19784df2cc6708f23624c047f0e9caf4eb2fc26c7a1cb778d7cc7e42b8aeaee1ed43c92bcdaf7eb2e798c25f692b96b786a SHA512 633ec4d294dc246ebff5c7931e9bea86efa28323242411f3f54bc34c99085ebaef477b5bfd8224080790a12b188308ff9662c284b360e1a2939f4fe9b84a9458
25 -DIST llvmlite-0.24.0.gh.tar.gz 169577 BLAKE2B 7fedf8b9ec49f537db27a77c5880fb3bb41d126c615e73a4fd503ff781dcd4745c4f708cccd31d9b5544609ab7821e8ef1299856ef13ec3912ad2341af12a3ce SHA512 14b8918f9f58a88596607e697212aa516a99c65f71257d22f09e6b735f517a38f11142a63bf2e8f117c6ceff97153a5e686fa322d62abd14000db7e9ae136900
26 -DIST llvmlite-0.25.0.gh.tar.gz 173304 BLAKE2B 1376dee4b81343d22f218b0bc1c31f6dbd5eb1d8e4788a504626c1a653aa92500ab0685117c0d73c2a561e957dd930e411b4b128a85c9fddc712cee102690521 SHA512 a72b49db7720fa8a76647f9ad875b8e43e8738127a27fcb2646e28a543fb4e334ed690965e0c973e9d50b05fcbe4b9466f87c82936b3d49e61f774d0c7fd827e
27 DIST llvmlite-0.26.0.gh.tar.gz 175536 BLAKE2B 6736e94c13974bb79bcda08ef58dd6d1e67d07a0173b5f2ab1b2fcf9a6e72b2a0b8737da5598023fa0c6db85cfd84f2d429f6077e1342a15b500376addd03c69 SHA512 e6bf76b209f44624fe21551971d422bbee6a6dcdfbd2c42607904be32db1b94cfcb185e70198fced5deadd938208d66d94eed4cea31726ae7f4779d58b57eb48
28 DIST llvmlite-0.27.0.gh.tar.gz 186891 BLAKE2B c7175beeb5c45b6fda62b78b23352d1c22111a37e7fdb89897409c6ab245dab23aa4f799fd5add1bf2199e8f6783d6094101aa29c4afefa2a3dbd48d735b418a SHA512 6c3230f23fec53ddff077c885bc0da4a773049d0226817142e2b7ded9fe6a665dd5cf8c6468101b342ef8e3b394bf2078cf93fc513e46fe451cd75755111448b
29 -DIST llvmlite-0.27.0rc1.gh.tar.gz 185944 BLAKE2B 1df9cd81ea84f8f46d5a0714cf2204a60c807dfdbe159b15c1f68a4de7aefde1ab61e90cbc175983ed252a678538828e0e7ce1c263274f7d49644e515c8dc3c5 SHA512 edab1411f505943a3bd0d9ab7eb90644978b8d3db7c405ba3e2c8d2e47d80fd1bf47028f7516c6799885ac594f4b72b814e1b7543374d4c97eda5e71d87bbedd
30
31 diff --git a/dev-python/llvmlite/llvmlite-0.24.0.ebuild b/dev-python/llvmlite/llvmlite-0.24.0.ebuild
32 deleted file mode 100644
33 index e7d50fc0b39..00000000000
34 --- a/dev-python/llvmlite/llvmlite-0.24.0.ebuild
35 +++ /dev/null
36 @@ -1,55 +0,0 @@
37 -# Copyright 1999-2018 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -
42 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
43 -
44 -inherit distutils-r1 llvm
45 -
46 -DESCRIPTION="Python wrapper around the llvm C++ library"
47 -HOMEPAGE="http://llvmlite.pydata.org/"
48 -# upstream slacks in making pypi releases
49 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
50 -
51 -LICENSE="BSD"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
54 -IUSE="examples"
55 -
56 -LLVM_MAX_SLOT=6
57 -
58 -RDEPEND="
59 - dev-python/six[${PYTHON_USEDEP}]
60 - >=sys-devel/llvm-6.0.0-r1:${LLVM_MAX_SLOT}
61 - sys-libs/zlib:0=
62 - virtual/python-enum34[${PYTHON_USEDEP}]
63 -"
64 -DEPEND="${RDEPEND}
65 - dev-python/setuptools[${PYTHON_USEDEP}]
66 -"
67 -PATCHES=(
68 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
69 -)
70 -
71 -python_prepare_all() {
72 - # disable -flto, we do not force it against user's wishes
73 - # add -fPIC, needed to link against shared libraries
74 - # plus use those vars to force our CXXFLAGS/LDFLAGS in...
75 - export CXX_FLTO_FLAGS="${CXXFLAGS} -fPIC"
76 - export LD_FLTO_FLAGS="${LDFLAGS} -fPIC"
77 - distutils-r1_python_prepare_all
78 -}
79 -
80 -python_test() {
81 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
82 -}
83 -
84 -python_install_all() {
85 - distutils-r1_python_install_all
86 - if use examples; then
87 - insinto /usr/share/doc/${PF}
88 - doins -r examples
89 - docompress -x /usr/share/doc/${PF}/examples
90 - fi
91 -}
92
93 diff --git a/dev-python/llvmlite/llvmlite-0.25.0.ebuild b/dev-python/llvmlite/llvmlite-0.25.0.ebuild
94 deleted file mode 100644
95 index 64fcac01111..00000000000
96 --- a/dev-python/llvmlite/llvmlite-0.25.0.ebuild
97 +++ /dev/null
98 @@ -1,63 +0,0 @@
99 -# Copyright 1999-2018 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=6
103 -
104 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
105 -
106 -inherit distutils-r1 llvm
107 -
108 -DESCRIPTION="Python wrapper around the llvm C++ library"
109 -HOMEPAGE="http://llvmlite.pydata.org/"
110 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
111 -
112 -LICENSE="BSD"
113 -SLOT="0"
114 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
115 -IUSE="examples"
116 -
117 -LLVM_MAX_SLOT=6
118 -
119 -RDEPEND="
120 - dev-python/six[${PYTHON_USEDEP}]
121 - >=sys-devel/llvm-6.0.0-r1:${LLVM_MAX_SLOT}
122 - sys-libs/zlib:0=
123 - virtual/python-enum34[${PYTHON_USEDEP}]
124 -"
125 -DEPEND="${RDEPEND}
126 - dev-python/setuptools[${PYTHON_USEDEP}]
127 -"
128 -
129 -S=${WORKDIR}/${P/_/}
130 -
131 -PATCHES=(
132 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
133 -)
134 -
135 -python_configure_all() {
136 - # upstream's build system is just horrible, and they ignored the PR
137 - # fixing it, so let's build the shared lib properly using implicit
138 - # make rules
139 -
140 - export LDLIBS=$(llvm-config --libs all)
141 - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
142 - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
143 -
144 - local files=( ffi/*.cpp )
145 - emake -f - <<EOF
146 -ffi/libllvmlite.so: ${files[*]/.cpp/.o}
147 - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
148 -EOF
149 -}
150 -
151 -python_test() {
152 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
153 -}
154 -
155 -python_install_all() {
156 - distutils-r1_python_install_all
157 - if use examples; then
158 - dodoc -r examples
159 - docompress -x /usr/share/doc/${PF}/examples
160 - fi
161 -}
162
163 diff --git a/dev-python/llvmlite/llvmlite-0.27.0_rc1.ebuild b/dev-python/llvmlite/llvmlite-0.27.0_rc1.ebuild
164 deleted file mode 100644
165 index 8b4612bd077..00000000000
166 --- a/dev-python/llvmlite/llvmlite-0.27.0_rc1.ebuild
167 +++ /dev/null
168 @@ -1,63 +0,0 @@
169 -# Copyright 1999-2018 Gentoo Foundation
170 -# Distributed under the terms of the GNU General Public License v2
171 -
172 -EAPI=6
173 -
174 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
175 -
176 -inherit distutils-r1 llvm
177 -
178 -DESCRIPTION="Python wrapper around the llvm C++ library"
179 -HOMEPAGE="http://llvmlite.pydata.org/"
180 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
181 -
182 -LICENSE="BSD"
183 -SLOT="0"
184 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
185 -IUSE="examples"
186 -
187 -LLVM_MAX_SLOT=7
188 -
189 -RDEPEND="
190 - dev-python/six[${PYTHON_USEDEP}]
191 - sys-devel/llvm:${LLVM_MAX_SLOT}
192 - sys-libs/zlib:0=
193 - virtual/python-enum34[${PYTHON_USEDEP}]
194 -"
195 -DEPEND="${RDEPEND}
196 - dev-python/setuptools[${PYTHON_USEDEP}]
197 -"
198 -
199 -S=${WORKDIR}/${P/_/}
200 -
201 -PATCHES=(
202 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
203 -)
204 -
205 -python_configure_all() {
206 - # upstream's build system is just horrible, and they ignored the PR
207 - # fixing it, so let's build the shared lib properly using implicit
208 - # make rules
209 -
210 - export LDLIBS=$(llvm-config --libs all)
211 - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
212 - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
213 -
214 - local files=( ffi/*.cpp )
215 - emake -f - <<EOF
216 -ffi/libllvmlite.so: ${files[*]/.cpp/.o}
217 - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
218 -EOF
219 -}
220 -
221 -python_test() {
222 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
223 -}
224 -
225 -python_install_all() {
226 - distutils-r1_python_install_all
227 - if use examples; then
228 - dodoc -r examples
229 - docompress -x /usr/share/doc/${PF}/examples
230 - fi
231 -}