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: Thu, 30 May 2019 11:37:52
Message-Id: 1559215766.f24c2dde6c2fd613e3541882b9e9c5d3e32194da.mgorny@gentoo
1 commit: f24c2dde6c2fd613e3541882b9e9c5d3e32194da
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 30 11:29:26 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 30 11:29:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f24c2dde
7
8 dev-python/llvmlite: Bump to EAPI 7
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/llvmlite/Manifest | 2 -
13 dev-python/llvmlite/llvmlite-0.27.0.ebuild | 63 ------------------------------
14 dev-python/llvmlite/llvmlite-0.27.1.ebuild | 63 ------------------------------
15 dev-python/llvmlite/llvmlite-0.29.0.ebuild | 2 +-
16 4 files changed, 1 insertion(+), 129 deletions(-)
17
18 diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
19 index 4c16a5cc83d..c4f42becb64 100644
20 --- a/dev-python/llvmlite/Manifest
21 +++ b/dev-python/llvmlite/Manifest
22 @@ -1,7 +1,5 @@
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.26.0.gh.tar.gz 175536 BLAKE2B 6736e94c13974bb79bcda08ef58dd6d1e67d07a0173b5f2ab1b2fcf9a6e72b2a0b8737da5598023fa0c6db85cfd84f2d429f6077e1342a15b500376addd03c69 SHA512 e6bf76b209f44624fe21551971d422bbee6a6dcdfbd2c42607904be32db1b94cfcb185e70198fced5deadd938208d66d94eed4cea31726ae7f4779d58b57eb48
26 -DIST llvmlite-0.27.0.gh.tar.gz 186891 BLAKE2B c7175beeb5c45b6fda62b78b23352d1c22111a37e7fdb89897409c6ab245dab23aa4f799fd5add1bf2199e8f6783d6094101aa29c4afefa2a3dbd48d735b418a SHA512 6c3230f23fec53ddff077c885bc0da4a773049d0226817142e2b7ded9fe6a665dd5cf8c6468101b342ef8e3b394bf2078cf93fc513e46fe451cd75755111448b
27 -DIST llvmlite-0.27.1.gh.tar.gz 186904 BLAKE2B ee3af4b3ec03799ea6e643e0ee0a793537c46427d239fb3a26abf4a719b68432f403367321345c30a95758ce1bce411495bc48273dbf2452a872a1edd67dc9a4 SHA512 365ffd95050a39269d9f806d3969657437111b8e999db6cf03d0d99fc5bcc024dbc08f1d379745572317f8d4384d7f86095216674695c34f463a0b9bf48a8be7
28 DIST llvmlite-0.28.0.gh.tar.gz 191141 BLAKE2B 23c86c28311a4e8c7f9c209a7ed7816ad5002c26f9fda7a47cf2b54c4578db28ed0781b54a716726db8a7c1abce79a79a99c3f5bf4be2a61d547eb74d06cb507 SHA512 c00c767c80a507975a055088ca4328766c992e7267219dea54376daf5eb11397532b243352976d3569185149007650d5e94839b61aa55502e1991f72b1ba492a
29 DIST llvmlite-0.29.0.gh.tar.gz 196507 BLAKE2B d4870ca042d446857b7409c0c50c370458747ee744c24611e88da4bc8780c26125b2e8db3db7fe9d4f553f9aae5769b62effe1ac94cfaf234bab54d43c8086e9 SHA512 8735b46b1a3053b89306bf6e05c8c6c375d15371d33635f1d27e5533d7a78a85f773e04b7ed8d39ebab40a892c374839e1324665d81459cb797f760d6d2c81d1
30
31 diff --git a/dev-python/llvmlite/llvmlite-0.27.0.ebuild b/dev-python/llvmlite/llvmlite-0.27.0.ebuild
32 deleted file mode 100644
33 index 0cb1efa94f0..00000000000
34 --- a/dev-python/llvmlite/llvmlite-0.27.0.ebuild
35 +++ /dev/null
36 @@ -1,63 +0,0 @@
37 -# Copyright 1999-2019 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -
42 -PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
43 -
44 -inherit distutils-r1 llvm
45 -
46 -DESCRIPTION="Python wrapper around the llvm C++ library"
47 -HOMEPAGE="http://llvmlite.pydata.org/"
48 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
53 -IUSE="examples"
54 -
55 -LLVM_MAX_SLOT=7
56 -
57 -RDEPEND="
58 - dev-python/six[${PYTHON_USEDEP}]
59 - sys-devel/llvm:${LLVM_MAX_SLOT}
60 - sys-libs/zlib:0=
61 - virtual/python-enum34[${PYTHON_USEDEP}]
62 -"
63 -DEPEND="${RDEPEND}
64 - dev-python/setuptools[${PYTHON_USEDEP}]
65 -"
66 -
67 -S=${WORKDIR}/${P/_/}
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
71 -)
72 -
73 -python_configure_all() {
74 - # upstream's build system is just horrible, and they ignored the PR
75 - # fixing it, so let's build the shared lib properly using implicit
76 - # make rules
77 -
78 - export LDLIBS=$(llvm-config --libs all)
79 - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
80 - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
81 -
82 - local files=( ffi/*.cpp )
83 - emake -f - <<EOF
84 -ffi/libllvmlite.so: ${files[*]/.cpp/.o}
85 - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
86 -EOF
87 -}
88 -
89 -python_test() {
90 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
91 -}
92 -
93 -python_install_all() {
94 - distutils-r1_python_install_all
95 - if use examples; then
96 - dodoc -r examples
97 - docompress -x /usr/share/doc/${PF}/examples
98 - fi
99 -}
100
101 diff --git a/dev-python/llvmlite/llvmlite-0.27.1.ebuild b/dev-python/llvmlite/llvmlite-0.27.1.ebuild
102 deleted file mode 100644
103 index 0cb1efa94f0..00000000000
104 --- a/dev-python/llvmlite/llvmlite-0.27.1.ebuild
105 +++ /dev/null
106 @@ -1,63 +0,0 @@
107 -# Copyright 1999-2019 Gentoo Authors
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=6
111 -
112 -PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
113 -
114 -inherit distutils-r1 llvm
115 -
116 -DESCRIPTION="Python wrapper around the llvm C++ library"
117 -HOMEPAGE="http://llvmlite.pydata.org/"
118 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
119 -
120 -LICENSE="BSD"
121 -SLOT="0"
122 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
123 -IUSE="examples"
124 -
125 -LLVM_MAX_SLOT=7
126 -
127 -RDEPEND="
128 - dev-python/six[${PYTHON_USEDEP}]
129 - sys-devel/llvm:${LLVM_MAX_SLOT}
130 - sys-libs/zlib:0=
131 - virtual/python-enum34[${PYTHON_USEDEP}]
132 -"
133 -DEPEND="${RDEPEND}
134 - dev-python/setuptools[${PYTHON_USEDEP}]
135 -"
136 -
137 -S=${WORKDIR}/${P/_/}
138 -
139 -PATCHES=(
140 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
141 -)
142 -
143 -python_configure_all() {
144 - # upstream's build system is just horrible, and they ignored the PR
145 - # fixing it, so let's build the shared lib properly using implicit
146 - # make rules
147 -
148 - export LDLIBS=$(llvm-config --libs all)
149 - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
150 - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
151 -
152 - local files=( ffi/*.cpp )
153 - emake -f - <<EOF
154 -ffi/libllvmlite.so: ${files[*]/.cpp/.o}
155 - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
156 -EOF
157 -}
158 -
159 -python_test() {
160 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
161 -}
162 -
163 -python_install_all() {
164 - distutils-r1_python_install_all
165 - if use examples; then
166 - dodoc -r examples
167 - docompress -x /usr/share/doc/${PF}/examples
168 - fi
169 -}
170
171 diff --git a/dev-python/llvmlite/llvmlite-0.29.0.ebuild b/dev-python/llvmlite/llvmlite-0.29.0.ebuild
172 index 98ff820616c..f8d70ec09ca 100644
173 --- a/dev-python/llvmlite/llvmlite-0.29.0.ebuild
174 +++ b/dev-python/llvmlite/llvmlite-0.29.0.ebuild
175 @@ -1,7 +1,7 @@
176 # Copyright 1999-2019 Gentoo Authors
177 # Distributed under the terms of the GNU General Public License v2
178
179 -EAPI=6
180 +EAPI=7
181
182 PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )