summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2017-01-07 01:00:00 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2017-01-07 01:00:55 +0000
commitdf761291cf90f6b009a0753fae0e1470cdc1ad27 (patch)
treec62e916ccbedd6bd4268ae3d7a5a079ce1837b0e /dev-python
parentsci-mathematics/pymc3: initial import (diff)
downloadgentoo-df761291cf90f6b009a0753fae0e1470cdc1ad27.tar.gz
gentoo-df761291cf90f6b009a0753fae0e1470cdc1ad27.tar.bz2
gentoo-df761291cf90f6b009a0753fae0e1470cdc1ad27.zip
dev-python/llvmlite: version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/llvmlite/Manifest1
-rw-r--r--dev-python/llvmlite/files/llvmlite-0.15.0-use-system-six.patch50
-rw-r--r--dev-python/llvmlite/llvmlite-0.15.0.ebuild46
-rw-r--r--dev-python/llvmlite/metadata.xml7
4 files changed, 104 insertions, 0 deletions
diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest
index cf44e1257fb2..82580d7dbd11 100644
--- a/dev-python/llvmlite/Manifest
+++ b/dev-python/llvmlite/Manifest
@@ -2,6 +2,7 @@ DIST llvmlite-0.10.0.tar.gz 92000 SHA256 b6b55e19ae2be38770299e9c73e6ae07d770e4f
DIST llvmlite-0.11.0.tar.gz 87648 SHA256 93cfee5bb9e4d16e42d8986b480191a4c1f149a5818c654d58ae142449f382bd SHA512 6bd801dc01b7949a8206234076579cb9a41b6803039759c16cc346054b9d7e9c6bdb73b77f861564ea23e92cc01da2036bdba5ad5fcfc54e9265181318cc8005 WHIRLPOOL 65387cf24ebb2ce9e257a4a8ce16914a108cd4c2548f44d99d326c43c058441a7ef21aa37279adf6c93fb27fb9378b987794e9efc81175d84943c41b04382e24
DIST llvmlite-0.12.1.tar.gz 88271 SHA256 3ce71beebd4cbc7a49abe4eadfc99725477fd43caeb7405650ebb746c7a1d0df SHA512 f5b448f0ae3d84a0d3438dd7bb4c7f87055e551191c4fefb6282539029d25e8c5e1cca9dec5b90c0d99ec0a720719133b2ccf8b9551aa818c3b4626cc522d8d9 WHIRLPOOL 82b3e60520eda83d0e4082d75ca377bd34c9baf7c67688814e6dd3a7ae687b1eacf7ddd9758254e0c61f39ea5af77c847a15f1f8071cf030d9dd07bb2b1020a5
DIST llvmlite-0.13.0.tar.gz 92200 SHA256 f852be3391acb2e77ef484c5d0ff90e7cf2821dcf9575e358a1f08c274c582eb SHA512 0a416bc1cda0f2d773ceda602ab4fa87a308e3941316f1c66520cb08448c088383b92bcef4459211666573d2e251e4e23e4647091045fd7d8269dbe8ca912f3f WHIRLPOOL edd26c3dfeb95d050f408f7fcc5e2bf5195712eff12220c022b0af00770b2276998853b8877b4c484452e9eb80df987fce548663f39285d1b030d6010164f338
+DIST llvmlite-0.15.0.tar.gz 95009 SHA256 c855835537eda61f3a0d19aedc44f006d5084a2d322aee8ffa87aa06bb800dc4 SHA512 db49ed82eae989e7e7abbd72f1c1da5129887f7fce447c684085f98ae2aaf47d24e73b79c5916802edbb8dc55dda92efeac833cb903300560b1aa89f2aeb5dca WHIRLPOOL 66336fa610ae2706c9281f5e7febc8e76e0cacf8cbc151952f6978adb104bcc6b98ac65d9661c7289f258e1e63a1e6e4a139f93efc45cdfd2a26f50c35bc03fb
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/files/llvmlite-0.15.0-use-system-six.patch b/dev-python/llvmlite/files/llvmlite-0.15.0-use-system-six.patch
new file mode 100644
index 000000000000..f7cfeae404ad
--- /dev/null
+++ b/dev-python/llvmlite/files/llvmlite-0.15.0-use-system-six.patch
@@ -0,0 +1,50 @@
+Description: use packaged six instead of stripped module
+Author: Daniel Stender <debian@danielstender.com>
+Forwarded: not-needed
+Last-Update: 2016-21-06
+
+--- a/llvmlite/binding/ffi.py
++++ b/llvmlite/binding/ffi.py
+@@ -3,7 +3,7 @@ import os
+
+ from .common import _decode_string, _is_shutting_down
+ from ..utils import get_library_name
+-from ..six import PY2
++from six import PY2
+
+
+ def _make_opaque_ref(name):
+--- a/llvmlite/ir/values.py
++++ b/llvmlite/ir/values.py
+@@ -7,7 +7,7 @@ from __future__ import print_function, absolute_import
+
+ import string
+
+-from .. import six
++import six
+ from . import types, _utils
+ from ._utils import _StrCaching, _StringReferenceCaching, _HasMetadata
+
+--- a/llvmlite/tests/customize.py
++++ b/llvmlite/tests/customize.py
+@@ -12,7 +12,7 @@ import unittest
+ import warnings
+ from unittest import result, runner, signals
+
+-from ..six import StringIO
++from six import StringIO
+
+
+ # "unittest.main" is really the TestProgram class!
+--- a/llvmlite/tests/test_binding.py
++++ b/llvmlite/tests/test_binding.py
+@@ -12,7 +12,8 @@ import subprocess
+ import sys
+ import unittest
+
+-from llvmlite import six, ir
++from llvmlite import ir
++import six
+ from llvmlite import binding as llvm
+ from llvmlite.binding import ffi
+ from . import TestCase
diff --git a/dev-python/llvmlite/llvmlite-0.15.0.ebuild b/dev-python/llvmlite/llvmlite-0.15.0.ebuild
new file mode 100644
index 000000000000..66cb23b51118
--- /dev/null
+++ b/dev-python/llvmlite/llvmlite-0.15.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapper around the llvm C++ library"
+HOMEPAGE="http://llvmlite.pydata.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ =sys-devel/llvm-3.8*
+ sys-libs/zlib:0=
+ virtual/python-enum34[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+PATCHES=(
+ "${FILESDIR}"/${P}-use-system-six.patch
+)
+
+python_prepare_all() {
+ sed -e 's/-flto$/-flto -fPIC/' \
+ -i ffi/Makefile.linux || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ "${EPYTHON}" runtests.py -v || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/llvmlite/metadata.xml b/dev-python/llvmlite/metadata.xml
index 2cf298c4477b..54effc7dfa7d 100644
--- a/dev-python/llvmlite/metadata.xml
+++ b/dev-python/llvmlite/metadata.xml
@@ -5,7 +5,14 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
+ <longdescription>
+ llvmlite uses the LLVM library for JIT (just-in-time) compilation of
+ Python code into native machine instructions during runtime. Instead
+ of exposing large parts of the LLVM C++ API for direct calls into the
+ LLVM library, llvmlite follows a lightweight multi-layered approach.
+ </longdescription>
<upstream>
<remote-id type="pypi">llvmlite</remote-id>
+ <remote-id type="github">numba/llvmlite</remote-id>
</upstream>
</pkgmetadata>