summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-04-14 17:09:04 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-04-14 17:09:04 +0000
commit4e92f8ae1d0cc85762e676b647cf6ebf932b37a1 (patch)
treec437e5bb5131ab923179dcf82445c6e78c0337f2 /dev-python
parentVersion bump (diff)
downloadgentoo-2-4e92f8ae1d0cc85762e676b647cf6ebf932b37a1.tar.gz
gentoo-2-4e92f8ae1d0cc85762e676b647cf6ebf932b37a1.tar.bz2
gentoo-2-4e92f8ae1d0cc85762e676b647cf6ebf932b37a1.zip
Version bump
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/llvmpy/ChangeLog7
-rw-r--r--dev-python/llvmpy/llvmpy-0.12.4.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/llvmpy/ChangeLog b/dev-python/llvmpy/ChangeLog
index 28ba0b5dd43a..6c37cc8c3f29 100644
--- a/dev-python/llvmpy/ChangeLog
+++ b/dev-python/llvmpy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/llvmpy
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/llvmpy/ChangeLog,v 1.4 2014/02/22 23:59:29 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/llvmpy/ChangeLog,v 1.5 2014/04/14 17:09:04 bicatali Exp $
+
+*llvmpy-0.12.4 (14 Apr 2014)
+
+ 14 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +llvmpy-0.12.4.ebuild:
+ Version bump
*llvmpy-0.12.3 (22 Feb 2014)
diff --git a/dev-python/llvmpy/llvmpy-0.12.4.ebuild b/dev-python/llvmpy/llvmpy-0.12.4.ebuild
new file mode 100644
index 000000000000..f899e6b099d2
--- /dev/null
+++ b/dev-python/llvmpy/llvmpy-0.12.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/llvmpy/llvmpy-0.12.4.ebuild,v 1.1 2014/04/14 17:09:04 bicatali Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python wrapper around the llvm C++ library"
+HOMEPAGE="http://llvmpy.org/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+# fails with llvm-3.4
+RDEPEND="=sys-devel/llvm-3.3*:=[multitarget]"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.12.2-return-type.patch )
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ cd "${BUILD_DIR}"/lib* || die
+ ${PYTHON} -c "import llvm; llvm.test()" || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html )
+ distutils-r1_python_install_all
+}