From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2628D138334 for ; Fri, 1 Jun 2018 18:38:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EE0CE0817; Fri, 1 Jun 2018 18:38:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDA08E0817 for ; Fri, 1 Jun 2018 18:38:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 46C40335C30 for ; Fri, 1 Jun 2018 18:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 84A882B4 for ; Fri, 1 Jun 2018 18:38:45 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1527878320.179131d6d849203f828b13d16cb6f5eed24e08aa.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/llvmlite/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/llvmlite/Manifest dev-python/llvmlite/llvmlite-0.23.2.ebuild X-VCS-Directories: dev-python/llvmlite/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 179131d6d849203f828b13d16cb6f5eed24e08aa X-VCS-Branch: master Date: Fri, 1 Jun 2018 18:38:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 70a84e26-1e51-48dc-832e-5f047a76e4b4 X-Archives-Hash: cda4ff8332f1619423c41a1b3c03906c commit: 179131d6d849203f828b13d16cb6f5eed24e08aa Author: Michał Górny gentoo org> AuthorDate: Fri Jun 1 18:15:04 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 1 18:38:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=179131d6 dev-python/llvmlite: Bump to 0.23.2 dev-python/llvmlite/Manifest | 1 + dev-python/llvmlite/llvmlite-0.23.2.ebuild | 55 ++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest index 308985953f7..7c564533ece 100644 --- a/dev-python/llvmlite/Manifest +++ b/dev-python/llvmlite/Manifest @@ -3,3 +3,4 @@ DIST llvmlite-0.20.0.tar.gz 96753 BLAKE2B ec9cfa554f44162c0d6e755628603c9afd8564 DIST llvmlite-0.21.0.tar.gz 96462 BLAKE2B 8458037ca49c2c7035cc65539c1dc933f26c694e07502bfb0f37adfa389c56d715b53310fa977461fa75d7f826384a9c408682bee942e7cda6a299b16192c183 SHA512 25fb0986faf558995e6405a77d675d1dfcda2f79f8e6f5183d66a16f7b1f323df7eefb54455d9a15412c4eb88cd2e160d9f45038b7d97da6fffe78d7adc0e296 DIST llvmlite-0.22.0.gh.tar.gz 156077 BLAKE2B 1b95a0636807fcf38955b32bd5c7c19784df2cc6708f23624c047f0e9caf4eb2fc26c7a1cb778d7cc7e42b8aeaee1ed43c92bcdaf7eb2e798c25f692b96b786a SHA512 633ec4d294dc246ebff5c7931e9bea86efa28323242411f3f54bc34c99085ebaef477b5bfd8224080790a12b188308ff9662c284b360e1a2939f4fe9b84a9458 DIST llvmlite-0.23.0.gh.tar.gz 167384 BLAKE2B f0f64f389004b8c07b40ad42bfe2aa10b06769c59c6ca84fd89c5c38e0f453bc079d435418fe19bdd5b97b9cac698eae5c537417bee181485390745b8d319fc8 SHA512 e4fa0096d73351a73b0509ca312dd79f8b4a50eeae03d7491761c68738e1c4f8204be1c2eefad71e10edfbcaef062dafa4270029e1b254febc580016aff2d3b9 +DIST llvmlite-0.23.2.gh.tar.gz 168206 BLAKE2B 8ed2c2a84cdad80bcdba95e4e2d0f15b8c0a6cab2114b4c5f6eb32a303e29a9185629cf692acaec1455ac059227a755f621147397ece59343347434572186dff SHA512 f5f0a27ff7d523d3ce9c183b60db1106ee89f2650dfaac9e745414dbf91e14cf3ba9056e694148d07f4caab4b9f9fdd1806aa67f580de1b8b317b906d2c4fe65 diff --git a/dev-python/llvmlite/llvmlite-0.23.2.ebuild b/dev-python/llvmlite/llvmlite-0.23.2.ebuild new file mode 100644 index 00000000000..e7d50fc0b39 --- /dev/null +++ b/dev-python/llvmlite/llvmlite-0.23.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 llvm + +DESCRIPTION="Python wrapper around the llvm C++ library" +HOMEPAGE="http://llvmlite.pydata.org/" +# upstream slacks in making pypi releases +SRC_URI="https://github.com/numba/llvmlite/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +LLVM_MAX_SLOT=6 + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + >=sys-devel/llvm-6.0.0-r1:${LLVM_MAX_SLOT} + sys-libs/zlib:0= + virtual/python-enum34[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" +PATCHES=( + "${FILESDIR}"/llvmlite-0.15.0-use-system-six.patch +) + +python_prepare_all() { + # disable -flto, we do not force it against user's wishes + # add -fPIC, needed to link against shared libraries + # plus use those vars to force our CXXFLAGS/LDFLAGS in... + export CXX_FLTO_FLAGS="${CXXFLAGS} -fPIC" + export LD_FLTO_FLAGS="${LDFLAGS} -fPIC" + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +}