1 |
commit: 956d147f82f5e10cd6b18d3b4b063c4c55769da7 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 5 10:03:56 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 10:32:20 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956d147f |
7 |
|
8 |
dev-python/llvmlite: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/llvmlite/Manifest | 1 + |
13 |
dev-python/llvmlite/llvmlite-0.9.0.ebuild | 47 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest |
17 |
index dfb2680..92cf687 100644 |
18 |
--- a/dev-python/llvmlite/Manifest |
19 |
+++ b/dev-python/llvmlite/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST llvmlite-0.2.2.tar.gz 75171 SHA256 5771189d07da7774446e1ac6c586d31ea4293ef1 |
21 |
DIST llvmlite-0.5.0.tar.gz 74434 SHA256 616b0f16366dd1eec197b7067f4618c6c5183db852e7f4203862c0343ebdd31c SHA512 aec69c841a8166896a6632a4204a53df1f19a42514c335a3dc21a9c7e7610c110a5d00b293d7013dfe497cc7c1e3ffbaedf0a80ee16970f5f33f0043bacd6aec WHIRLPOOL 737a53017e160a04f371e87abf24eb923f17b101d3b2394c276ae0d47787c617aa496428b268ee86301a2ed33a0a93b0b5d3fbc0fb293e295d38742d8a5b98e8 |
22 |
DIST llvmlite-0.6.0.tar.gz 74834 SHA256 0ed6bbf850578dc99c06be3060a1067ea4993474392137760d1c020f7188a236 SHA512 7db3f774d7cff903e4a5a476eee3efd1c6f107443433ab47543eae4e28918a385534225a23e0cd000cfab65b5ebeb0a5c38d6b963090ee0943c65fb61879fc7b WHIRLPOOL 3bed14fef8defac3f217b9ecdb5a2b4d1c68cd9e19078292cc792f375345a87b4daf63ee9c6429954d5156e7c73b5ea85b3bff54c60f78fbc982067411f2eb40 |
23 |
DIST llvmlite-0.8.0.tar.gz 80497 SHA256 a10d8d5e597c6a54ec418baddd31a51a0b7937a895d75b240d890aead946081c SHA512 d960dd2635d670b3ed2a79f81e5c3ada4fe0a03ac39e8f94a16a83fb62013ecbbce1a430ac48c8e6abd8fa34c37938d4ec7a0b949bd8c490f391c8dc29ce221c WHIRLPOOL 569cf60ae6b6efe63aa1af322d53cb983a4d29550557ba465ff26dbcc49bab598365cc592931cabca5f2e99b979ebb4f101d698a1c457a1ef1fa11eb89184c31 |
24 |
+DIST llvmlite-0.9.0.tar.gz 96549 SHA256 edf936f7c4ec7b2ad8da235a0a063e10bfab43a50395a1c8f8601a9a539ec809 SHA512 0cf3fb488d0830763066b73653b36b0ad167d4d5449159229fbbe5212c8925b49f43f79aa214c46d4f947a437597dda4cd99b76f04b1238242d1be8e4435f9f6 WHIRLPOOL 2c4d15d6fdc16ad095bdeb8b788d9d66c8f503a6f0d64783d5ce7b8b7a41cde50fbf9b05a26fc79e206431ec123bd245718dcdfa175001f2700d72dd2f683f17 |
25 |
|
26 |
diff --git a/dev-python/llvmlite/llvmlite-0.9.0.ebuild b/dev-python/llvmlite/llvmlite-0.9.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..85a1a6c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/llvmlite/llvmlite-0.9.0.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DISTUTILS_IN_SOURCE_BUILD="1" |
43 |
+RESTRICT="test" |
44 |
+ |
45 |
+DESCRIPTION="Python wrapper around the llvm C++ library" |
46 |
+HOMEPAGE="https://pypi.python.org/pypi/llvmlite" |
47 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc examples" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ =sys-devel/llvm-3.7*:=[multitarget] |
56 |
+ $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7 python3_3) |
57 |
+ " |
58 |
+DEPEND="${RDEPEND} |
59 |
+ dev-util/cmake" |
60 |
+ |
61 |
+python_prepare_all() { |
62 |
+ # dirty hack :\ |
63 |
+ sed -i -e 's/^LIBS/#LIBS/' ffi/Makefile.linux || die |
64 |
+ sed -i -e 's/-flto$/-flto -fPIC/' ffi/Makefile.linux || die |
65 |
+ |
66 |
+ # disable test using installed instance to read version info |
67 |
+ sed -e 's:test_version:_&:' -i llvmlite/tests/test_binding.py || die |
68 |
+ distutils-r1_python_prepare_all |
69 |
+} |
70 |
+ |
71 |
+python_test() { |
72 |
+ "${PYTHON}" -m "llvmlite.tests" || die "Tests failed under ${EPYTHON}" |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ use examples && local EXAMPLES=( examples/. ) |
77 |
+ distutils-r1_python_install_all |
78 |
+} |