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 423311388C1 for ; Fri, 20 Nov 2015 14:11:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 439F9E07D9; Fri, 20 Nov 2015 14:11:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF406E07D9 for ; Fri, 20 Nov 2015 14:11:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4A89340A7B for ; Fri, 20 Nov 2015 14:11:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39FFFA44 for ; Fri, 20 Nov 2015 14:11:14 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1448027515.b61f8364c2fcc529bd406dd6519b54547562af89.heroxbd@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.8.0.ebuild X-VCS-Directories: dev-python/llvmlite/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: b61f8364c2fcc529bd406dd6519b54547562af89 X-VCS-Branch: master Date: Fri, 20 Nov 2015 14:11:14 +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: 7cb44c61-a2f5-425c-91f1-0aff2f7c953a X-Archives-Hash: 783d138423619f8b4f55a6efd85a95a0 commit: b61f8364c2fcc529bd406dd6519b54547562af89 Author: Benda Xu gentoo org> AuthorDate: Fri Nov 20 13:51:55 2015 +0000 Commit: Benda XU gentoo org> CommitDate: Fri Nov 20 13:51:55 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61f8364 dev-python/llvmlite: bump to 0.8.0. Package-Manager: portage-2.2.22 dev-python/llvmlite/Manifest | 1 + dev-python/llvmlite/llvmlite-0.8.0.ebuild | 39 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest index cb671e0..dfb2680 100644 --- a/dev-python/llvmlite/Manifest +++ b/dev-python/llvmlite/Manifest @@ -2,3 +2,4 @@ DIST llvmlite-0.2.1.tar.gz 67340 SHA256 48c9217db60d496ffef9d15bcb493b84757fc08b DIST llvmlite-0.2.2.tar.gz 75171 SHA256 5771189d07da7774446e1ac6c586d31ea4293ef1c2bfb9dbe0c570bcf971b4a1 SHA512 7eeea5c0bd5287415d6cc39fb2e546366de42d3b2b99cf57655036c9fd2bf526398cc51ea79d062504cdfdd927ce5be22997a54c5d79cc2e4de3168317f35fcf WHIRLPOOL aac97a187e341a67a5ee1771480deb6598d921cfce098aec6ca20927d6173c1f984de0b8e1985e2c7db55e393e65f4bd471c5d57bb8fd0da21cb2ad4faf0a3dc 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.8.0.ebuild b/dev-python/llvmlite/llvmlite-0.8.0.ebuild new file mode 100644 index 0000000..6e422ed --- /dev/null +++ b/dev-python/llvmlite/llvmlite-0.8.0.ebuild @@ -0,0 +1,39 @@ +# 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 + +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.6*:=[multitarget] + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3) + " +DEPEND="${RDEPEND}" + +python_prepare_all() { + # 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 +}