diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 17:37:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-25 17:37:52 +0000 |
commit | 2f51c9978dda4c6e8debca43e4235ecc86914032 (patch) | |
tree | bc41e1c4383040034174c327504f702c8517a123 /dev-ada/libadalang/libadalang-2017.ebuild | |
parent | 51536d2fe4697ba9114d611178bb9e20d3d5b729 (diff) |
gentoo resync : 25.12.2017
Diffstat (limited to 'dev-ada/libadalang/libadalang-2017.ebuild')
-rw-r--r-- | dev-ada/libadalang/libadalang-2017.ebuild | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild index 8e4ed678cb32..651850d933e4 100644 --- a/dev-ada/libadalang/libadalang-2017.ebuild +++ b/dev-ada/libadalang/libadalang-2017.ebuild @@ -10,9 +10,7 @@ inherit python-single-r1 DESCRIPTION="high performance semantic engine for the Ada programming language" HOMEPAGE="https://libre.adacore.com/" SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed042 - -> ${P}-src.tar.gz - http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed044 - -> langkit-gps-src-${PV}.tar.gz" + -> ${P}-src.tar.gz" LICENSE="GPL-3 gcc-runtime-library-exception-3.1" SLOT="0" @@ -23,32 +21,26 @@ RDEPEND="dev-python/pyyaml ${PYTHON_DEPS}" DEPEND="${RDEPEND} dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=] - dev-python/docutils - dev-python/mako - dev-python/enum34 - dev-python/quex - dev-python/funcy" + dev-ada/langkit" REQUIRED_USE="${PYTHON_REQUIRED_USE} ^^ ( gnat_2016 gnat_2017 )" -S="${WORKDIR}" +S="${WORKDIR}"/${PN}-gps-src PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) src_prepare() { default - rm -r ${PN}-gps-src/ada/testsuite/tests/{acats_parse,stylechecks} || die + rm -r ada/testsuite/tests/{acats_parse,stylechecks} || die } src_compile() { - cd ${PN}-gps-src - PYTHONPATH=${PYTHONPATH}:"${WORKDIR}"/langkit-gps-src \ - GCC=${CHOST}-gcc-4.9.4 ada/manage.py make || die + GCC=${CHOST}-gcc-4.9.4 ada/manage.py make || die } src_test () { local myDir="${WORKDIR}"/${PN}-gps-src - cd ${PN}-gps-src/ada/testsuite + cd ada/testsuite ln -sf "${myDir}"/build/include/libadalang.h c_support/libadalang.h #./testsuite.py --show-error-output |& grep FAILED && die "Test failed" GPR_PROJECT_PATH="${myDir}"/build/lib/gnat \ @@ -60,8 +52,6 @@ src_test () { } src_install () { - cd ${PN}-gps-src - PYTHONPATH=${PYTHONPATH}:"${WORKDIR}"/langkit-gps-src \ - ada/manage.py install "${D}"usr + ada/manage.py install "${D}"usr python_domodule build/python/libadalang.py } |