commit:     15651dfcbe2782dde809a805ddbc37f6cab9eb23
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 21 08:32:45 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 21 09:15:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15651dfc

dev-python/clang-python: Reorder ebuild vars in 9+

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/clang-python/clang-python-10.0.0.9999.ebuild | 6 +++---
 dev-python/clang-python/clang-python-9.0.0.9999.ebuild  | 6 +++---
 dev-python/clang-python/clang-python-9.0.0.ebuild       | 5 ++---
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/dev-python/clang-python/clang-python-10.0.0.9999.ebuild 
b/dev-python/clang-python/clang-python-10.0.0.9999.ebuild
index ce6a903df4a..5a65d445f01 100644
--- a/dev-python/clang-python/clang-python-10.0.0.9999.ebuild
+++ b/dev-python/clang-python/clang-python-10.0.0.9999.ebuild
@@ -9,6 +9,8 @@ inherit git-r3 python-r1
 DESCRIPTION="Python bindings for sys-devel/clang"
 HOMEPAGE="https://llvm.org/";
 SRC_URI=""
+S=${WORKDIR}/${P}/bindings/python
+
 EGIT_REPO_URI="https://git.llvm.org/git/clang.git
        https://github.com/llvm-mirror/clang.git";
 
@@ -16,8 +18,8 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
 KEYWORDS=""
 IUSE="test"
-RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
 
 # The module is opening libclang.so directly, and doing some blasphemy
 # on top of it.
@@ -28,8 +30,6 @@ RDEPEND="
        ${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${P}/bindings/python
-
 src_unpack() {
        git-r3_fetch
        git-r3_checkout '' '' '' bindings/python

diff --git a/dev-python/clang-python/clang-python-9.0.0.9999.ebuild 
b/dev-python/clang-python/clang-python-9.0.0.9999.ebuild
index 70de2ed5512..d1c47b42ebf 100644
--- a/dev-python/clang-python/clang-python-9.0.0.9999.ebuild
+++ b/dev-python/clang-python/clang-python-9.0.0.9999.ebuild
@@ -9,6 +9,8 @@ inherit git-r3 python-r1
 DESCRIPTION="Python bindings for sys-devel/clang"
 HOMEPAGE="https://llvm.org/";
 SRC_URI=""
+S=${WORKDIR}/${P}/bindings/python
+
 EGIT_REPO_URI="https://git.llvm.org/git/clang.git
        https://github.com/llvm-mirror/clang.git";
 EGIT_BRANCH="release_90"
@@ -17,8 +19,8 @@ LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
 KEYWORDS=""
 IUSE="test"
-RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
 
 # The module is opening libclang.so directly, and doing some blasphemy
 # on top of it.
@@ -29,8 +31,6 @@ RDEPEND="
        ${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${P}/bindings/python
-
 src_unpack() {
        git-r3_fetch
        git-r3_checkout '' '' '' bindings/python

diff --git a/dev-python/clang-python/clang-python-9.0.0.ebuild 
b/dev-python/clang-python/clang-python-9.0.0.ebuild
index 6583d35ad13..63f0e576f04 100644
--- a/dev-python/clang-python/clang-python-9.0.0.ebuild
+++ b/dev-python/clang-python/clang-python-9.0.0.ebuild
@@ -10,13 +10,14 @@ MY_P=cfe-${PV/_/}.src
 DESCRIPTION="Python bindings for sys-devel/clang"
 HOMEPAGE="https://llvm.org/";
 SRC_URI="https://releases.llvm.org/${PV}/${MY_P}.tar.xz";
+S=${WORKDIR}/${MY_P}/bindings/python
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-fbsd"
 IUSE="test"
-RESTRICT="!test? ( test )"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
 
 # The module is opening libclang.so directly, and doing some blasphemy
 # on top of it.
@@ -27,8 +28,6 @@ RDEPEND="
        ${PYTHON_DEPS}"
 DEPEND="${RDEPEND}"
 
-S=${WORKDIR}/${MY_P}/bindings/python
-
 src_unpack() {
        einfo "Unpacking parts of ${MY_P}.tar.xz ..."
        tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/bindings/python" || die

Reply via email to