summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-05-13 22:12:16 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-05-13 22:12:16 +0200
commit385debd01ed37f49b7e11d0291378a69602f633e (patch)
treeade95a98cbd58fc239c2dd1ebb84c488fe6cef06 /dev-ada/xmlada
parentdev-haskell/integer-roots: require gmp support from ghc (diff)
downloadgentoo-385debd01ed37f49b7e11d0291378a69602f633e.tar.gz
gentoo-385debd01ed37f49b7e11d0291378a69602f633e.tar.bz2
gentoo-385debd01ed37f49b7e11d0291378a69602f633e.zip
dev-ada/xmlada: enable gnat_2020
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/xmlada')
-rw-r--r--dev-ada/xmlada/Manifest1
-rw-r--r--dev-ada/xmlada/xmlada-2020-r1.ebuild (renamed from dev-ada/xmlada/xmlada-2019-r1.ebuild)22
2 files changed, 14 insertions, 9 deletions
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest
index f92ebd81209d..47c2584bb757 100644
--- a/dev-ada/xmlada/Manifest
+++ b/dev-ada/xmlada/Manifest
@@ -1,2 +1 @@
-DIST xmlada-2019-20190429-19B9D-src.tar.gz 1582603 BLAKE2B e2be3e7c0c8b843bfc808a3dd726235a82588caed8c919975a97ce34c72d6d634361bbc34208590210936add9e2f881b59d01168ef79abed1e489c50b27094d8 SHA512 f8e0e25b0aee9a7a18223ae7761603082af55134f062c767d0cd0dbf0dbcb2058fc7c57532b567fb2c6efa464a53ead57b300578e98962025866e5c3ad73e380
DIST xmlada-2020-20200429-19A99-src.tar.gz 1533111 BLAKE2B e2c25e103c5c560cf7c9580118580e2952f3ef56c244b0f76c7f484e5629b684d5ee546d2d40520e1a4bf963271d360522423f4e7d81570f7dc1dbc8424c9147 SHA512 e53dd1fba504d2aa91ce29ea381c62adea12c5d8c72cd87396b903143279456cc6547c18035f6e988e95bd93607360075789532378f33cbe23bef9b49c8d984c
diff --git a/dev-ada/xmlada/xmlada-2019-r1.ebuild b/dev-ada/xmlada/xmlada-2020-r1.ebuild
index a08b9acda13c..312be51fd25d 100644
--- a/dev-ada/xmlada/xmlada-2019-r1.ebuild
+++ b/dev-ada/xmlada/xmlada-2020-r1.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-ADA_COMPAT=( gnat_201{6,7,8,9} )
+ADA_COMPAT=( gnat_201{6..9} gnat_2020 )
inherit ada multiprocessing
-MYP=${P}-20190429-19B9D
+MYP=${P}-20200429-19A99-src
DESCRIPTION="Set of modules that provide a simple manipulation of XML streams"
HOMEPAGE="http://libre.adacore.com/"
-SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf916831e87a8f1d4250b5
- -> ${MYP}-src.tar.gz"
+SRC_URI="https://community.download.adacore.com/v1/c799502295baf074ad17b48c50f621879c392c57?filename=${MYP}.tar.gz
+ -> ${MYP}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="+shared static-libs static-pic"
REQUIRED_USE="|| ( shared static-libs static-pic )
${ADA_REQUIRED_USE}"
@@ -24,9 +24,9 @@ RDEPEND="${ADA_DEPS}"
DEPEND="${RDEPEND}
dev-ada/gprbuild[${ADA_USEDEP}]"
-S="${WORKDIR}"/${MYP}-src
+S="${WORKDIR}"/${MYP}
-PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+PATCHES=( "${FILESDIR}"/${PN}-2019-gentoo.patch )
src_configure() {
econf --prefix="${D}"/usr
@@ -34,8 +34,13 @@ src_configure() {
src_compile() {
build () {
+ echo gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \
+ -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
+ -largs ${LDFLAGS} \
+ -cargs ${ADAFLAGS}
gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \
-XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
+ -largs ${LDFLAGS} \
-cargs ${ADAFLAGS} || die "gprbuild failed"
}
if use shared; then
@@ -76,5 +81,6 @@ src_install() {
einstalldocs
dodoc xmlada-roadmap.txt
rm -f "${D}"/usr/share/doc/${PN}/.buildinfo
+ rm -rf "${D}"/usr/share/examples
rm -rf "${D}"/usr/share/gpr/manifests
}