From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/llvmlite/
Date: Sat, 13 Mar 2021 08:38:01 +0000 (UTC) [thread overview]
Message-ID: <1615624677.d53cd5daa8a2b2603ff9ee44e90bc84de7ed657e.mgorny@gentoo> (raw)
commit: d53cd5daa8a2b2603ff9ee44e90bc84de7ed657e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 07:48:37 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 08:37:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53cd5da
dev-python/llvmlite: Bump to 0.36.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/llvmlite/Manifest | 1 +
dev-python/llvmlite/llvmlite-0.36.0.ebuild | 56 ++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
index f06c761a5fb..76198df0067 100644
--- a/dev-python/llvmlite/Manifest
+++ b/dev-python/llvmlite/Manifest
@@ -1,2 +1,3 @@
DIST llvmlite-0.34.0.gh.tar.gz 210438 BLAKE2B 832ec28047a51b2874a0de5885445b9d77942a70f86620dfb0b25ff0b17395b6009d31d5e9f27ddf02c19ae97bd5b325fc49227fdc0499a9f5fa3bde44e6b564 SHA512 5540df4ebad835e294c00cc09ab1230a530566f563f751f890752f6e22f7b2a04aedcbb53dbbb8e323198d05c80bc9699b593d919eaf1af60fa6f94ff6f50bb1
DIST llvmlite-0.35.0.gh.tar.gz 228089 BLAKE2B 5cee01244552cfc1c2ba979709170484ed253f52c5c47a4a254bf7d26c935ff0d2a858b7a7f4ec7719644495383128adab11a1287849cd426b7997da4a59efeb SHA512 345b6321277749a169cd87e152261ef499edbf18d18ef7085017c111f2892eac0241529cfae9c6eaaeb68cdb4d726965ed03b4d5a836501dcbdaa73d3c0796fd
+DIST llvmlite-0.36.0.gh.tar.gz 232059 BLAKE2B 2d1ace28003d52271fb20f086ba37bec1f2f72c0092ea7a8fa2a1ee8d30c319f9625938a8ebdb69dec5dec63d5a67b598a071401e5e1db9de973d55fd889dc8a SHA512 a769255f276e429def4d6f8d35d516df3ae3e026fb8b4af33c1695a9ea24c64a84c38943b530756c4ffc5c619611158e947de391bba501223dbf2a4cd21d53c0
diff --git a/dev-python/llvmlite/llvmlite-0.36.0.ebuild b/dev-python/llvmlite/llvmlite-0.36.0.ebuild
new file mode 100644
index 00000000000..be873c25150
--- /dev/null
+++ b/dev-python/llvmlite/llvmlite-0.36.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1 llvm
+
+DESCRIPTION="Python wrapper around the llvm C++ library"
+HOMEPAGE="https://llvmlite.pydata.org/"
+SRC_URI="https://github.com/numba/llvmlite/archive/v${PV/_/}.tar.gz -> ${P/_/}.gh.tar.gz"
+S=${WORKDIR}/${P/_/}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+LLVM_MAX_SLOT=10
+
+RDEPEND="
+ sys-devel/llvm:${LLVM_MAX_SLOT}
+ sys-libs/zlib:0=
+"
+DEPEND="${RDEPEND}"
+
+python_configure_all() {
+ # upstream's build system is just horrible, and they ignored the PR
+ # fixing it, so let's build the shared lib properly using implicit
+ # make rules
+
+ export LDLIBS=$(llvm-config --libs all)
+ export CXXFLAGS="$(llvm-config --cxxflags) -fPIC ${CXXFLAGS}"
+ export LDFLAGS="$(llvm-config --ldflags) ${LDFLAGS}"
+
+ local files=( ffi/*.cpp )
+ emake -f - <<EOF
+ffi/libllvmlite.so: ${files[*]/.cpp/.o}
+ \$(CXX) -shared \$(CXXFLAGS) \$(LDFLAGS) -o \$@ \$^ \$(LDLIBS)
+EOF
+
+ export LLVMLITE_SKIP_LLVM_VERSION_CHECK=1
+}
+
+python_test() {
+ "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
next reply other threads:[~2021-03-13 8:38 UTC|newest]
Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-13 8:38 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-12 20:29 [gentoo-commits] repo/gentoo:master commit in: dev-python/llvmlite/ Michał Górny
2021-09-12 17:38 Sam James
2021-09-12 7:31 Sam James
2021-09-12 7:24 Agostino Sarubbo
2021-09-12 7:09 Agostino Sarubbo
2021-08-21 7:56 Michał Górny
2021-05-10 18:08 Michał Górny
2021-05-06 10:01 Sam James
2021-05-04 19:13 Sam James
2021-04-13 7:36 Agostino Sarubbo
2021-03-03 13:54 Sam James
2021-01-21 7:40 Agostino Sarubbo
2020-12-01 10:32 Michał Górny
2020-09-19 7:21 Michał Górny
2020-09-19 2:19 Sam James
2020-09-18 8:26 Agostino Sarubbo
2020-09-18 7:45 Agostino Sarubbo
2020-09-18 7:29 Agostino Sarubbo
2020-08-13 9:22 Michał Górny
2020-07-30 22:11 Michał Górny
2020-07-19 7:37 Agostino Sarubbo
2020-07-18 23:30 Sam James
2020-07-09 10:55 Michał Górny
2020-06-11 8:01 Michał Górny
2020-05-11 9:04 Michał Górny
2020-02-05 16:24 Michał Górny
2019-12-09 19:20 Michał Górny
2019-10-11 14:13 Michał Górny
2019-09-16 22:13 Aaron Bauman
2019-09-13 15:47 Mikle Kolyada
2019-09-10 7:10 Agostino Sarubbo
2019-09-10 7:06 Agostino Sarubbo
2019-09-09 19:02 Michał Górny
2019-06-02 7:20 Michał Górny
2019-05-30 11:37 Michał Górny
2019-05-30 11:37 Michał Górny
2019-05-30 11:37 Michał Górny
2019-05-22 12:47 Michał Górny
2019-05-13 17:36 Aaron Bauman
2019-05-11 11:25 Mikle Kolyada
2019-03-13 7:37 Michał Górny
2019-02-02 10:31 Michał Górny
2019-01-17 21:09 Mikle Kolyada
2018-12-30 9:53 Michał Górny
2018-12-30 9:49 Michał Górny
2018-12-29 19:12 Thomas Deutschmann
2018-12-26 13:34 Michał Górny
2018-11-28 9:04 Michał Górny
2018-09-19 14:39 Michał Górny
2018-09-19 14:39 Michał Górny
2018-09-11 7:25 Michał Górny
2018-09-11 7:25 Michał Górny
2018-07-21 5:55 Michał Górny
2018-07-21 0:06 Mikle Kolyada
2018-07-07 5:31 Michał Górny
2018-07-07 5:31 Michał Górny
2018-06-26 17:17 Mike Gilbert
2018-06-01 18:38 Michał Górny
2018-04-25 14:36 Michał Górny
2018-04-11 16:19 Michał Górny
2018-03-29 10:19 Michał Górny
2018-02-16 12:20 Michał Górny
2018-01-29 1:06 Thomas Deutschmann
2018-01-17 22:14 Mikle Kolyada
2017-12-29 18:54 Mikle Kolyada
2017-12-28 18:45 Thomas Deutschmann
2017-12-09 8:36 Michał Górny
2017-11-29 17:50 Michał Górny
2017-09-16 8:11 Michał Górny
2017-07-22 6:37 Michał Górny
2017-07-21 0:23 Sebastien Fabbro
2017-04-22 21:36 Michał Górny
2017-04-22 21:36 Michał Górny
2017-04-10 17:36 Michał Górny
2017-04-10 17:36 Michał Górny
2016-12-26 10:55 Aaron Bauman
2016-11-15 14:32 Michał Górny
2016-09-02 20:53 Patrick Lauer
2016-07-21 13:15 Patrick Lauer
2016-06-08 13:46 Patrick Lauer
2016-05-19 4:13 Benda XU
2016-04-06 5:29 Patrick Lauer
2016-03-05 10:33 Patrick Lauer
2016-03-05 10:33 Patrick Lauer
2015-11-20 14:11 Benda XU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615624677.d53cd5daa8a2b2603ff9ee44e90bc84de7ed657e.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox