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

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-09-21 10:32:45 +02:00
parent 7f6b5a234a
commit 15651dfcbe
3 changed files with 8 additions and 9 deletions

View File

@@ -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