Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/llvmlite/
Date: Fri, 21 Jul 2017 00:23:04
Message-Id: 1500596548.cf5e834b711289a1cfd70b5b99228a577eb32d57.bicatali@gentoo
1 commit: cf5e834b711289a1cfd70b5b99228a577eb32d57
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 19 17:14:18 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 21 00:22:28 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf5e834b
7
8 dev-python/llvmlite: version bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/llvmlite/Manifest | 5 +--
13 dev-python/llvmlite/llvmlite-0.15.0.ebuild | 45 -------------------
14 dev-python/llvmlite/llvmlite-0.16.0.ebuild | 49 ---------------------
15 dev-python/llvmlite/llvmlite-0.17.1.ebuild | 50 ----------------------
16 ...vmlite-0.18.0.ebuild => llvmlite-0.19.0.ebuild} | 6 ++-
17 5 files changed, 6 insertions(+), 149 deletions(-)
18
19 diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
20 index 9ab5268a554..0a6100b321e 100644
21 --- a/dev-python/llvmlite/Manifest
22 +++ b/dev-python/llvmlite/Manifest
23 @@ -1,5 +1,2 @@
24 DIST llvmlite-0.12.1.tar.gz 88271 SHA256 3ce71beebd4cbc7a49abe4eadfc99725477fd43caeb7405650ebb746c7a1d0df SHA512 f5b448f0ae3d84a0d3438dd7bb4c7f87055e551191c4fefb6282539029d25e8c5e1cca9dec5b90c0d99ec0a720719133b2ccf8b9551aa818c3b4626cc522d8d9 WHIRLPOOL 82b3e60520eda83d0e4082d75ca377bd34c9baf7c67688814e6dd3a7ae687b1eacf7ddd9758254e0c61f39ea5af77c847a15f1f8071cf030d9dd07bb2b1020a5
25 -DIST llvmlite-0.15.0.tar.gz 95009 SHA256 c855835537eda61f3a0d19aedc44f006d5084a2d322aee8ffa87aa06bb800dc4 SHA512 db49ed82eae989e7e7abbd72f1c1da5129887f7fce447c684085f98ae2aaf47d24e73b79c5916802edbb8dc55dda92efeac833cb903300560b1aa89f2aeb5dca WHIRLPOOL 66336fa610ae2706c9281f5e7febc8e76e0cacf8cbc151952f6978adb104bcc6b98ac65d9661c7289f258e1e63a1e6e4a139f93efc45cdfd2a26f50c35bc03fb
26 -DIST llvmlite-0.16.0.tar.gz 95284 SHA256 ef3bae32482f91742d91571b5225a6943804291eb9405b98090a7b50942ec5e9 SHA512 97a251ef9d840fc5a25bd673c644207750f2e653ccad5850dec0a7f1bc77170c6ce85d5cd663ab5c109cb1b51ced9545493d35ef81dfe04a3696b5a0c37fa768 WHIRLPOOL ab629a507c2cc27756109162469a0eed8f4dbb059b7c3957df65e059c6e613581fed6380b58686812ed5378a9d2ebe5f754e6de1a5132c89a323b221da203e91
27 -DIST llvmlite-0.17.1.tar.gz 96072 SHA256 9f5d98615ce1852c0f79e52d122ba38adee89752482db9bcbe51c8cd5030d140 SHA512 7169ca9aa8ab6f6cb16135500c94c25b8eb17a4c267871277956068e46b491c9de0e6bcae99650a6681eb8c83ffc5163ebfd678444a47c113510099c1f7599a9 WHIRLPOOL 50d5e7ba4a95dcbf81fcfae475f4b7ef632fa8cbd85283af47f3e4b6b272bd31985968a1eaaaaf129b0cd913c3619879163d6889076956a0f4bd5debc6dc2330
28 -DIST llvmlite-0.18.0.tar.gz 96184 SHA256 25a38af925f0523b834b92216d7f7cc997624942d5958287350c254f5e730404 SHA512 47a49643783cda785c27c90069955f07714b92d1b9a8f7867be464abe027e8406456b958a627d2e4664b8dfb81131247d4da13868531d1bef2b896c670cdf867 WHIRLPOOL eb1274478534841e15a1003ec3239ccccbdaefccedd6032aaa21e2c98c3329645a63a12fb4bbcba2464666dacd848cf2b050809fa797ba8682e4a981b87adce0
29 +DIST llvmlite-0.19.0.tar.gz 97109 SHA256 fbaeb3d584e0f6bac82a33776e9b5f0b5b4a3415a03edeff5d66f6176f0edbe2 SHA512 93551bbab519021abdc66ca099b9090b3af54b048adbce8d16f3700c066bbc4f5c24e5234a8a1ac4bfcdf8bf74d0ac52bb7023251ac948af6ef99fbd5a5324c8 WHIRLPOOL ee6170c09ac897862fee4705b8131f6dfb97a980c8aec73a9316f7d0d57dfeb4a0e3bd629f536cfeb51df682b4838b1c4e267ff3ebaf54f2f5db7193062014f5
30
31 diff --git a/dev-python/llvmlite/llvmlite-0.15.0.ebuild b/dev-python/llvmlite/llvmlite-0.15.0.ebuild
32 deleted file mode 100644
33 index 9649c7db295..00000000000
34 --- a/dev-python/llvmlite/llvmlite-0.15.0.ebuild
35 +++ /dev/null
36 @@ -1,45 +0,0 @@
37 -# Copyright 1999-2017 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} )
43 -
44 -inherit distutils-r1
45 -
46 -DESCRIPTION="Python wrapper around the llvm C++ library"
47 -HOMEPAGE="http://llvmlite.pydata.org/"
48 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
53 -IUSE="examples"
54 -
55 -RDEPEND="
56 - dev-python/six[${PYTHON_USEDEP}]
57 - =sys-devel/llvm-3.8*
58 - sys-libs/zlib:0=
59 - virtual/python-enum34[${PYTHON_USEDEP}]
60 -"
61 -DEPEND="${RDEPEND}
62 - dev-python/setuptools[${PYTHON_USEDEP}]
63 -"
64 -PATCHES=(
65 - "${FILESDIR}"/${P}-use-system-six.patch
66 -)
67 -
68 -python_prepare_all() {
69 - sed -e 's/-flto$/-flto -fPIC/' \
70 - -i ffi/Makefile.linux || die
71 - distutils-r1_python_prepare_all
72 -}
73 -
74 -python_test() {
75 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
76 -}
77 -
78 -python_install_all() {
79 - use examples && local EXAMPLES=( examples/. )
80 - distutils-r1_python_install_all
81 -}
82
83 diff --git a/dev-python/llvmlite/llvmlite-0.16.0.ebuild b/dev-python/llvmlite/llvmlite-0.16.0.ebuild
84 deleted file mode 100644
85 index 47ce82f4870..00000000000
86 --- a/dev-python/llvmlite/llvmlite-0.16.0.ebuild
87 +++ /dev/null
88 @@ -1,49 +0,0 @@
89 -# Copyright 1999-2017 Gentoo Foundation
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=6
93 -
94 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
95 -
96 -inherit distutils-r1
97 -
98 -DESCRIPTION="Python wrapper around the llvm C++ library"
99 -HOMEPAGE="http://llvmlite.pydata.org/"
100 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
101 -
102 -LICENSE="BSD"
103 -SLOT="0"
104 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
105 -IUSE="examples"
106 -
107 -RDEPEND="
108 - dev-python/six[${PYTHON_USEDEP}]
109 - =sys-devel/llvm-3.9*
110 - sys-libs/zlib:0=
111 - virtual/python-enum34[${PYTHON_USEDEP}]
112 -"
113 -DEPEND="${RDEPEND}
114 - dev-python/setuptools[${PYTHON_USEDEP}]
115 -"
116 -PATCHES=(
117 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
118 -)
119 -
120 -python_prepare_all() {
121 - # remove -static-libstdc++, it makes no sense with shared LLVM
122 - # add -fPIC, needed to link against shared libraries
123 - # disable -flto, we do not force it against user's wishes
124 - sed -e 's/-static-libstdc++/-fPIC/' \
125 - -e '/^(CXX|LD)_FLTO_FLAGS/d' \
126 - -i ffi/Makefile.linux || die
127 - distutils-r1_python_prepare_all
128 -}
129 -
130 -python_test() {
131 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
132 -}
133 -
134 -python_install_all() {
135 - use examples && local EXAMPLES=( examples/. )
136 - distutils-r1_python_install_all
137 -}
138
139 diff --git a/dev-python/llvmlite/llvmlite-0.17.1.ebuild b/dev-python/llvmlite/llvmlite-0.17.1.ebuild
140 deleted file mode 100644
141 index f1172f909bc..00000000000
142 --- a/dev-python/llvmlite/llvmlite-0.17.1.ebuild
143 +++ /dev/null
144 @@ -1,50 +0,0 @@
145 -# Copyright 1999-2017 Gentoo Foundation
146 -# Distributed under the terms of the GNU General Public License v2
147 -
148 -EAPI=6
149 -
150 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
151 -
152 -inherit distutils-r1 llvm
153 -
154 -DESCRIPTION="Python wrapper around the llvm C++ library"
155 -HOMEPAGE="http://llvmlite.pydata.org/"
156 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
157 -
158 -LICENSE="BSD"
159 -SLOT="0"
160 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
161 -IUSE="examples"
162 -
163 -LLVM_MAX_SLOT=4
164 -
165 -RDEPEND="
166 - dev-python/six[${PYTHON_USEDEP}]
167 - sys-devel/llvm:${LLVM_MAX_SLOT}
168 - sys-libs/zlib:0=
169 - virtual/python-enum34[${PYTHON_USEDEP}]
170 -"
171 -DEPEND="${RDEPEND}
172 - dev-python/setuptools[${PYTHON_USEDEP}]
173 -"
174 -PATCHES=(
175 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
176 -)
177 -
178 -python_prepare_all() {
179 - # disable -flto, we do not force it against user's wishes
180 - # add -fPIC, needed to link against shared libraries
181 - # plus use those vars to force our CXXFLAGS/LDFLAGS in...
182 - export CXX_FLTO_FLAGS="${CXXFLAGS} -fPIC"
183 - export LD_FLTO_FLAGS="${LDFLAGS} -fPIC"
184 - distutils-r1_python_prepare_all
185 -}
186 -
187 -python_test() {
188 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
189 -}
190 -
191 -python_install_all() {
192 - use examples && local EXAMPLES=( examples/. )
193 - distutils-r1_python_install_all
194 -}
195
196 diff --git a/dev-python/llvmlite/llvmlite-0.18.0.ebuild b/dev-python/llvmlite/llvmlite-0.19.0.ebuild
197 similarity index 90%
198 rename from dev-python/llvmlite/llvmlite-0.18.0.ebuild
199 rename to dev-python/llvmlite/llvmlite-0.19.0.ebuild
200 index f1172f909bc..1f4d10f64b1 100644
201 --- a/dev-python/llvmlite/llvmlite-0.18.0.ebuild
202 +++ b/dev-python/llvmlite/llvmlite-0.19.0.ebuild
203 @@ -45,6 +45,10 @@ python_test() {
204 }
205
206 python_install_all() {
207 - use examples && local EXAMPLES=( examples/. )
208 distutils-r1_python_install_all
209 + if use examples; then
210 + insinto /usr/share/doc/${PF}
211 + doins -r examples
212 + docompress -x /usr/share/doc/${PF}/examples
213 + fi
214 }