diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-28 04:06:07 +0000 |
commit | ccf84bcd604130256d1377cd58f0a634ae6ee20f (patch) | |
tree | f42a709e0c7805183f5680883bc76dc935b7a0cc /dev-ada/libadalang | |
parent | c85a90f90521c7e11d618b527d6630cc64cecbd4 (diff) |
gentoo resync : 28.12.2017
Diffstat (limited to 'dev-ada/libadalang')
-rw-r--r-- | dev-ada/libadalang/Manifest | 2 | ||||
-rw-r--r-- | dev-ada/libadalang/libadalang-2017.ebuild | 21 |
2 files changed, 9 insertions, 14 deletions
diff --git a/dev-ada/libadalang/Manifest b/dev-ada/libadalang/Manifest index 3b6e646012c1..e13873c9d776 100644 --- a/dev-ada/libadalang/Manifest +++ b/dev-ada/libadalang/Manifest @@ -1,4 +1,4 @@ AUX libadalang-2017-gentoo.patch 521 BLAKE2B 0493204f7a71f9f906017b69b988260add9744888559034e066dd0e33114aaad3c1f69cca23ca59b2c0b2d3503469772a91d6c278595ad8dbda5cf7fb063f8db SHA512 88613409e2ba5aa4e33ae01bdab3ac5298a363732372a33334a85781d1b29d045c7e1207650a1f9a819acad671c5dbfc1d3940a2eda9bf923456dadebb6c9af0 DIST libadalang-2017-src.tar.gz 1862217 BLAKE2B 58f72726285e56a15278e85902fabf988327ea86a08cc6c86271d61075a6b19a0bffa86e5302f5c32e6d35ef95473ad747853b14899a12d09d49d656f4e6559e SHA512 c8663a7214c3c1dd73a6589a6db10d219fcd2db39ba2ce184eea85272c5f206ab0aa8d13b0e19b08a5996906c7fbddd479795363ec22e889dfceda9967c346c7 -EBUILD libadalang-2017.ebuild 1508 BLAKE2B afff927d16b80a90c047f2b1f241581d59d2dd2fffb3d31d5de24bb37041897374c304a4a4b103b29416c5de7ddac174679566c1a761862ab9e541f7692b3408 SHA512 63f53f90de98e525c4816162c773236cc8dc28e68f8d48f1ed13c7160d497aa63350f68880a72576bd3cdc4c6097e1a0596ae1287b7c2aff5b3fb9003dccc500 +EBUILD libadalang-2017.ebuild 1093 BLAKE2B a4367e0ad2fdd068fd41ac07f6e8379b00e8882717dbd590f6d27690656a95c130191f2d51ed7a17db9ec73eab71a01bf886a5044e63a465cdbc3915fe268941 SHA512 3dae751414a9bef245465d08f20f3d3692e1589da67d221960275f10577e3a796c8a1387a4789900f2279be67fa68391b6e422b86a3843149eef0332f3c4a4ad MISC metadata.xml 692 BLAKE2B e95060511ad72cee837cc1bc5c131d87f137b25928022ac81049c2da9659d23828a229a001339ed83cddde4663dbf6acea2870c2cf802019aee56e620f7cdf83 SHA512 024b1a9f34cbdda3c49d1452ebe0928c1da6eecdc144447db03ba1f9df81d8abe5f27d4898487a1171e2820675d7dfd1ac05074b58869b1601a7042041050505 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 () { |