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 Jul 2020 22:11:37
Message-Id: 1596146989.a2aa7a1be2c978d2b764dbcd6f96cc1446032b90.mgorny@gentoo
1 commit: a2aa7a1be2c978d2b764dbcd6f96cc1446032b90
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 29 11:41:42 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 22:09:49 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2aa7a1b
7
8 dev-python/llvmlite: Remove old (LLVM 8)
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.29.0.ebuild | 62 ------------------------------
14 dev-python/llvmlite/llvmlite-0.30.0.ebuild | 62 ------------------------------
15 3 files changed, 126 deletions(-)
16
17 diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
18 index 3540e947496..f103c822cea 100644
19 --- a/dev-python/llvmlite/Manifest
20 +++ b/dev-python/llvmlite/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST llvmlite-0.29.0.gh.tar.gz 196507 BLAKE2B d4870ca042d446857b7409c0c50c370458747ee744c24611e88da4bc8780c26125b2e8db3db7fe9d4f553f9aae5769b62effe1ac94cfaf234bab54d43c8086e9 SHA512 8735b46b1a3053b89306bf6e05c8c6c375d15371d33635f1d27e5533d7a78a85f773e04b7ed8d39ebab40a892c374839e1324665d81459cb797f760d6d2c81d1
23 -DIST llvmlite-0.30.0.gh.tar.gz 199354 BLAKE2B 71ba1b0572d115a28d838a7fa5daca136fb793d41cdebca5834d2977813b4a02837e99d8b1b48d0fa965c5d3bdfe7783314ecbd2a7e7075b82247ea5fa4f90a4 SHA512 e3a64a3170efe1bffb6eeb8d6cfdc5a9bf8cc9e123da0b317b6b8dd93dacd3a54d5117c22eca43226915e7ff2793ab66cdee00c5e6ada442d9c2f7fed6e40763
24 DIST llvmlite-0.32.1.gh.tar.gz 194191 BLAKE2B 4d35ce0f4903a17285b6f6296f0260787cc102804f1144c1b329815d41ca7471e1942aaecac26f06aa76804cc1b8a77130063de22376c78f30819554e459716f SHA512 00ce075deb8048350f4d4ac23e2e8a629b7c12aefefe3855e430aaf5e2df8170cf97a043001397a84101a7d0065671b30eb327837b24f86dd36b855309c19bfa
25 DIST llvmlite-0.33.0.gh.tar.gz 196450 BLAKE2B 3b1842b53eabf5cbc30aa642e12d214bd0cf8473f39873ad2b83de830a251ceac20281e2c8a528fff4623faeebf1583ab539cac74587bcb49ccaac22c922a16f SHA512 50b35db717ccc9d78cb7faa2e0b43cf4a622c5fca662ceb18c14163a26456fb79ed844db9a50e4566a2ea5c26089a419ca130d16b18a2486d4137e8a410ee3b9
26
27 diff --git a/dev-python/llvmlite/llvmlite-0.29.0.ebuild b/dev-python/llvmlite/llvmlite-0.29.0.ebuild
28 deleted file mode 100644
29 index da14d78a83b..00000000000
30 --- a/dev-python/llvmlite/llvmlite-0.29.0.ebuild
31 +++ /dev/null
32 @@ -1,62 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python{3_6,3_7} )
39 -
40 -inherit distutils-r1 llvm
41 -
42 -DESCRIPTION="Python wrapper around the llvm C++ library"
43 -HOMEPAGE="http://llvmlite.pydata.org/"
44 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
49 -IUSE="examples"
50 -
51 -LLVM_MAX_SLOT=8
52 -
53 -RDEPEND="
54 - dev-python/six[${PYTHON_USEDEP}]
55 - sys-devel/llvm:${LLVM_MAX_SLOT}
56 - sys-libs/zlib:0=
57 -"
58 -DEPEND="${RDEPEND}
59 - dev-python/setuptools[${PYTHON_USEDEP}]
60 -"
61 -
62 -S=${WORKDIR}/${P/_/}
63 -
64 -PATCHES=(
65 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
66 -)
67 -
68 -python_configure_all() {
69 - # upstream's build system is just horrible, and they ignored the PR
70 - # fixing it, so let's build the shared lib properly using implicit
71 - # make rules
72 -
73 - export LDLIBS=$(llvm-config --libs all)
74 - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
75 - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
76 -
77 - local files=( ffi/*.cpp )
78 - emake -f - <<EOF
79 -ffi/libllvmlite.so: ${files[*]/.cpp/.o}
80 - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
81 -EOF
82 -}
83 -
84 -python_test() {
85 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
86 -}
87 -
88 -python_install_all() {
89 - distutils-r1_python_install_all
90 - if use examples; then
91 - dodoc -r examples
92 - docompress -x /usr/share/doc/${PF}/examples
93 - fi
94 -}
95
96 diff --git a/dev-python/llvmlite/llvmlite-0.30.0.ebuild b/dev-python/llvmlite/llvmlite-0.30.0.ebuild
97 deleted file mode 100644
98 index a5ddc040e87..00000000000
99 --- a/dev-python/llvmlite/llvmlite-0.30.0.ebuild
100 +++ /dev/null
101 @@ -1,62 +0,0 @@
102 -# Copyright 1999-2020 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=7
106 -
107 -PYTHON_COMPAT=( python{3_6,3_7} )
108 -
109 -inherit distutils-r1 llvm
110 -
111 -DESCRIPTION="Python wrapper around the llvm C++ library"
112 -HOMEPAGE="http://llvmlite.pydata.org/"
113 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
114 -
115 -LICENSE="BSD"
116 -SLOT="0"
117 -KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
118 -IUSE="examples"
119 -
120 -LLVM_MAX_SLOT=8
121 -
122 -RDEPEND="
123 - dev-python/six[${PYTHON_USEDEP}]
124 - sys-devel/llvm:${LLVM_MAX_SLOT}
125 - sys-libs/zlib:0=
126 -"
127 -DEPEND="${RDEPEND}
128 - dev-python/setuptools[${PYTHON_USEDEP}]
129 -"
130 -
131 -S=${WORKDIR}/${P/_/}
132 -
133 -PATCHES=(
134 - "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch
135 -)
136 -
137 -python_configure_all() {
138 - # upstream's build system is just horrible, and they ignored the PR
139 - # fixing it, so let's build the shared lib properly using implicit
140 - # make rules
141 -
142 - export LDLIBS=$(llvm-config --libs all)
143 - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
144 - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
145 -
146 - local files=( ffi/*.cpp )
147 - emake -f - <<EOF
148 -ffi/libllvmlite.so: ${files[*]/.cpp/.o}
149 - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
150 -EOF
151 -}
152 -
153 -python_test() {
154 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
155 -}
156 -
157 -python_install_all() {
158 - distutils-r1_python_install_all
159 - if use examples; then
160 - dodoc -r examples
161 - docompress -x /usr/share/doc/${PF}/examples
162 - fi
163 -}