From 3dc4de6331223493015f198dc61854af604da86c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Oct 2024 04:04:33 +0100 Subject: gentoo auto-resync : 21:10:2024 - 04:04:33 --- dev-ada/gnatcoll-bindings/Manifest | 2 +- .../gnatcoll-bindings-24.0.0-r1.ebuild | 98 ++++++++++++++++++++++ .../gnatcoll-bindings-24.0.0.ebuild | 98 ---------------------- 3 files changed, 99 insertions(+), 99 deletions(-) create mode 100644 dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0-r1.ebuild delete mode 100644 dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.ebuild (limited to 'dev-ada/gnatcoll-bindings') diff --git a/dev-ada/gnatcoll-bindings/Manifest b/dev-ada/gnatcoll-bindings/Manifest index d88063b0a9b8..6493c49c5002 100644 --- a/dev-ada/gnatcoll-bindings/Manifest +++ b/dev-ada/gnatcoll-bindings/Manifest @@ -2,5 +2,5 @@ AUX gnatcoll-bindings-23.0.0-py_3_11.patch 412 BLAKE2B 3d327f02b5305a7e0aa5414ec DIST gnatcoll-bindings-23.0.0.tar.gz 251006 BLAKE2B 8cc5ada5c76d146d80c1b83bfbcfea28b9951339eb5dcdca40a4b40fdeb2ed2ad1971deea60b6fdc7cc2565745958d13fcc1acbd012465dea4cb2535e947af34 SHA512 3f92d3c95ffbcf96df53a1db39c9b829ae3d0a9ee3695d3d7726168bd6744ca4d4dfe4b224b50b50603c6295e1c0c6dd3d9940cf9e20c147a3bed8e6cc39c1ce DIST gnatcoll-bindings-24.0.0.tar.gz 253286 BLAKE2B 6f9ee60a298f98921df3f8bfd3c6e21a3b54412dfea3d67cb6fe0e85d7ba90f17f83d564d9853e989cd60b0d9d9052694a14a70d10a4f70d161878501edd036b SHA512 d82f593cd0a2822d0007ba768a05e9870aa80b47232154008ea91af4ec758df1b23b92eb5264a58f2b4bedf775d143ce7119046a9ba8f7d5496ed89f3a4a2118 EBUILD gnatcoll-bindings-23.0.0-r2.ebuild 2525 BLAKE2B e24fe93e0f43c5e52219a685ef2c3eed738a3651e250eb0f5c296b900a514fece901440f126c25a55f80b6c762cd739a99f2b6dd1863ed4f155a8d4106b7cdfe SHA512 de9381f3b6327e40e9140b7e9a03f521e67bba6d86118091ae556ce4935afa5678e555ebfe8dd1c3fc024b07bcbed24c213a2438047723fe5745e341bbac80ed -EBUILD gnatcoll-bindings-24.0.0.ebuild 2536 BLAKE2B dffbcde9407a6d8d20bef01bd9f0f377de77a141584e34da4be841dc74d022a3286de4dd739498c7e529d4b05d61ffadf1b9149c7d39e464d54b333f274184f4 SHA512 108197d6859e51aa9e9f5721a7f262ff11d0a861a4ae28d3d3d2b454cfb2572fe9ed2598bcb9db13849730e73cd051fcbe50f022d03a87881a61966bb8d265b5 +EBUILD gnatcoll-bindings-24.0.0-r1.ebuild 2543 BLAKE2B 5a830eb06a8bdb8488b4669355f1ad903d37369cdd38e43d2aeb5997d418f3ba417c016feed51a82e2d4a6a5068c2528dc8534d64a5753e8e28b4bc6c455b54b SHA512 89a83c2b92b154352ec009e95f591c272f048573063412fd1cc1f7c912a267a19f0f0392f94f38ec3c53297bf39735a9fda0f9c3c458850b483aa636361ac455 MISC metadata.xml 1172 BLAKE2B 23758b9a71c24a6e635488947a6491713dd69750c62715b1fe0eb12db380d1ecc80ebb4941a00a9ae01ce2009316849e802560bc52402fed64b671547951cf89 SHA512 1ea356da231ee9b42df8733e0ca6c3cbb5e3a2f0eb143bc894a8961e82b69f2e05b0f5d8dba309dc6b0556c4340bb51175fe9aa5a272aae006eed4a2cf449098 diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0-r1.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0-r1.ebuild new file mode 100644 index 000000000000..a2d86f893703 --- /dev/null +++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 gcc_14 ) +inherit ada multiprocessing python-single-r1 + +DESCRIPTION="GNAT Component Collection" +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="gmp iconv lzma openmp python readline +shared static-libs static-pic syslog" +REQUIRED_USE="|| ( shared static-libs static-pic ) + || ( gmp iconv lzma openmp python readline syslog ) + ${PYTHON_REQUIRED_USE} + ${ADA_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + ${ADA_DEPS} + dev-ada/gnatcoll-core:=[${ADA_USEDEP},shared?,static-libs?,static-pic?] + gmp? ( dev-libs/gmp:* ) + lzma? ( app-arch/xz-utils ) + openmp? ( dev-lang/gnat-gpl:=[openmp] ) + " +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" + +QA_EXECSTACK=usr/lib/gnatcoll_readline.*/libgnatcoll_readline.* + +PATCHES=( "${FILESDIR}"/${PN}-23.0.0-py_3_11.patch ) + +pkg_setup() { + python-single-r1_pkg_setup + ada_pkg_setup +} + +src_prepare() { + rm -r python || die + mv python3 python || die + default +} + +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_VERSION=${PV} \ + -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 lzma python readline syslog ; do + if use $dir; then + build $dir $lib + fi + done + if use openmp; then + build omp $lib + fi + fi + done +} + +src_install() { + build () { + gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \ + -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ + -XGNATCOLL_VERSION=${PV} --build-var=LIBRARY_TYPE \ + -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 lzma python readline syslog ; do + if use $dir; then + build $dir $lib + fi + done + if use openmp; then + build omp $lib + fi + fi + done + rm -rf "${D}"/usr/share/gpr/manifests + einstalldocs +} diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.ebuild deleted file mode 100644 index 3ae37f2991ef..000000000000 --- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) -inherit ada multiprocessing python-single-r1 - -DESCRIPTION="GNAT Component Collection" -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="gmp iconv lzma openmp python readline +shared static-libs static-pic syslog" -REQUIRED_USE="|| ( shared static-libs static-pic ) - || ( gmp iconv lzma openmp python readline syslog ) - ${PYTHON_REQUIRED_USE} - ${ADA_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - ${ADA_DEPS} - dev-ada/gnatcoll-core:=[${ADA_USEDEP},shared?,static-libs?,static-pic?] - gmp? ( dev-libs/gmp:* ) - lzma? ( app-arch/xz-utils ) - openmp? ( dev-lang/gnat-gpl:=[openmp] ) - " -DEPEND="${RDEPEND} - dev-ada/gprbuild[${ADA_USEDEP}]" - -QA_EXECSTACK=usr/lib/gnatcoll_readline.*/libgnatcoll_readline.* - -PATCHES=( "${FILESDIR}"/${PN}-23.0.0-py_3_11.patch ) - -pkg_setup() { - python-single-r1_pkg_setup - ada_pkg_setup -} - -src_prepare() { - rm -r python || die - mv python3 python || die - default -} - -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_VERSION=${PV} \ - -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 lzma python readline syslog ; do - if use $dir; then - build $dir $lib - fi - done - if use openmp; then - build omp $lib - fi - fi - done -} - -src_install() { - build () { - gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \ - -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ - -XGNATCOLL_VERSION=${PV} --build-var=LIBRARY_TYPE \ - -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 lzma python readline syslog ; do - if use $dir; then - build $dir $lib - fi - done - if use openmp; then - build omp $lib - fi - fi - done - rm -rf "${D}"/usr/share/gpr/manifests - einstalldocs -} -- cgit v1.2.3