From 908778078736bd36f7a60a2d576d415cb8e000fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 22 May 2021 07:31:18 +0100 Subject: gentoo resync : 22.05.2021 --- dev-ada/xmlada/Manifest | 5 +-- dev-ada/xmlada/xmlada-2019-r1.ebuild | 80 ------------------------------------ dev-ada/xmlada/xmlada-2020-r1.ebuild | 78 +++++++++++++++++++++++++++++++++++ dev-ada/xmlada/xmlada-2020.ebuild | 6 +-- 4 files changed, 81 insertions(+), 88 deletions(-) delete mode 100644 dev-ada/xmlada/xmlada-2019-r1.ebuild create mode 100644 dev-ada/xmlada/xmlada-2020-r1.ebuild (limited to 'dev-ada/xmlada') diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest index 598fca89bbc1..d7f73259c6af 100644 --- a/dev-ada/xmlada/Manifest +++ b/dev-ada/xmlada/Manifest @@ -1,6 +1,5 @@ AUX xmlada-2019-gentoo.patch 1053 BLAKE2B 33403adf7bf4f774d7fbcf9f07fe0d248a0c7e54df1d4620231813519932b91522c6d17f4f1774b84f48975cb5ca1e14cb01e87607da86df5a005b6766c9b1ff SHA512 0cdd0e9ff1cafcacaaeadb541ab0fa6a783dfd4b2d51528d18eeb99fdcba4a0a1f005c6210d5ac6b0c3052eb67e777f5e481d7fd8ef723d93be1561fba2afe26 -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 -EBUILD xmlada-2019-r1.ebuild 1755 BLAKE2B c99e364b968451b1264622ee0aad3212966aeb8ca6875736f55127f7e997ed301e5df3ddbb4d748d63c70e0e42d7a2742124f0cf06bec503b50d49ee958a9113 SHA512 894a656bf01a4a45554b9c3babea6e9f0ec042bc460a8efda31a53b8456d61d284dd05fdf601aecf396d4bda4aced610382394282f4af781298d0108eb4c378b -EBUILD xmlada-2020.ebuild 2034 BLAKE2B 807fbf7d7da746f5fbd11d9a1ff5b6405f4d2360caffb2d1322c21d1634c442b4185d6db449a64fe36bc32f0489e7727b4fbc997ad6a42b79aac5bcb3cd0ced5 SHA512 421e18b834a4211b61a40839660e6767d665c6042ac0eba2e163cf8d5e10024f187ebc1acbfcf4f880c7a3efc2f9fec67d16ea0f7b3bfe9b038ff70cbb3a28ac +EBUILD xmlada-2020-r1.ebuild 1821 BLAKE2B 644ea00091274003ab0a87a6bffdefd88579ffee3a60e5e8d07a8737585ed845b51855688383db498221f76d99b868f26dcc69a74a26df98ce138c829e158376 SHA512 01631796a796f7f17dea07dbe03c517da5a80104bc894ba388b5db19be28f3d3ee227d40d7b32b7be2e686b38ddc22d51e8fff02ec9dd7dea23bc818a375f5c8 +EBUILD xmlada-2020.ebuild 1986 BLAKE2B cdf92efc79b033ec8071a3464303c538e950e03cd24543b8ab054f698231a40af742607d7dd2ec9601543d0001a5192d762d72cfe31df109b8dd343644f030c8 SHA512 603a5f3ef31f01f138b0d5f59dce45fc7ae0f606cc094dbbac228569f9fec602b01ab38353c0652b72c2a97f858b9416106cf7f8bc96b4a50010430cc44f4546 MISC metadata.xml 907 BLAKE2B c57fbc3e91a6647b5687dc02c78986d161d6a8482119984a420685ce5366a4e0901aca404d066259b1e8384ba45875f15e54810d6d0fe97812ed3fb1983f1a91 SHA512 eb1acaf3359b0ca8544e07e5681ec2ab800581401644f3ee2313dcca9be163e2bdeac16b551aacb19402fd13c18e0787850fb5529382e3e0e77ba4a1b420f53a diff --git a/dev-ada/xmlada/xmlada-2019-r1.ebuild b/dev-ada/xmlada/xmlada-2019-r1.ebuild deleted file mode 100644 index a08b9acda13c..000000000000 --- a/dev-ada/xmlada/xmlada-2019-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -ADA_COMPAT=( gnat_201{6,7,8,9} ) -inherit ada multiprocessing - -MYP=${P}-20190429-19B9D - -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" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+shared static-libs static-pic" -REQUIRED_USE="|| ( shared static-libs static-pic ) - ${ADA_REQUIRED_USE}" - -RDEPEND="${ADA_DEPS}" -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -S="${WORKDIR}"/${MYP}-src - -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) - -src_configure() { - econf --prefix="${D}"/usr -} - -src_compile() { - build () { - gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \ - -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \ - -cargs ${ADAFLAGS} || die "gprbuild failed" - } - if use shared; then - build relocatable - fi - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi -} - -src_test() { - emake test - emake run_test | tee xmlada.testLog - grep -q DIFF xmlada.testLog && die -} - -src_install() { - build () { - gprinstall -XLIBRARY_TYPE=$1 -f -p -XBUILD=Production \ - -XPROCESSORS=$(makeopts_jobs) --prefix="${D}"/usr \ - --install-name=xmlada --build-var=LIBRARY_TYPE \ - --build-var=XMLADA_BUILD \ - --build-name=$1 xmlada.gpr || die "gprinstall failed" - } - if use shared; then - build relocatable - fi - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi - - einstalldocs - dodoc xmlada-roadmap.txt - rm -f "${D}"/usr/share/doc/${PN}/.buildinfo - rm -rf "${D}"/usr/share/gpr/manifests -} diff --git a/dev-ada/xmlada/xmlada-2020-r1.ebuild b/dev-ada/xmlada/xmlada-2020-r1.ebuild new file mode 100644 index 000000000000..c1d2eca395dc --- /dev/null +++ b/dev-ada/xmlada/xmlada-2020-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_201{6..9} gnat_2020 ) +inherit ada multiprocessing + +MYP=${P}-20200429-19A99-src + +DESCRIPTION="Set of modules that provide a simple manipulation of XML streams" +HOMEPAGE="http://libre.adacore.com/" +SRC_URI="https://community.download.adacore.com/v1/c799502295baf074ad17b48c50f621879c392c57?filename=${MYP}.tar.gz + -> ${MYP}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+shared static-libs static-pic" +REQUIRED_USE="|| ( shared static-libs static-pic ) + ${ADA_REQUIRED_USE}" + +RDEPEND="${ADA_DEPS}" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" + +S="${WORKDIR}"/${MYP} + +PATCHES=( "${FILESDIR}"/${PN}-2019-gentoo.patch ) + +src_compile() { + build () { + 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 + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi +} + +src_test() { + emake test + emake run_test | tee xmlada.testLog + grep -q DIFF xmlada.testLog && die +} + +src_install() { + build () { + gprinstall -XLIBRARY_TYPE=$1 -f -p -XBUILD=Production \ + -XPROCESSORS=$(makeopts_jobs) --prefix="${D}"/usr \ + --install-name=xmlada --build-var=LIBRARY_TYPE \ + --build-var=XMLADA_BUILD \ + --build-name=$1 xmlada.gpr || die "gprinstall failed" + } + if use shared; then + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi + + 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 +} diff --git a/dev-ada/xmlada/xmlada-2020.ebuild b/dev-ada/xmlada/xmlada-2020.ebuild index 4fe97505e826..6092f980feaf 100644 --- a/dev-ada/xmlada/xmlada-2020.ebuild +++ b/dev-ada/xmlada/xmlada-2020.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -28,10 +28,6 @@ S="${WORKDIR}"/${MYP} PATCHES=( "${FILESDIR}"/${PN}-2019-gentoo.patch ) -src_configure() { - econf --prefix="${D}"/usr -} - src_compile() { build () { echo gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=$1 \ -- cgit v1.2.3