diff options
Diffstat (limited to 'dev-ada/spawn')
-rw-r--r-- | dev-ada/spawn/Manifest | 4 | ||||
-rw-r--r-- | dev-ada/spawn/spawn-23.0.0-r1.ebuild (renamed from dev-ada/spawn/spawn-22.0.0.ebuild) | 4 | ||||
-rw-r--r-- | dev-ada/spawn/spawn-23.0.0.ebuild | 108 |
3 files changed, 3 insertions, 113 deletions
diff --git a/dev-ada/spawn/Manifest b/dev-ada/spawn/Manifest index 321d0968828f..22e9b83af9c1 100644 --- a/dev-ada/spawn/Manifest +++ b/dev-ada/spawn/Manifest @@ -1,5 +1,3 @@ -DIST spawn-22.0.0.tar.gz 49836 BLAKE2B 2283eadae1477600934cbecb67e0fa4c0640150c4d05356ec3d047fdd664e68510c99f9e495dc448c83fe0fea25523727ecb45ee6e85a4b205255a9549031110 SHA512 706c53dabe82994a809c33e984d467ff0f72a2ed9566dedc8262b2c908393f241546ce379a03ea50eb73bf2326b52fc4804d6e192810c703695fc32c9da0b530 DIST spawn-23.0.0.tar.gz 43449 BLAKE2B b4a025784d7fb1248696081c128d415101cffca59f03edae3e3ca05c286390ca93a34c1284d1e4b23f8e57bfff274b87d977e5b7840c74049f6f66be89c9b9ac SHA512 440f8b8a45b7a322a5715a195f7e37e6f2641af8190166229e89a11ce6ab60511eb058432f4c3ffcdd670ec71b2509d5e23a80ac2e8dd6b7960bc42385bab86e -EBUILD spawn-22.0.0.ebuild 2700 BLAKE2B d02f344052798c44561881c5e33fa2ac407b709aa8f2c35cbae1b758bcca67f613c78dc5ba3f11a090df90fce19a05ce8107bdfb0cc0a37130c75b9a0eb73732 SHA512 321afae07a16c92887a261ebf1e836d902adb41a0aa2e3333e5f49e92dd0967b9b2d1ae255778d8185f3660e7a5dc0b9c09a8cae3a6591f51bd42c25be684fef -EBUILD spawn-23.0.0.ebuild 2700 BLAKE2B d02f344052798c44561881c5e33fa2ac407b709aa8f2c35cbae1b758bcca67f613c78dc5ba3f11a090df90fce19a05ce8107bdfb0cc0a37130c75b9a0eb73732 SHA512 321afae07a16c92887a261ebf1e836d902adb41a0aa2e3333e5f49e92dd0967b9b2d1ae255778d8185f3660e7a5dc0b9c09a8cae3a6591f51bd42c25be684fef +EBUILD spawn-23.0.0-r1.ebuild 2700 BLAKE2B e97a4ee33cd034d0252287925961576b6a7b9d77b30db94bbf8df2ca2a8873fab69cd1157a8c01f2466961843249853db4a3b3a059252d13ca6627e30fadd18a SHA512 33cfd163d1243530dd727b82301086cfaca7cb7435f83c3962b797568ff5984b1601c13f166787d62168afcb89c6f3a7263a3257e46024addd3754bd0875cf98 MISC metadata.xml 757 BLAKE2B ab129603cda705c21f84a789cd100d39186e06885589089320dfcfc0726cc913ad73784fd35e541ee0773c93e89bbd42965897b9bd921008cdc0fbdaffdaf64f SHA512 6124d3eecafe758ca841715bcead3b8d35d9af7bafeea8a967910156043c30b1902a521e7cf37c0a61283859797dc364580f2b84f6b597adeb81c25c98f3f9d2 diff --git a/dev-ada/spawn/spawn-22.0.0.ebuild b/dev-ada/spawn/spawn-23.0.0-r1.ebuild index 810600f83734..bd3c6bcdcd39 100644 --- a/dev-ada/spawn/spawn-22.0.0.ebuild +++ b/dev-ada/spawn/spawn-23.0.0-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 ADA_COMPAT=( gnat_2021 gcc_12_2_0 ) inherit ada multiprocessing diff --git a/dev-ada/spawn/spawn-23.0.0.ebuild b/dev-ada/spawn/spawn-23.0.0.ebuild deleted file mode 100644 index 810600f83734..000000000000 --- a/dev-ada/spawn/spawn-23.0.0.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 2021-2022 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="Simple API to spawn processes" -HOMEPAGE="https://github.com/AdaCore/spawn" -SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-3 gcc-runtime-library-exception-3.1" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="glib +shared static-libs static-pic" -REQUIRED_USE="|| ( shared static-libs static-pic ) - ${ADA_REQUIRED_USE}" - -RDEPEND="${ADA_DEPS} - glib? ( - dev-ada/gtkada[${ADA_USEDEP},shared?,static-libs?,static-pic(-)?] - dev-libs/glib -)" -DEPEND="${RDEPEND}" -BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]" - -src_compile() { - build () { - gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 \ - gnat/spawn.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die - if use glib; then - gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 \ - gnat/spawn_glib.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \ - || die - fi - } - 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() { - build () { - gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 \ - gnat/spawn_tests.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \ - || die - if use glib; then - gprbuild -p -j$(makeopts_jobs) -XBUILD=production -v \ - -XLIBRARY_TYPE=$1 \ - gnat/spawn_glib_tests.gpr \ - -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die - fi - } - if use shared; then - build relocatable - elif use static-libs; then - build static - elif use static-pic; then - build static-pic - fi - .obj/spawn_test/spawn_test || die - .obj/spawn_test/spawn_unexpected || die - .obj/spawn_test/spawn_kill || die - if use glib; then - .obj/spawn_test/spawn_glib_test || die - .obj/spawn_test/spawn_glib_args_test.exe || die - fi -} - -src_install() { - build() { - gprinstall --prefix=/usr --sources-subdir="${D}"/usr/include/spawn \ - -XLIBRARY_TYPE=$1 \ - --lib-subdir="${D}"/usr/lib/spawn \ - --project-subdir="${D}"/usr/share/gpr \ - --link-lib-subdir="${D}"/usr/lib/ -p \ - -P gnat/spawn.gpr || die - if use glib; then - gprinstall --prefix=/usr \ - -XLIBRARY_TYPE=$1 \ - --sources-subdir="${D}"/usr/include/spawn_glib \ - --lib-subdir="${D}"/usr/lib/spawn_glib \ - --project-subdir="${D}"/usr/share/gpr \ - --link-lib-subdir="${D}"/usr/lib/ -p \ - -P gnat/spawn_glib.gpr || die - fi - } - if use shared; then - build relocatable - fi - if use static-libs; then - build static - fi - if use static-pic; then - build static-pic - fi -} |