From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CBC26138330 for ; Wed, 3 Jan 2018 22:22:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30F98E093D; Wed, 3 Jan 2018 22:21:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10928E093B for ; Wed, 3 Jan 2018 22:21:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE5B5335C3B for ; Wed, 3 Jan 2018 22:21:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07CBC1A9 for ; Wed, 3 Jan 2018 22:21:51 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1515018099.9ab45e8874826b8c7d83eb4939bcee0e5b8318ce.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/clang-python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/clang-python/clang-python-6.0.9999.ebuild X-VCS-Directories: dev-python/clang-python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9ab45e8874826b8c7d83eb4939bcee0e5b8318ce X-VCS-Branch: master Date: Wed, 3 Jan 2018 22:21:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 89327133-a1d6-4c65-b112-3447841fcc69 X-Archives-Hash: c25828a1c402d251dc366fd28fa79ec9 commit: 9ab45e8874826b8c7d83eb4939bcee0e5b8318ce Author: Michał Górny gentoo org> AuthorDate: Wed Jan 3 21:23:21 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 3 22:21:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab45e88 dev-python/clang-python: Add a live ebuild for 6.0 branch .../clang-python/clang-python-6.0.9999.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/dev-python/clang-python/clang-python-6.0.9999.ebuild b/dev-python/clang-python/clang-python-6.0.9999.ebuild new file mode 100644 index 00000000000..e0aa3318ebd --- /dev/null +++ b/dev-python/clang-python/clang-python-6.0.9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +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_60" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( 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}" + +S=${WORKDIR}/${P}/bindings/python + +src_unpack() { + git-r3_fetch + git-r3_checkout '' '' '' bindings/python +} + +src_test() { + python_foreach_impl python -m unittest discover -v || die +} + +src_install() { + python_foreach_impl python_domodule clang +}