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 903FE139694 for ; Sat, 22 Apr 2017 21:37:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0B0FE0CF9; Sat, 22 Apr 2017 21:36:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7AC5FE0CF9 for ; Sat, 22 Apr 2017 21:36:59 +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 1FEC534105A for ; Sat, 22 Apr 2017 21:36:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B2D473F3 for ; Sat, 22 Apr 2017 21:36:56 +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: <1492897014.7ceee9ca8044a87dae7b0636e8f966de4e59bd48.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.17.1.ebuild X-VCS-Directories: dev-python/llvmlite/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7ceee9ca8044a87dae7b0636e8f966de4e59bd48 X-VCS-Branch: master Date: Sat, 22 Apr 2017 21:36:56 +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: bb3646de-b216-460d-9e3c-b8756ba21ef4 X-Archives-Hash: e616205093b079dd6ebeff0e22304ff0 commit: 7ceee9ca8044a87dae7b0636e8f966de4e59bd48 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 22 21:34:44 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 22 21:36:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ceee9ca dev-python/llvmlite: Bump to 0.17.1 (with LLVM 4 support) dev-python/llvmlite/Manifest | 1 + dev-python/llvmlite/llvmlite-0.17.1.ebuild | 50 ++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest index d49d133586e..7809babf0c0 100644 --- a/dev-python/llvmlite/Manifest +++ b/dev-python/llvmlite/Manifest @@ -4,6 +4,7 @@ DIST llvmlite-0.12.1.tar.gz 88271 SHA256 3ce71beebd4cbc7a49abe4eadfc99725477fd43 DIST llvmlite-0.13.0.tar.gz 92200 SHA256 f852be3391acb2e77ef484c5d0ff90e7cf2821dcf9575e358a1f08c274c582eb SHA512 0a416bc1cda0f2d773ceda602ab4fa87a308e3941316f1c66520cb08448c088383b92bcef4459211666573d2e251e4e23e4647091045fd7d8269dbe8ca912f3f WHIRLPOOL edd26c3dfeb95d050f408f7fcc5e2bf5195712eff12220c022b0af00770b2276998853b8877b4c484452e9eb80df987fce548663f39285d1b030d6010164f338 DIST llvmlite-0.15.0.tar.gz 95009 SHA256 c855835537eda61f3a0d19aedc44f006d5084a2d322aee8ffa87aa06bb800dc4 SHA512 db49ed82eae989e7e7abbd72f1c1da5129887f7fce447c684085f98ae2aaf47d24e73b79c5916802edbb8dc55dda92efeac833cb903300560b1aa89f2aeb5dca WHIRLPOOL 66336fa610ae2706c9281f5e7febc8e76e0cacf8cbc151952f6978adb104bcc6b98ac65d9661c7289f258e1e63a1e6e4a139f93efc45cdfd2a26f50c35bc03fb DIST llvmlite-0.16.0.tar.gz 95284 SHA256 ef3bae32482f91742d91571b5225a6943804291eb9405b98090a7b50942ec5e9 SHA512 97a251ef9d840fc5a25bd673c644207750f2e653ccad5850dec0a7f1bc77170c6ce85d5cd663ab5c109cb1b51ced9545493d35ef81dfe04a3696b5a0c37fa768 WHIRLPOOL ab629a507c2cc27756109162469a0eed8f4dbb059b7c3957df65e059c6e613581fed6380b58686812ed5378a9d2ebe5f754e6de1a5132c89a323b221da203e91 +DIST llvmlite-0.17.1.tar.gz 96072 SHA256 9f5d98615ce1852c0f79e52d122ba38adee89752482db9bcbe51c8cd5030d140 SHA512 7169ca9aa8ab6f6cb16135500c94c25b8eb17a4c267871277956068e46b491c9de0e6bcae99650a6681eb8c83ffc5163ebfd678444a47c113510099c1f7599a9 WHIRLPOOL 50d5e7ba4a95dcbf81fcfae475f4b7ef632fa8cbd85283af47f3e4b6b272bd31985968a1eaaaaf129b0cd913c3619879163d6889076956a0f4bd5debc6dc2330 DIST llvmlite-0.5.0.tar.gz 74434 SHA256 616b0f16366dd1eec197b7067f4618c6c5183db852e7f4203862c0343ebdd31c SHA512 aec69c841a8166896a6632a4204a53df1f19a42514c335a3dc21a9c7e7610c110a5d00b293d7013dfe497cc7c1e3ffbaedf0a80ee16970f5f33f0043bacd6aec WHIRLPOOL 737a53017e160a04f371e87abf24eb923f17b101d3b2394c276ae0d47787c617aa496428b268ee86301a2ed33a0a93b0b5d3fbc0fb293e295d38742d8a5b98e8 DIST llvmlite-0.6.0.tar.gz 74834 SHA256 0ed6bbf850578dc99c06be3060a1067ea4993474392137760d1c020f7188a236 SHA512 7db3f774d7cff903e4a5a476eee3efd1c6f107443433ab47543eae4e28918a385534225a23e0cd000cfab65b5ebeb0a5c38d6b963090ee0943c65fb61879fc7b WHIRLPOOL 3bed14fef8defac3f217b9ecdb5a2b4d1c68cd9e19078292cc792f375345a87b4daf63ee9c6429954d5156e7c73b5ea85b3bff54c60f78fbc982067411f2eb40 DIST llvmlite-0.8.0.tar.gz 80497 SHA256 a10d8d5e597c6a54ec418baddd31a51a0b7937a895d75b240d890aead946081c SHA512 d960dd2635d670b3ed2a79f81e5c3ada4fe0a03ac39e8f94a16a83fb62013ecbbce1a430ac48c8e6abd8fa34c37938d4ec7a0b949bd8c490f391c8dc29ce221c WHIRLPOOL 569cf60ae6b6efe63aa1af322d53cb983a4d29550557ba465ff26dbcc49bab598365cc592931cabca5f2e99b979ebb4f101d698a1c457a1ef1fa11eb89184c31 diff --git a/dev-python/llvmlite/llvmlite-0.17.1.ebuild b/dev-python/llvmlite/llvmlite-0.17.1.ebuild new file mode 100644 index 00000000000..f1172f909bc --- /dev/null +++ b/dev-python/llvmlite/llvmlite-0.17.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 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/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +LLVM_MAX_SLOT=4 + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + sys-devel/llvm:${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() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +}