summaryrefslogtreecommitdiff
path: root/dev-ada/gnatcoll-db
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ada/gnatcoll-db')
-rw-r--r--dev-ada/gnatcoll-db/Manifest3
-rw-r--r--dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch11
-rw-r--r--dev-ada/gnatcoll-db/gnatcoll-db-22.0.0.ebuild120
3 files changed, 0 insertions, 134 deletions
diff --git a/dev-ada/gnatcoll-db/Manifest b/dev-ada/gnatcoll-db/Manifest
index dd57271e9b3b..3cf4986e6403 100644
--- a/dev-ada/gnatcoll-db/Manifest
+++ b/dev-ada/gnatcoll-db/Manifest
@@ -1,6 +1,3 @@
-AUX gnatcoll-db-2018-gentoo.patch 361 BLAKE2B c7b15cb7433a5bb0f9fee68df4594a390d8d77ccd027e583dd14037a7a1319e727c99fbf4dc81de97ff457f1e0f6b237d1436f6b336668aca956fc5c083cbab6 SHA512 4d90c530bfa6948282c61c6df92a32aa8e03fa794768568ce10dda9a43cd3b56970761a0bd30913ae51f0a2605f2bc0ecc2124561982c7951985c35a974264e7
-DIST gnatcoll-db-22.0.0.tar.gz 2648812 BLAKE2B 5c1be4fb9973aa99ecdc37ca0335981f61581c8d3548d70a0c5ed2c3da8279abf36a204e5f7747a2c3d14648ee33438f027230eba105964c8042aa73b4b57f1a SHA512 a3baf3e2bf09b0407f3ac1323824da54998b79008cb7c2bc3a054e275d7071fd21f364f38b98bda97da9e07ce186e9a1c3bf1bcc25a347e8dc6f64e3f4de65fe
DIST gnatcoll-db-23.0.0.tar.gz 2651044 BLAKE2B 73d1cd75eace5a6ebab7551a28acc4d77ff82cac2fb23390fa513e52beb44fcbc6637ce1700cfcdbe13ddf49872be0212d59f24ce80f28bea23d44cf93faa8e6 SHA512 4cc037b63e2b346bb84689522bb1ee3ea6efd07a080ac58856843fd49e06371c5e444fe9458a5338ba34c43b0f796cab051f9aa1ec448c49e5298bc6130e3f34
-EBUILD gnatcoll-db-22.0.0.ebuild 2914 BLAKE2B 33880e651a22b18180246c25c75804c3a5418f612963c494fe38820a9ce1dc4382ff12ebed777934681aa965ac8c3b1df100e065c1046c93f22d5e73b0b811f7 SHA512 002efbfcca47b88ff1b53744bb5826eae51cf2cd8b72d0b3402eb3df35ac4aae0ea59fc350e28cb425e8d2e6cead4cc89a89c545499650da5fe2675dacbd24f3
EBUILD gnatcoll-db-23.0.0.ebuild 2863 BLAKE2B f5abfb50cafe2cc84d21e363e4fa775f28e003e57f2b858aa4f3614a1ea70b5b27f4d7b08a25237afb9024289f8bb98008d2fc16a20961d75bf5358efb6c4128 SHA512 e1a4f35c66a825d9a4dbe504da7e91f9db39ff34b40b85888c276a840d590410e179efa3f478bf872571cca3d7887b6f3c743da6b5017e183380218805bc2b7f
MISC metadata.xml 1359 BLAKE2B fe1a09201ec968c79fad5171c9f1e5ff51fa5be137113729bdfe204345f627b256b2bf15053511421a62bc011fbed510b433d442561d09076b996102c4ff1480 SHA512 299f489c8fb90e944f4186d7f495f61c62bd950a4414ccbf4cbe2daecf49d744b90009f60c1733edf5fc92d12d10f2eb6b3067189d01876af89056e11c47b902
diff --git a/dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch b/dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch
deleted file mode 100644
index 9d95a9bfc1c4..000000000000
--- a/dev-ada/gnatcoll-db/files/gnatcoll-db-2018-gentoo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/sqlite/gnatcoll_sqlite.gpr 2018-06-24 14:08:52.477478654 +0200
-+++ b/sqlite/gnatcoll_sqlite.gpr 2018-06-24 14:08:59.149372684 +0200
-@@ -42,7 +42,7 @@
- for Library_Name use Name;
- for Library_Version use "lib" & Name & Gnatcoll.So_Ext & "." & Version;
-
-- for Languages use ("Ada", "C");
-+ for Languages use ("Ada");
-
- Thread_Lib := ();
-
diff --git a/dev-ada/gnatcoll-db/gnatcoll-db-22.0.0.ebuild b/dev-ada/gnatcoll-db/gnatcoll-db-22.0.0.ebuild
deleted file mode 100644
index 39e5c8fb7d31..000000000000
--- a/dev-ada/gnatcoll-db/gnatcoll-db-22.0.0.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{9,10} )
-ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
-
-inherit ada multiprocessing python-single-r1
-
-DESCRIPTION="GNAT Component Collection"
-HOMEPAGE="http://libre.adacore.com"
-SRC_URI="https://github.com/AdaCore/${PN}/archive/v${PV}.tar.gz
- -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE="db2ada gnatinspect postgres +shared sql sqlite static-libs static-pic xref"
-
-RDEPEND="dev-ada/gnatcoll-core:${SLOT}[${ADA_USEDEP},shared?,static-libs?,static-pic?]
- sqlite? ( dev-db/sqlite:3 )
- postgres? ( dev-db/postgresql:* )
- xref? (
- dev-ada/gnatcoll-bindings:${SLOT}[${ADA_USEDEP},iconv,shared?,static-libs?,static-pic?]
- )
- ${ADA_DEPS}
- ${PYTHON_DEPS}"
-DEPEND="${RDEPEND}
- dev-ada/gprbuild[${ADA_USEDEP}]"
-
-REQUIRED_USE="gnatinspect? ( xref )
- xref? ( sqlite )
- sqlite? ( sql )
- db2ada? ( sql )
- postgres? ( sql )
- || ( shared static-libs static-pic )
- || ( sql sqlite xref postgres gnatinspect db2ada )
- ${ADA_REQUIRED_USE}
- ${PYTHON_REQUIRED_USE}"
-
-PATCHES=( "${FILESDIR}"/${PN}-2018-gentoo.patch )
-
-pkg_setup() {
- python-single-r1_pkg_setup
- ada_setup
-}
-
-src_compile() {
- build () {
- GPR_PROJECT_PATH="${S}"/sql:"${S}"/sqlite:"${S}"/xref \
- gprbuild -p -m -v -j$(makeopts_jobs) -XGNATCOLL_SQLITE=external \
- -XGNATCOLL_VERSION=${PV} \
- -XBUILD=PROD -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 -XGPR_BUILD=$2 \
- -P $1/$3.gpr \
- -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed"
- }
- local lib
- for kind in shared static-libs static-pic ; do
- if use $kind; then
- lib=${kind%-libs}
- lib=${lib/shared/relocatable}
- for dir in sql sqlite xref postgres ; do
- if use $dir; then
- build $dir $lib gnatcoll_${dir}
- fi
- done
- fi
- done
- if use shared; then
- lib=relocatable
- elif use static-libs; then
- lib=static
- else
- lib=static-pic
- fi
- if use gnatinspect; then
- build gnatinspect ${lib} gnatinspect
- fi
- if use db2ada; then
- build gnatcoll_db2ada ${lib} gnatcoll_db2ada
- fi
-}
-
-src_install() {
- build () {
- GPR_PROJECT_PATH="${D}/usr/share/gpr" gprinstall -p -f \
- -XBUILD=PROD -XGNATCOLL_VERSION=${PV} \
- --prefix="${D}"/usr -XLIBRARY_TYPE=$2 -XXMLADA_BUILD=$2 \
- -XGPR_BUILD=$2 --build-name=$2 --build-var=LIBRARY_TYPE \
- -P $1/$3.gpr
- }
- local lib
- for kind in shared static-libs static-pic ; do
- if use $kind; then
- lib=${kind%-libs}
- lib=${lib/shared/relocatable}
- for dir in sql sqlite xref postgres ; do
- if use $dir; then
- build $dir $lib gnatcoll_${dir}
- fi
- done
- fi
- done
- if use shared; then
- lib=relocatable
- elif use static-libs; then
- lib=static
- else
- lib=static-pic
- fi
- if use gnatinspect; then
- build gnatinspect ${lib} gnatinspect
- fi
- if use db2ada; then
- build gnatcoll_db2ada ${lib} gnatcoll_db2ada
- fi
- rm -r "${D}"/usr/share/gpr/manifests || die
- einstalldocs
-}