dev-ada/gnatcoll-bindings: get rids of old style ada use
authorTupone Alfredo <tupone@gentoo.org>
Sat, 9 Nov 2019 19:53:46 +0000 (20:53 +0100)
committerTupone Alfredo <tupone@gentoo.org>
Sat, 9 Nov 2019 19:53:46 +0000 (20:53 +0100)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
dev-ada/gnatcoll-bindings/Manifest
dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018-r1.ebuild [deleted file]
dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019.ebuild [deleted file]

index 3e5d41d11b3578f770eec89fcbd1b4ab0308a0c1..8582c1dbc5d97fce35b0c5536cd9afdf047d3cdd 100644 (file)
@@ -1,2 +1 @@
 DIST gnatcoll-bindings-2019-20190430-1928C-src.tar.gz 138935 BLAKE2B c72398b51bf383b163ac10000c4dd5441334a6f24d7ad075d8115f25c030b43bc1dace6a1121e1e69add1eead93a5389aff09ef013deb4682ccb1d31bb85313f SHA512 6db1d35a1cdf5188001084750f7aa32b193768f8c3dfb6d7db8a8314c745fc054b0a6d2234a6dd64c5acd4b1bafffa7ce7f1080bd51fbb8bc88edfcc855b7a48
-DIST gnatcoll-bindings-gpl-2018-src.tar.gz 100068 BLAKE2B 7e5fe106d421d853135ddaea04b7bf2b306e7d0f054379b4c66b58844ac73270d7c82de549e9440f4ecc672ed7e9df6e2b3c1fea55b67403aaa33b09c124bb9b SHA512 2d42e904ab7324d958b34b103ceb2cf7d9bf620f324578b8d3537c18bcc2b4ba73d553bbec773cde5d57979c3e68bc9eef69f97dd55a3b21e43d464881676295
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018-r1.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2018-r1.ebuild
deleted file mode 100644 (file)
index 131bd63..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit multilib multiprocessing python-single-r1
-
-MYP=${PN}-gpl-${PV}
-
-DESCRIPTION="GNAT Component Collection"
-HOMEPAGE="http://libre.adacore.com"
-SRC_URI="http://mirrors.cdn.adacore.com/art/5b0ce9cfc7a4475261f97ca5
-       -> ${MYP}-src.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 gmp iconv python readline +shared
-       static-libs static-pic syslog"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )
-       dev-ada/gnatcoll-core[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]
-       dev-ada/gnatcoll-core[shared?,static-libs?,static-pic?]
-       gmp? ( dev-libs/gmp:* )"
-DEPEND="${RDEPEND}
-       dev-ada/gprbuild[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?]
-       dev-ada/gprbuild[gnat_2019(-)?]"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
-       ^^ ( gnat_2016 gnat_2017 gnat_2018 gnat_2019 )"
-
-S="${WORKDIR}"/${MYP}-src
-
-src_compile() {
-       build () {
-               gprbuild -j$(makeopts_jobs) -m -p -v \
-                       -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \
-                       -XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr -XBUILD="PROD" \
-                       -XGNATCOLL_ICONV_OPT= -XGNATCOLL_PYTHON_CFLAGS="-I$(python_get_includedir)" \
-                       -XGNATCOLL_PYTHON_LIBS=$(python_get_library_path) \
-                       -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed"
-       }
-       for kind in shared static-libs static-pic ; do
-               if use $kind; then
-                       lib=${kind%-libs}
-                       lib=${lib/shared/relocatable}
-                       for dir in gmp iconv python readline syslog ; do
-                               if use $dir; then
-                                       build $dir $lib
-                               fi
-                       done
-               fi
-       done
-}
-
-src_install() {
-       build () {
-               gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \
-                       -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \
-                       -XGNATCOLL_ICONV_OPT= -P $1/gnatcoll_$1.gpr --build-name=$2
-       }
-       for kind in shared static-libs static-pic ; do
-               if use $kind; then
-                       lib=${kind%-libs}
-                       lib=${lib/shared/relocatable}
-                       for dir in gmp iconv python readline syslog ; do
-                               if use $dir; then
-                                       build $dir $lib
-                               fi
-                       done
-               fi
-       done
-       if use iconv; then
-               sed -i \
-                       -e "s:GNATCOLL_ICONV_BUILD:LIBRARY_TYPE:" \
-                       "${D}"/usr/share/gpr/gnatcoll_iconv.gpr \
-                       || die
-       fi
-       rm -r "${D}"/usr/share/gpr/manifests || die
-       einstalldocs
-}
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019.ebuild
deleted file mode 100644 (file)
index a9df535..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-inherit multilib multiprocessing python-single-r1
-
-MYP=${P}-20190430-1928C
-
-DESCRIPTION="GNAT Component Collection"
-HOMEPAGE="http://libre.adacore.com"
-SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8afa31e87a8f1d425054
-       -> ${MYP}-src.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gnat_2016 gnat_2017 gnat_2018 +gnat_2019 gmp iconv python readline +shared
-       static-libs static-pic syslog"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )
-       dev-ada/gnatcoll-core[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?,gnat_2019(-)?]
-       dev-ada/gnatcoll-core[shared?,static-libs?,static-pic?]
-       gmp? ( dev-libs/gmp:* )"
-DEPEND="${RDEPEND}
-       dev-ada/gprbuild[gnat_2016(-)?,gnat_2017(-)?,gnat_2018(-)?]
-       dev-ada/gprbuild[gnat_2019(-)?]"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
-       ^^ ( gnat_2016 gnat_2017 gnat_2018 gnat_2019 )"
-
-S="${WORKDIR}"/${MYP}-src
-
-src_compile() {
-       build () {
-               gprbuild -j$(makeopts_jobs) -m -p -v \
-                       -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \
-                       -XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr -XBUILD="PROD" \
-                       -XGNATCOLL_ICONV_OPT= -XGNATCOLL_PYTHON_CFLAGS="-I$(python_get_includedir)" \
-                       -XGNATCOLL_PYTHON_LIBS=$(python_get_library_path) \
-                       -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed"
-       }
-       for kind in shared static-libs static-pic ; do
-               if use $kind; then
-                       lib=${kind%-libs}
-                       lib=${lib/shared/relocatable}
-                       for dir in gmp iconv python readline syslog ; do
-                               if use $dir; then
-                                       build $dir $lib
-                               fi
-                       done
-               fi
-       done
-}
-
-src_install() {
-       build () {
-               gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \
-                       -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \
-                       -XGNATCOLL_ICONV_OPT= -P $1/gnatcoll_$1.gpr --build-name=$2
-       }
-       for kind in shared static-libs static-pic ; do
-               if use $kind; then
-                       lib=${kind%-libs}
-                       lib=${lib/shared/relocatable}
-                       for dir in gmp iconv python readline syslog ; do
-                               if use $dir; then
-                                       build $dir $lib
-                               fi
-                       done
-               fi
-       done
-       if use iconv; then
-               sed -i \
-                       -e "s:GNATCOLL_ICONV_BUILD:LIBRARY_TYPE:" \
-                       "${D}"/usr/share/gpr/gnatcoll_iconv.gpr \
-                       || die
-       fi
-       rm -r "${D}"/usr/share/gpr/manifests || die
-       einstalldocs
-}