summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-12-27 20:15:36 +0100
committerTupone Alfredo <tupone@gentoo.org>2017-12-27 20:15:36 +0100
commitafbb875c726b6b1fa7aa94d1642b25a9c9f9dcd0 (patch)
tree72c6e26d9e477579fa883885e10612fbbf213793 /dev-ada/libadalang
parentvirtual/python-enum34: added Prefix keywords, bug #606554 (diff)
downloadgentoo-afbb875c726b6b1fa7aa94d1642b25a9c9f9dcd0.tar.gz
gentoo-afbb875c726b6b1fa7aa94d1642b25a9c9f9dcd0.tar.bz2
gentoo-afbb875c726b6b1fa7aa94d1642b25a9c9f9dcd0.zip
dev-ada/libadalang: enabling stylechecks test/cosmethic changes
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ada/libadalang')
-rw-r--r--dev-ada/libadalang/libadalang-2017.ebuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/dev-ada/libadalang/libadalang-2017.ebuild b/dev-ada/libadalang/libadalang-2017.ebuild
index 651850d933e4..30ee55045318 100644
--- a/dev-ada/libadalang/libadalang-2017.ebuild
+++ b/dev-ada/libadalang/libadalang-2017.ebuild
@@ -18,9 +18,9 @@ KEYWORDS="~amd64"
IUSE="gnat_2016 +gnat_2017"
RDEPEND="dev-python/pyyaml
+ dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
- dev-ada/gnatcoll[projects,shared,gnat_2016=,gnat_2017=]
dev-ada/langkit"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
^^ ( gnat_2016 gnat_2017 )"
@@ -31,24 +31,19 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_prepare() {
default
- rm -r ada/testsuite/tests/{acats_parse,stylechecks} || die
+ rm -r ada/testsuite/tests/acats_parse || die
+}
+
+src_configure() {
+ ada/manage.py generate || die
}
src_compile() {
- GCC=${CHOST}-gcc-4.9.4 ada/manage.py make || die
+ ada/manage.py build || die
}
src_test () {
- local myDir="${WORKDIR}"/${PN}-gps-src
- 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 \
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:"${myDir}"/build/lib/libadalang.relocatable \
- PYTHONPATH="${myDir}"/build/python \
- PATH=${PATH}:"${myDir}"/build/bin ./testsuite.py --show-error-output
- rm c_support/libadalang.h
- cd -
+ ada/manage.py test | grep FAILED && die
}
src_install () {