From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1046324-garchives=archives.gentoo.org@lists.gentoo.org> 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 00718138334 for <garchives@archives.gentoo.org>; Tue, 11 Sep 2018 07:25:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2A6EE0D24; Tue, 11 Sep 2018 07:25:38 +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 846C6E0D24 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Sep 2018 07:25:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AF3CC335D47 for <gentoo-commits@lists.gentoo.org>; Tue, 11 Sep 2018 07:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE1533BE for <gentoo-commits@lists.gentoo.org>; Tue, 11 Sep 2018 07:25:34 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1536650727.6fda1d87d7e4f662e0be7ba12bf1516adbfdc8d9.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.25.0_rc1.ebuild X-VCS-Directories: dev-python/llvmlite/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6fda1d87d7e4f662e0be7ba12bf1516adbfdc8d9 X-VCS-Branch: master Date: Tue, 11 Sep 2018 07:25:34 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d80a1567-f537-45ef-8d65-4a39099966e4 X-Archives-Hash: bf6c82aeea239fc04cda44d9ba93ca44 commit: 6fda1d87d7e4f662e0be7ba12bf1516adbfdc8d9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Tue Sep 11 06:59:40 2018 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Tue Sep 11 07:25:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fda1d87 dev-python/llvmlite: Bump to 25.0_rc1 dev-python/llvmlite/Manifest | 1 + dev-python/llvmlite/llvmlite-0.25.0_rc1.ebuild | 56 ++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest index 9cf1b791f29..bfabd9338c5 100644 --- a/dev-python/llvmlite/Manifest +++ b/dev-python/llvmlite/Manifest @@ -1,3 +1,4 @@ DIST llvmlite-0.20.0.tar.gz 96753 BLAKE2B ec9cfa554f44162c0d6e755628603c9afd85642998f56ed49c2ff29c3ef975ef4ce14c6555382ca282b70d71a1ff7347c0b773b339b14345e10d3b9ac96ac55e SHA512 c2e0918e7acfba68922f60889180ec660da13ea199c9e8dfb3ac075c295baeb8c90784a6acc3c463cdd696f8f61c42226548d38db5bd8c4397a23cfa7c7ff764 DIST llvmlite-0.22.0.gh.tar.gz 156077 BLAKE2B 1b95a0636807fcf38955b32bd5c7c19784df2cc6708f23624c047f0e9caf4eb2fc26c7a1cb778d7cc7e42b8aeaee1ed43c92bcdaf7eb2e798c25f692b96b786a SHA512 633ec4d294dc246ebff5c7931e9bea86efa28323242411f3f54bc34c99085ebaef477b5bfd8224080790a12b188308ff9662c284b360e1a2939f4fe9b84a9458 DIST llvmlite-0.24.0.gh.tar.gz 169577 BLAKE2B 7fedf8b9ec49f537db27a77c5880fb3bb41d126c615e73a4fd503ff781dcd4745c4f708cccd31d9b5544609ab7821e8ef1299856ef13ec3912ad2341af12a3ce SHA512 14b8918f9f58a88596607e697212aa516a99c65f71257d22f09e6b735f517a38f11142a63bf2e8f117c6ceff97153a5e686fa322d62abd14000db7e9ae136900 +DIST llvmlite-0.25.0rc1.gh.tar.gz 173302 BLAKE2B 20d5596e4c1b0fad64ae29f8ed4f7541b57668f12058d77595993db9c1adda97da2355a6dee266aa34bee39cddaffb92dcf6b4820afb1619d975f1e4b2331cda SHA512 0252d717f9f59dbf35333f1c207847a7b004e3e8c0094fc0639c64c9d09a90b370c814e219ee949ebecc49c5f2230831d566d00924e610b29674fbed93acc7e5 diff --git a/dev-python/llvmlite/llvmlite-0.25.0_rc1.ebuild b/dev-python/llvmlite/llvmlite-0.25.0_rc1.ebuild new file mode 100644 index 00000000000..c882b6bc864 --- /dev/null +++ b/dev-python/llvmlite/llvmlite-0.25.0_rc1.ebuild @@ -0,0 +1,56 @@ +# 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,3_7} ) + +inherit distutils-r1 llvm + +DESCRIPTION="Python wrapper around the llvm C++ library" +HOMEPAGE="http://llvmlite.pydata.org/" +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}] +" + +S=${WORKDIR}/${P/_/} + +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 + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +}