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, 12 Sep 2021 20:29:27
Message-Id: 1631478556.5a71bd8710693822da751c45e3442bff2c039a52.mgorny@gentoo
1 commit: 5a71bd8710693822da751c45e3442bff2c039a52
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 17:41:07 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 20:29:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a71bd87
7
8 dev-python/llvmlite: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/llvmlite/Manifest | 1 -
13 dev-python/llvmlite/llvmlite-0.36.0.ebuild | 56 ------------------------------
14 2 files changed, 57 deletions(-)
15
16 diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
17 index aa5002c97c6..317bf1f96cb 100644
18 --- a/dev-python/llvmlite/Manifest
19 +++ b/dev-python/llvmlite/Manifest
20 @@ -1,2 +1 @@
21 -DIST llvmlite-0.36.0.gh.tar.gz 232059 BLAKE2B 2d1ace28003d52271fb20f086ba37bec1f2f72c0092ea7a8fa2a1ee8d30c319f9625938a8ebdb69dec5dec63d5a67b598a071401e5e1db9de973d55fd889dc8a SHA512 a769255f276e429def4d6f8d35d516df3ae3e026fb8b4af33c1695a9ea24c64a84c38943b530756c4ffc5c619611158e947de391bba501223dbf2a4cd21d53c0
22 DIST llvmlite-0.37.0.gh.tar.gz 223602 BLAKE2B 74f975d5ac1782528f60f1c0d5c6230a02953e0d494d8323e4caa6651f642ad791ad51df44f6593da41edc5c34bd883f144e95b16f9b8962393d16de013fdbc5 SHA512 665f486fd38c9cc4ee91b15fc75f33451ada6391fc9f1b371091ece844693e0cd8e23766400bf76d9879e8f10f53f4e21f8bb19f3ff1e01c4a95ce9004b0884a
23
24 diff --git a/dev-python/llvmlite/llvmlite-0.36.0.ebuild b/dev-python/llvmlite/llvmlite-0.36.0.ebuild
25 deleted file mode 100644
26 index e7d1d1dbbe8..00000000000
27 --- a/dev-python/llvmlite/llvmlite-0.36.0.ebuild
28 +++ /dev/null
29 @@ -1,56 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7..9} )
36 -
37 -inherit distutils-r1 llvm
38 -
39 -DESCRIPTION="Python wrapper around the llvm C++ library"
40 -HOMEPAGE="https://llvmlite.pydata.org/"
41 -SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
42 -S=${WORKDIR}/${P/_/}
43 -
44 -LICENSE="BSD"
45 -SLOT="0"
46 -KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
47 -IUSE="examples"
48 -
49 -LLVM_MAX_SLOT=10
50 -
51 -RDEPEND="
52 - sys-devel/llvm:${LLVM_MAX_SLOT}
53 - sys-libs/zlib:0=
54 -"
55 -DEPEND="${RDEPEND}"
56 -
57 -python_configure_all() {
58 - # upstream's build system is just horrible, and they ignored the PR
59 - # fixing it, so let's build the shared lib properly using implicit
60 - # make rules
61 -
62 - export LDLIBS=$(llvm-config --libs all)
63 - export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
64 - export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
65 -
66 - local files=( ffi/*.cpp )
67 - emake -f - <<EOF
68 -ffi/libllvmlite.so: ${files[*]/.cpp/.o}
69 - \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
70 -EOF
71 -
72 - export LLVMLITE_SKIP_LLVM_VERSION_CHECK=1
73 -}
74 -
75 -python_test() {
76 - "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
77 -}
78 -
79 -python_install_all() {
80 - distutils-r1_python_install_all
81 - if use examples; then
82 - dodoc -r examples
83 - docompress -x /usr/share/doc/${PF}/examples
84 - fi
85 -}