From f30563609870941d7e5078dc39cfa30a0e696058 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 13 Mar 2024 18:47:08 +0000 Subject: gentoo auto-resync : 13:03:2024 - 18:47:08 --- dev-ada/Manifest.gz | Bin 4556 -> 4553 bytes dev-ada/e3-core/Manifest | 2 + dev-ada/e3-core/e3-core-22.4.0.ebuild | 55 ++++++++++ dev-ada/gnatcoll-bindings/Manifest | 2 + .../gnatcoll-bindings-24.0.0.ebuild | 98 +++++++++++++++++ dev-ada/gnatcoll-db/Manifest | 2 + dev-ada/gnatcoll-db/gnatcoll-db-24.0.0.ebuild | 118 +++++++++++++++++++++ 7 files changed, 277 insertions(+) create mode 100644 dev-ada/e3-core/e3-core-22.4.0.ebuild create mode 100644 dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.ebuild create mode 100644 dev-ada/gnatcoll-db/gnatcoll-db-24.0.0.ebuild (limited to 'dev-ada') diff --git a/dev-ada/Manifest.gz b/dev-ada/Manifest.gz index 33ef195d86a2..ec3571909e2e 100644 Binary files a/dev-ada/Manifest.gz and b/dev-ada/Manifest.gz differ diff --git a/dev-ada/e3-core/Manifest b/dev-ada/e3-core/Manifest index 777148f1ac23..f2cf3d64a1bb 100644 --- a/dev-ada/e3-core/Manifest +++ b/dev-ada/e3-core/Manifest @@ -1,5 +1,7 @@ AUX e3-core-22.1.0-distro.patch 1143 BLAKE2B ebe7fd0b37ed6dbbe506f4bb86aa8b3bbf59b5e1475b65db07b2a8b28ab86f30998f381c976e9b1eb0f5222171a3c6a592bf7d6a3364a0a0a6c1eb307c0261ef SHA512 16ba2640ecb260702272da1d87b92ce779459da47ef4c1cdc6ad4f5fe98740501df88bc2ef849c55f0eb482a99ab376876af1f5a38a02fe0aeef085c190ecba0 AUX e3-core-22.1.0-test.patch 1057 BLAKE2B 4a8d5ea01e2cd51c297f58db18a25844197bdbaa725260de3eeace06dc3afa74332f10df685947b8bb21e4554920c72eb2c5d08d334d2f77989241510ee00098 SHA512 0771e4d08c611c3b39a695830a30b279470a97e0ccc4c2d6ef0ed184bcbc784240231a93942b89919b4718ed8ede1d3e7b9ff9acf66b547b369fa702cc05f384 DIST e3-core-22.2.0.tar.gz 383417 BLAKE2B ef595dc785b0073a53ddb06ab1ab7b1a0e9eea0131d2a15318f6355a581f83d14f61f6b0f23d4e3df4afe31e0c03a6b1b4ca8b5aefdb3f982ccaa3454f127f0d SHA512 a2bc2a183b3fed9ad2f0119406dc26857254e4a68014f618a75c062518b990e5f1f3af72e9dc321dea3f9248bd97bded87a20b5389a3e03f2d3b76bb83f56216 +DIST e3-core-22.4.0.tar.gz 484431 BLAKE2B fb0d12ea30544a33b1bd3c9e3c7571defb5226faa94fc54e5f25b8b9613a586d9e9a84f973903e150f2dff81b4806afb95df31611ced4452f2d3f892db4f6e3b SHA512 afa99afb16ec8498be62b1ed49ebd2ba057b75fa1d5b37ab5cebd40bc0f70704883211bb37be34a3be98079b7e056963f9d35c338fb20525fa009b968dd83909 EBUILD e3-core-22.2.0.ebuild 1430 BLAKE2B 96acd15cc3f6d01bcc1f459d48df3a42b4c2abee2d8a75592aa2d1611bf0384c8796ae38adbf2c154eba4d0c5a7fb312033de83e76e8ea7d1c64b12be0b1b219 SHA512 da19773ac2b09ed0e04fb20acddc2a6c8b48e44e1d6751a0d28b388eddf1a9db1a386326e60a2283331236fb7f26bdfd9c8a81383de979975938117ec2689806 +EBUILD e3-core-22.4.0.ebuild 1432 BLAKE2B c1c17b5009f0c07b9c528231ef67e2ec3da7785c2eca62b20fc18b1cc5cb665cc5f95e1b355d9dbd4f90b35322e97b9768d12b646947e536b3ffaf7d515a0bc8 SHA512 e203fdcf43422153fc26012fa3e4a170411a8643e0411cf49c50f59f5b49a4b82215836f79fdd63953538c0a299ed8100dfd4cf32b7451c9cc22de62645dbef9 MISC metadata.xml 1257 BLAKE2B c5170ed783bde8d288632069c3e5496d50dfd77a0f7fb62e00964660bd7b3c482509bdf8983af16d1aa7be6bd9ee20708711fc688f002d5bace078c93c4ed212 SHA512 d7fd1018cb701d777e3246fe91b018ea25ebd5bc641e6897d683dee0fcfdd1841d13f9701212d15e81cde531f8e26d10cc156c9ed47125dfbcbc6bd5bacf18af diff --git a/dev-ada/e3-core/e3-core-22.4.0.ebuild b/dev-ada/e3-core/e3-core-22.4.0.ebuild new file mode 100644 index 000000000000..f776aa9fb39e --- /dev/null +++ b/dev-ada/e3-core/e3-core-22.4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 toolchain-funcs + +DESCRIPTION="Ease the development of portable automated build systems" +HOMEPAGE="https://www.adacore.com/" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND="dev-python/colorama[${PYTHON_USEDEP}] + dev-python/stevedore[${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + !app-editors/e3" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/httpretty[${PYTHON_USEDEP}] + dev-vcs/subversion + dev-python/mock[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-22.1.0-distro.patch + "${FILESDIR}"/${PN}-22.1.0-test.patch +) + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +src_compile() { + local PLATFORM=x86_64-linux + rm src/e3/os/data/rlimit* || die + $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} tools/rlimit/rlimit.c ${LDFLAGS} + distutils-r1_src_compile +} diff --git a/dev-ada/gnatcoll-bindings/Manifest b/dev-ada/gnatcoll-bindings/Manifest index 2daec4770ca1..d88063b0a9b8 100644 --- a/dev-ada/gnatcoll-bindings/Manifest +++ b/dev-ada/gnatcoll-bindings/Manifest @@ -1,4 +1,6 @@ AUX gnatcoll-bindings-23.0.0-py_3_11.patch 412 BLAKE2B 3d327f02b5305a7e0aa5414ec83be80ae62b6a2b93581846acf6306a3ab364c8ae07137bdffea1fce69a51c6bfa707daa0555ae49b7e69db0301c227896836ff SHA512 2539d5d96ec00cccef5b42fe5795d5cedffc528bb9e4d328007718f5189c61657cc77daf80a5f7da0a157c482e7146116ab6da8a9dd10afe68e1a3f30e3c548d 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 MISC metadata.xml 1172 BLAKE2B 23758b9a71c24a6e635488947a6491713dd69750c62715b1fe0eb12db380d1ecc80ebb4941a00a9ae01ce2009316849e802560bc52402fed64b671547951cf89 SHA512 1ea356da231ee9b42df8733e0ca6c3cbb5e3a2f0eb143bc894a8961e82b69f2e05b0f5d8dba309dc6b0556c4340bb51175fe9aa5a272aae006eed4a2cf449098 diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.ebuild new file mode 100644 index 000000000000..3ae37f2991ef --- /dev/null +++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-24.0.0.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 ) +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-db/Manifest b/dev-ada/gnatcoll-db/Manifest index a436e1b93d77..fcea56126314 100644 --- a/dev-ada/gnatcoll-db/Manifest +++ b/dev-ada/gnatcoll-db/Manifest @@ -1,3 +1,5 @@ DIST gnatcoll-db-23.0.0.tar.gz 2651044 BLAKE2B 73d1cd75eace5a6ebab7551a28acc4d77ff82cac2fb23390fa513e52beb44fcbc6637ce1700cfcdbe13ddf49872be0212d59f24ce80f28bea23d44cf93faa8e6 SHA512 4cc037b63e2b346bb84689522bb1ee3ea6efd07a080ac58856843fd49e06371c5e444fe9458a5338ba34c43b0f796cab051f9aa1ec448c49e5298bc6130e3f34 +DIST gnatcoll-db-24.0.0.tar.gz 2651067 BLAKE2B 27c35c44c9be149cd1691ce02b0f30969606816f5e926782ae1eb1d4b2a052f434e0406bf865a729b927586a413f55b9970decdb128462a9fad638645aa80855 SHA512 9c775de99044d803096bad8f68661674e9e82cb026ab458dda6fdd880419264f9f9bfde79c9fada20dba764e5a554a272c5bfe4fc15d6272fd6721969bd824e4 EBUILD gnatcoll-db-23.0.0-r1.ebuild 2867 BLAKE2B 204207191332d501bdeed99050d928ba07d493d2492508b0d47d17fbf6dd2d50bbbee19ba840b984eeeeb27cd006ed919218356a890b7c245666721c88f071cf SHA512 c82312e98c2ff4ea16021fc80d5a7f64218479f6ce27fb6373bacedda608afd4e907fb47f10e60079127e3726b751d9164bdfdb3cf06bd6e3b2d7570f8c519dc +EBUILD gnatcoll-db-24.0.0.ebuild 2868 BLAKE2B 97e25b65867ce982e4c3d144ace3a75bd3695277a705090a5eaba744686266b6afc0377352046b4ab9257d0eea85ae06d78c0cd76810ed9ae4e31662c8e6dbb3 SHA512 3bea3eb764866827c051c4f678dc26c8bba613c8d711141b665c58139868c68918148a0e2aa79d1f0e58a97fa9100691bbde1527170b21be6fe30abeb431d9f6 MISC metadata.xml 1359 BLAKE2B fe1a09201ec968c79fad5171c9f1e5ff51fa5be137113729bdfe204345f627b256b2bf15053511421a62bc011fbed510b433d442561d09076b996102c4ff1480 SHA512 299f489c8fb90e944f4186d7f495f61c62bd950a4414ccbf4cbe2daecf49d744b90009f60c1733edf5fc92d12d10f2eb6b3067189d01876af89056e11c47b902 diff --git a/dev-ada/gnatcoll-db/gnatcoll-db-24.0.0.ebuild b/dev-ada/gnatcoll-db/gnatcoll-db-24.0.0.ebuild new file mode 100644 index 000000000000..25ecddc4b0df --- /dev/null +++ b/dev-ada/gnatcoll-db/gnatcoll-db-24.0.0.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +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/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}" + +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 +} -- cgit v1.2.3