summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-02-02 09:21:18 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-02-02 09:22:40 +0100
commitb9905ce787bc1ea8d6bcacc911f72722a21b319c (patch)
tree791d45e6f30ed7eee1bfcb206a711f888ba61a74 /dev-ada
parentdev-ada/gprconfig_kb: drop 22.0.0-r1 (diff)
downloadgentoo-b9905ce787bc1ea8d6bcacc911f72722a21b319c.tar.gz
gentoo-b9905ce787bc1ea8d6bcacc911f72722a21b319c.tar.bz2
gentoo-b9905ce787bc1ea8d6bcacc911f72722a21b319c.zip
dev-ada/xmlada: drop old
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/xmlada/Manifest1
-rw-r--r--dev-ada/xmlada/files/xmlada-2019-gentoo.patch30
-rw-r--r--dev-ada/xmlada/xmlada-22.0.0.ebuild86
-rw-r--r--dev-ada/xmlada/xmlada-23.0.0.ebuild5
4 files changed, 0 insertions, 122 deletions
diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest
index 0ebf7605be8a..0073eda49418 100644
--- a/dev-ada/xmlada/Manifest
+++ b/dev-ada/xmlada/Manifest
@@ -1,2 +1 @@
-DIST xmlada-22.0.0.tar.gz 1022947 BLAKE2B cea409a45a3b0c8eba48f858278d4e7129eca2e77fa749f5a761e31a81834efba67223f07c99441a9673a8f6de9a608a12cf610225ca5aee7fbde0235d9af1d9 SHA512 7e8a0cab2f4c300fe3b0d31e00d17334e36798430e49868448caa696044964464f558cffba8f35e35a58b097c968322891119b2abd9f210737ca877f0189f32e
DIST xmlada-23.0.0.tar.gz 1053370 BLAKE2B 4edf2244818d72d6fc760f60c8145f373e5445d1d245b20b605e21faa7eeefed7835db87c1fd1239008e75211a572294e1d8e35af16c2ba2631c02d1d3b6f52f SHA512 a0fb2a34ffb5edf408fbdc1a3d68511b5545a5ec8993251ba75d71dd2a197f14e187d08f8febd71cb23bbd694889a99941911386af8468c5eb3b11128555edcb
diff --git a/dev-ada/xmlada/files/xmlada-2019-gentoo.patch b/dev-ada/xmlada/files/xmlada-2019-gentoo.patch
deleted file mode 100644
index 901797ebfde0..000000000000
--- a/dev-ada/xmlada/files/xmlada-2019-gentoo.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/Makefile.in 2017-12-04 20:09:23.730805855 +0100
-+++ b/Makefile.in 2017-12-04 20:09:51.586331155 +0100
-@@ -62,7 +62,8 @@
-
- # Rebuild the tests (and not the XML/Ada code itself)
- test: force
-+ GPR_PROJECT_PATH=schema:input_sources:dom:sax:unicode \
- ${GPRBUILD} -p -XLIBRARY_TYPE=static ${GPROPTS} \
- -XTESTS_ACTIVATED=Only xmlada.gpr
-
- # Run the tests. This requires an install of XML/Ada first
---- a/tests/Makefile 2017-12-04 21:38:29.722818904 +0100
-+++ b/tests/Makefile 2017-12-04 21:38:54.229382658 +0100
-@@ -1,8 +1,6 @@
- TESTS= test_unicode \
- test_state \
-- test_xml \
- test_adacore_dom \
-- test_schema \
- test_date_time \
- test_numbers \
- test_adacore_schema \
-@@ -71,6 +71,7 @@
- test_multiple_xsd:
- @echo "multiple xsd"
- @cd schema/multiple_xsd; \
-+ GPR_PROJECT_PATH=../../../distrib:../../../input_sources:../../../dom:../../../sax:../../../schema:../../../unicode \
- gprbuild -q -Pdefault.gpr; \
- ./validate > $(RESULTS)/multiple_xsd.out; \
- cp $(RESULTS)/multiple_xsd.out $(RESULTS)/multiple_xsd.diff; \
diff --git a/dev-ada/xmlada/xmlada-22.0.0.ebuild b/dev-ada/xmlada/xmlada-22.0.0.ebuild
deleted file mode 100644
index 91c12a5c5d1e..000000000000
--- a/dev-ada/xmlada/xmlada-22.0.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
-inherit ada multiprocessing
-
-DESCRIPTION="Set of modules that provide a simple manipulation of XML streams"
-HOMEPAGE="http://libre.adacore.com/"
-SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0/${PV}"
-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}]"
-
-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() {
- GPR_PROJECT_PATH=schema:input_sources:dom:sax:unicode \
- gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=static \
- -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
- -XTESTS_ACTIVATED=Only \
- -largs ${LDFLAGS} \
- -cargs ${ADAFLAGS} || die "gprbuild failed"
- emake --no-print-directory -C tests tests | 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 -rf "${D}"/usr/share/gpr/manifests
- rm -f "${D}"/usr/share/examples/xmlada/*/b__*
- rm -f "${D}"/usr/share/examples/xmlada/*/*.adb.std*
- rm -f "${D}"/usr/share/examples/xmlada/*/*.ali
- rm -f "${D}"/usr/share/examples/xmlada/*/*.bexch
- rm -f "${D}"/usr/share/examples/xmlada/*/*.o
- rm -f "${D}"/usr/share/examples/xmlada/*/*example
- rm -f "${D}"/usr/share/examples/xmlada/dom/domexample2
- rm -f "${D}"/usr/share/examples/xmlada/sax/saxexample_main
- mv "${D}"/usr/share/examples/xmlada "${D}"/usr/share/doc/"${PF}"/examples || die
-}
diff --git a/dev-ada/xmlada/xmlada-23.0.0.ebuild b/dev-ada/xmlada/xmlada-23.0.0.ebuild
index 60a27cd43583..6b274fccb9df 100644
--- a/dev-ada/xmlada/xmlada-23.0.0.ebuild
+++ b/dev-ada/xmlada/xmlada-23.0.0.ebuild
@@ -44,11 +44,6 @@ src_compile() {
src_test() {
GPR_PROJECT_PATH=schema:input_sources:dom:sax:unicode \
- echo gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=static \
- -XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
- -XTESTS_ACTIVATED=Only \
- -largs ${LDFLAGS} \
- -cargs ${ADAFLAGS} || die "gprbuild failed"
gprbuild -j$(makeopts_jobs) -m -p -v -XLIBRARY_TYPE=static \
-XBUILD=Production -XPROCESSORS=$(makeopts_jobs) xmlada.gpr \
-XTESTS_ACTIVATED=Only \