diff options
author | Benda Xu <heroxbd@gentoo.org> | 2015-11-20 22:51:55 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2015-11-20 22:51:55 +0900 |
commit | b61f8364c2fcc529bd406dd6519b54547562af89 (patch) | |
tree | edc3b28c809c09b07bf07987bfe73ffb31ea74c8 /dev-python/llvmlite | |
parent | sci-libs/linux-gpib: Remove old (diff) | |
download | gentoo-b61f8364c2fcc529bd406dd6519b54547562af89.tar.gz gentoo-b61f8364c2fcc529bd406dd6519b54547562af89.tar.bz2 gentoo-b61f8364c2fcc529bd406dd6519b54547562af89.zip |
dev-python/llvmlite: bump to 0.8.0.
Package-Manager: portage-2.2.22
Diffstat (limited to 'dev-python/llvmlite')
-rw-r--r-- | dev-python/llvmlite/Manifest | 1 | ||||
-rw-r--r-- | dev-python/llvmlite/llvmlite-0.8.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest index cb671e0df77b..dfb2680c200c 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 000000000000..6e422ed343f8 --- /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 +} |