summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-03-05 11:03:56 +0100
committerPatrick Lauer <patrick@gentoo.org>2016-03-05 11:32:20 +0100
commit956d147f82f5e10cd6b18d3b4b063c4c55769da7 (patch)
treebb7e8ca3f7a6a4859eb895e697814f7d571b2e01 /dev-python/llvmlite
parentdev-python/wtf-peewee: Bump (diff)
downloadgentoo-956d147f82f5e10cd6b18d3b4b063c4c55769da7.tar.gz
gentoo-956d147f82f5e10cd6b18d3b4b063c4c55769da7.tar.bz2
gentoo-956d147f82f5e10cd6b18d3b4b063c4c55769da7.zip
dev-python/llvmlite: Bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/llvmlite')
-rw-r--r--dev-python/llvmlite/Manifest1
-rw-r--r--dev-python/llvmlite/llvmlite-0.9.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
index dfb2680c200c..92cf6870f388 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 000000000000..85a1a6c4f001
--- /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
+}