/[gentoo-x86]/dev-python/llvmpy/llvmpy-0.12.4.ebuild
Gentoo

Contents of /dev-python/llvmpy/llvmpy-0.12.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Apr 8 08:05:05 2015 UTC (5 years, 3 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/llvmpy/llvmpy-0.12.4.ebuild,v 1.1 2014/04/14 17:09:04 bicatali Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_7,3_3} )
8
9 inherit distutils-r1
10
11 DESCRIPTION="Python wrapper around the llvm C++ library"
12 HOMEPAGE="http://llvmpy.org/"
13 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="doc"
19
20 # fails with llvm-3.4
21 RDEPEND="=sys-devel/llvm-3.3*:=[multitarget]"
22 DEPEND="${RDEPEND}
23 doc? ( dev-python/sphinx )"
24
25 PATCHES=( "${FILESDIR}"/${PN}-0.12.2-return-type.patch )
26
27 python_compile_all() {
28 use doc && emake -C docs html
29 }
30
31 python_test() {
32 cd "${BUILD_DIR}"/lib* || die
33 ${PYTHON} -c "import llvm; llvm.test()" || die
34 }
35
36 python_install_all() {
37 use doc && local HTML_DOCS=( docs/_build/html )
38 distutils-r1_python_install_all
39 }

  ViewVC Help
Powered by ViewVC 1.1.20