From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2BF7159CA3 for ; Sun, 6 Mar 2016 11:13:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B5AB2E06CC for ; Sun, 6 Mar 2016 11:13:55 +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 25413E081C for ; Sat, 5 Mar 2016 10:33:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 268D3340B3A for ; Sat, 5 Mar 2016 10:33:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE0CD208F for ; Sat, 5 Mar 2016 10:33:24 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1457173940.956d147f82f5e10cd6b18d3b4b063c4c55769da7.patrick@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.9.0.ebuild X-VCS-Directories: dev-python/llvmlite/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 956d147f82f5e10cd6b18d3b4b063c4c55769da7 X-VCS-Branch: master Date: Sat, 5 Mar 2016 10:33:24 +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: 91bd3160-7675-4f9e-9620-34d03f080acc X-Archives-Hash: a26a97ee11a363c96d10b967a00df182 commit: 956d147f82f5e10cd6b18d3b4b063c4c55769da7 Author: Patrick Lauer gentoo org> AuthorDate: Sat Mar 5 10:03:56 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sat Mar 5 10:32:20 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956d147f dev-python/llvmlite: Bump Package-Manager: portage-2.2.27 dev-python/llvmlite/Manifest | 1 + dev-python/llvmlite/llvmlite-0.9.0.ebuild | 47 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest index dfb2680..92cf687 100644 --- a/dev-python/llvmlite/Manifest +++ b/dev-python/llvmlite/Manifest @@ -3,3 +3,4 @@ DIST llvmlite-0.2.2.tar.gz 75171 SHA256 5771189d07da7774446e1ac6c586d31ea4293ef1 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 +DIST llvmlite-0.9.0.tar.gz 96549 SHA256 edf936f7c4ec7b2ad8da235a0a063e10bfab43a50395a1c8f8601a9a539ec809 SHA512 0cf3fb488d0830763066b73653b36b0ad167d4d5449159229fbbe5212c8925b49f43f79aa214c46d4f947a437597dda4cd99b76f04b1238242d1be8e4435f9f6 WHIRLPOOL 2c4d15d6fdc16ad095bdeb8b788d9d66c8f503a6f0d64783d5ce7b8b7a41cde50fbf9b05a26fc79e206431ec123bd245718dcdfa175001f2700d72dd2f683f17 diff --git a/dev-python/llvmlite/llvmlite-0.9.0.ebuild b/dev-python/llvmlite/llvmlite-0.9.0.ebuild new file mode 100644 index 0000000..85a1a6c --- /dev/null +++ b/dev-python/llvmlite/llvmlite-0.9.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 + +DISTUTILS_IN_SOURCE_BUILD="1" +RESTRICT="test" + +DESCRIPTION="Python wrapper around the llvm C++ library" +HOMEPAGE="https://pypi.python.org/pypi/llvmlite" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND=" + =sys-devel/llvm-3.7*:=[multitarget] + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3) + " +DEPEND="${RDEPEND} + dev-util/cmake" + +python_prepare_all() { + # dirty hack :\ + sed -i -e 's/^LIBS/#LIBS/' ffi/Makefile.linux || die + sed -i -e 's/-flto$/-flto -fPIC/' ffi/Makefile.linux || die + + # disable test using installed instance to read version info + sed -e 's:test_version:_&:' -i llvmlite/tests/test_binding.py || die + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" -m "llvmlite.tests" || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +}