From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/clang-python/Manifest | 7 ++++ dev-python/clang-python/clang-python-4.0.1.ebuild | 37 ++++++++++++++++++ dev-python/clang-python/clang-python-5.0.0.ebuild | 45 ++++++++++++++++++++++ .../clang-python/clang-python-5.0.9999.ebuild | 40 +++++++++++++++++++ dev-python/clang-python/clang-python-9999.ebuild | 39 +++++++++++++++++++ dev-python/clang-python/metadata.xml | 7 ++++ 6 files changed, 175 insertions(+) create mode 100644 dev-python/clang-python/Manifest create mode 100644 dev-python/clang-python/clang-python-4.0.1.ebuild create mode 100644 dev-python/clang-python/clang-python-5.0.0.ebuild create mode 100644 dev-python/clang-python/clang-python-5.0.9999.ebuild create mode 100644 dev-python/clang-python/clang-python-9999.ebuild create mode 100644 dev-python/clang-python/metadata.xml (limited to 'dev-python/clang-python') diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest new file mode 100644 index 000000000000..eaeb1cc50efd --- /dev/null +++ b/dev-python/clang-python/Manifest @@ -0,0 +1,7 @@ +DIST cfe-4.0.1.src.tar.xz 10933628 SHA256 61738a735852c23c3bdbe52d035488cdb2083013f384d67c1ba36fabebd8769b SHA512 936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964 WHIRLPOOL 1cb56b36e21eab8004eec43d9c0f7377588cdbcd1d654cd0e6d836d43bc68dc0759993215439c1607e09ed3fa1f68b80504a222f73c1b76d3841cdf638dcbef2 +DIST cfe-5.0.0.src.tar.xz 11437024 SHA256 019f23c2192df793ac746595e94a403908749f8e0c484b403476d2611dd20970 SHA512 14acdd622310122b544c952ee5b932b7006d9d8424319f0e3974f2503d40a0cec4200fdd3d813a32ce0d877bcfbb9a5bd5c36f6142b4330e6c814f113ca2efe8 WHIRLPOOL 9d2fff35324621be191cc69b45db472681c9ebdf05aead09510f3178853ac8a179f2c454c2e6513e57f84a99980052671cd9a23d38d6d14b42dfda1853a7844a +EBUILD clang-python-4.0.1.ebuild 864 SHA256 17b2d7993fa0e03dcc678c9813e2e67a14b49ab9b6b96846dc797809e1c384b4 SHA512 d2900dfa55a69965e146800f097f8be256d022aca8d85f54db205f75b30cf72015d27c4e8f4981725d50c7a1c2a14c15454f009b2d8a3636103d6d133b0a2324 WHIRLPOOL f773ad78a27d8b899d5c25b9280bb9c33b5f3b39645aad364becf7bda4794369ad866e37859ae83aa20bcf2a682b6c8cd3bb2b14dbeb33ed7feb3e5b774c1fdd +EBUILD clang-python-5.0.0.ebuild 1028 SHA256 4c25f18e595adbb7031d2b89cf7d98a59806cc228c8a1d204a411daae3bb5a03 SHA512 7c5a20034ae0deb3820692f651a8a3a69741b00b71f8465656a59fc2ad17009555420dddb8105d2353ffbfdd1a32f4f377ca412fbe3c4f15a0e9b0e1d90b29eb WHIRLPOOL b625cb854b1e5a3e03db98e5b53b04a031934d6ae12d592d14c6ac28dc88fe32cad6f63d44dc362ebc3168b1158302e53af87071c9e1c901556daac4c302ac6b +EBUILD clang-python-5.0.9999.ebuild 900 SHA256 315c3e1cfba2b384853cbf4e0e97070bfdc437cfdb0c73c377046693a1b5916f SHA512 589aabd4f0f8e8adaa54b010c153246bbbd95c0a357f009d94f9127a6a4cdb73e3cd8d2c254119eb3336ab386bc0552dbf1bdb560492cf1086cf2c0a40bc8a05 WHIRLPOOL ccc8c8644a1ae3003c96e8f0cef5b55668312a669b38e41787b771b111f291e10264cd7b4aaea7bade2df55a8dd86fbb71ba309aa772c1cdf3d8d5b37a960aa5 +EBUILD clang-python-9999.ebuild 875 SHA256 5bd7c93dab13d30f1e419a08c1aba8c35b89d73c5bb59f619d4fc879f7b829f6 SHA512 629ae85fcf4e451fec077d5f42aad97409e28153e038c53da57edc98d0d93840525cd4d57ec76b51dd7069e189978cc0bbbb1fe0d0f166abd83a1bdb75f7cfdf WHIRLPOOL 6e106b5dd241b4a192853e71180affd26f0663c45d66ccf1414cfe3cba27d614355b7ff6a87026713cb51dab2fa31a01cc0faa734f98e05943b981584c8fd0dd +MISC metadata.xml 216 SHA256 e94ba81dd2791908508a3993afdebf723cc617314c53c273b9bcca15a9c48327 SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5 WHIRLPOOL 29145f5721e079e0548c5ef22424c65e6a5b2bfc4428918e923fcfdfc37e9b8749fb63e3c2eb5773c17fab276f7513dd66e326b906f1848911dceba7ae4b419a 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..c77ee951ec2f --- /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="https://llvm.org/" +SRC_URI="https://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 || die +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/clang-python/clang-python-5.0.0.ebuild b/dev-python/clang-python/clang-python-5.0.0.ebuild new file mode 100644 index 000000000000..20a45b1a0c78 --- /dev/null +++ b/dev-python/clang-python/clang-python-5.0.0.ebuild @@ -0,0 +1,45 @@ +# 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="https://llvm.org/" +SRC_URI="https://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_prepare() { + default + + # move to the correct subdirectory + # https://reviews.llvm.org/D37378 + mv tests/{,cindex/}test_exception_specification_kind.py || die +} + +src_test() { + python_foreach_impl nosetests -v || die +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/clang-python/clang-python-5.0.9999.ebuild b/dev-python/clang-python/clang-python-5.0.9999.ebuild new file mode 100644 index 000000000000..3310c5b2e313 --- /dev/null +++ b/dev-python/clang-python/clang-python-5.0.9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit git-r3 python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" +SRC_URI="" +EGIT_REPO_URI="https://git.llvm.org/git/clang.git + https://github.com/llvm-mirror/clang.git" +EGIT_BRANCH="release_50" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="" +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}/${P}/bindings/python + +src_test() { + python_foreach_impl nosetests -v || die +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/clang-python/clang-python-9999.ebuild b/dev-python/clang-python/clang-python-9999.ebuild new file mode 100644 index 000000000000..dbdb74a06f05 --- /dev/null +++ b/dev-python/clang-python/clang-python-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit git-r3 python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" +SRC_URI="" +EGIT_REPO_URI="https://git.llvm.org/git/clang.git + https://github.com/llvm-mirror/clang.git" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="" +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}/${P}/bindings/python + +src_test() { + python_foreach_impl nosetests -v || die +} + +src_install() { + python_foreach_impl python_domodule clang +} diff --git a/dev-python/clang-python/metadata.xml b/dev-python/clang-python/metadata.xml new file mode 100644 index 000000000000..89c4bdb96049 --- /dev/null +++ b/dev-python/clang-python/metadata.xml @@ -0,0 +1,7 @@ + + + + + llvm@gentoo.org + + -- cgit v1.2.3