diff options
| author | Michał Górny <mgorny@gentoo.org> | 2017-06-26 16:47:57 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2017-06-27 21:17:53 +0200 |
| commit | 297420f23bb06600b58630662b4d055c7d8dcfac (patch) | |
| tree | c354d5a8f76cee16f80e676f6bb1155b401e578c /dev-python/clang-python/clang-python-4.0.1.ebuild | |
| parent | c10ad3a958bcb3e46e70070d80da3818e2d67b8d (diff) | |
| download | gentoo-297420f23bb06600b58630662b4d055c7d8dcfac.tar.gz gentoo-297420f23bb06600b58630662b4d055c7d8dcfac.tar.bz2 gentoo-297420f23bb06600b58630662b4d055c7d8dcfac.zip | |
dev-python/clang-python: Bump to 4.0.1
Diffstat (limited to 'dev-python/clang-python/clang-python-4.0.1.ebuild')
| -rw-r--r-- | dev-python/clang-python/clang-python-4.0.1.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/clang-python/clang-python-4.0.1.ebuild b/dev-python/clang-python/clang-python-4.0.1.ebuild new file mode 100644 index 000000000000..4f169ecc239c --- /dev/null +++ b/dev-python/clang-python/clang-python-4.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="http://llvm.org/" +SRC_URI="http://releases.llvm.org/${PV/_//}/cfe-${PV/_/}.src.tar.xz" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +RDEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/cfe-${PV/_/}.src/bindings/python + +src_test() { + python_foreach_impl nosetests -v +} + +src_install() { + python_foreach_impl python_domodule clang +} |
