Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/libgpr/
Date: Thu, 25 Nov 2021 07:30:54
Message-Id: 1637825438.fbc3843b7ad0f0abeb1ddca0e11465b6c7a57a02.tupone@gentoo
1 commit: fbc3843b7ad0f0abeb1ddca0e11465b6c7a57a02
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 07:30:38 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 07:30:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbc3843b
7
8 dev-ada/libgpr: unsupport gnat_2019, drop old
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ada/libgpr/Manifest | 1 -
14 dev-ada/libgpr/libgpr-2020-r1.ebuild | 63 ------------------------------------
15 dev-ada/libgpr/libgpr-2020.ebuild | 63 ------------------------------------
16 3 files changed, 127 deletions(-)
17
18 diff --git a/dev-ada/libgpr/Manifest b/dev-ada/libgpr/Manifest
19 index 2935eba02ba6..2ffcc305022b 100644
20 --- a/dev-ada/libgpr/Manifest
21 +++ b/dev-ada/libgpr/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST gprbuild-2020-20200429-19BD2-src.tar.gz 2489399 BLAKE2B 3a036cb40bbe5522af63c376a672384093901b44df6fd74013f1eff9d269c2f5056224ab5e7d59b6f3cf126cd14dd30420056b09e887851351462de59f700e3a SHA512 d2ff6a5d8281d332a31533c7a5744b6169fd250c9086373fd658486c1e529564d9830b9ef3b2dfcbec5f8c1ba50d244a9eb45bf8fdccd53f8b711dcf29258dfd
24 DIST gprbuild-2021-20210519-19A34-src.tar.gz 2572773 BLAKE2B 42244b96b48a10795812865a430a92a75f3e6a58f384a72e6941945707e712d239f2350e00bd94e6161fb19c6469197547f4ddb565e860ae1d08573b7c667997 SHA512 f2fd10cdf8bd2ae553184104a8d29ddf884329946c55e1a199d49358151e9f1ea25f6566d6e00d15e07d26ea4e84377f4ee137a9af4eecb862fc825dd987ada8
25 DIST gprbuild-22.0.0.tar.gz 945311 BLAKE2B 4573855667fe6c352a61ac2fd8218619e0c9fa5c5079fe6854988733b7dac27225177f550b58b8d596516e8d3bf9a279f44864fdcb00514ee9e5776415c78f2d SHA512 7e77d9441454670a7b3b14cff97339e654bb82e7321abd9d612a771e1559f3276057e5163b50ca08b6ab77ebb9fcfd36590ba3c9cfd28d07fce43c7673ad254a
26
27 diff --git a/dev-ada/libgpr/libgpr-2020-r1.ebuild b/dev-ada/libgpr/libgpr-2020-r1.ebuild
28 deleted file mode 100644
29 index 7da344e05d7a..000000000000
30 --- a/dev-ada/libgpr/libgpr-2020-r1.ebuild
31 +++ /dev/null
32 @@ -1,63 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -ADA_COMPAT=( gnat_2019 gnat_2020 )
39 -inherit ada multiprocessing
40 -
41 -MYP=gprbuild-${PV}-20200429-19BD2-src
42 -
43 -DESCRIPTION="Ada library to handle GPRbuild project files"
44 -HOMEPAGE="http://libre.adacore.com/"
45 -SRC_URI="https://community.download.adacore.com/v1/408ec35c3bb86bd227db3da55d3e1e0c572a56e3?filename=${MYP}.tar.gz
46 - -> ${MYP}.tar.gz"
47 -LICENSE="GPL-3"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="+shared static-libs static-pic"
51 -
52 -RDEPEND="dev-ada/xmlada[shared?,static-libs?,static-pic?,${ADA_USEDEP}]
53 - !net-libs/grpc"
54 -DEPEND="${RDEPEND}
55 - dev-ada/gprbuild[${ADA_USEDEP}]"
56 -REQUIRED_USE="${ADA_REQUIRED_USE}
57 - || ( shared static-libs static-pic )"
58 -
59 -S="${WORKDIR}"/${MYP}
60 -
61 -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
62 -
63 -src_configure() {
64 - emake setup
65 -}
66 -
67 -src_compile() {
68 - build () {
69 - gprbuild -p -m -j$(makeopts_jobs) -XBUILD=production -v \
70 - -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \
71 - gpr/gpr.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
72 - }
73 - if use shared; then
74 - build relocatable
75 - fi
76 - if use static-libs; then
77 - build static
78 - fi
79 - if use static-pic; then
80 - build static-pic
81 - fi
82 -}
83 -
84 -src_install() {
85 - if use static-libs; then
86 - emake prefix="${D}"/usr libgpr.install.static
87 - fi
88 - for kind in shared static-pic; do
89 - if use ${kind}; then
90 - emake prefix="${D}"/usr libgpr.install.${kind}
91 - fi
92 - done
93 - rm -r "${D}"/usr/share/gpr/manifests || die
94 - einstalldocs
95 -}
96
97 diff --git a/dev-ada/libgpr/libgpr-2020.ebuild b/dev-ada/libgpr/libgpr-2020.ebuild
98 deleted file mode 100644
99 index f1f677ae6017..000000000000
100 --- a/dev-ada/libgpr/libgpr-2020.ebuild
101 +++ /dev/null
102 @@ -1,63 +0,0 @@
103 -# Copyright 1999-2021 Gentoo Authors
104 -# Distributed under the terms of the GNU General Public License v2
105 -
106 -EAPI=7
107 -
108 -ADA_COMPAT=( gnat_2019 )
109 -inherit ada multiprocessing
110 -
111 -MYP=gprbuild-${PV}-20200429-19BD2-src
112 -
113 -DESCRIPTION="Ada library to handle GPRbuild project files"
114 -HOMEPAGE="http://libre.adacore.com/"
115 -SRC_URI="https://community.download.adacore.com/v1/408ec35c3bb86bd227db3da55d3e1e0c572a56e3?filename=${MYP}.tar.gz
116 - -> ${MYP}.tar.gz"
117 -LICENSE="GPL-3"
118 -SLOT="0"
119 -KEYWORDS="amd64 x86"
120 -IUSE="+shared static-libs static-pic"
121 -
122 -RDEPEND="dev-ada/xmlada[shared?,static-libs?,static-pic?,${ADA_USEDEP}]
123 - !net-libs/grpc"
124 -DEPEND="${RDEPEND}
125 - dev-ada/gprbuild[${ADA_USEDEP}]"
126 -REQUIRED_USE="${ADA_REQUIRED_USE}
127 - || ( shared static-libs static-pic )"
128 -
129 -S="${WORKDIR}"/${MYP}
130 -
131 -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
132 -
133 -src_configure() {
134 - emake setup
135 -}
136 -
137 -src_compile() {
138 - build () {
139 - gprbuild -p -m -j$(makeopts_jobs) -XBUILD=production -v \
140 - -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \
141 - gpr/gpr.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
142 - }
143 - if use shared; then
144 - build relocatable
145 - fi
146 - if use static-libs; then
147 - build static
148 - fi
149 - if use static-pic; then
150 - build static-pic
151 - fi
152 -}
153 -
154 -src_install() {
155 - if use static-libs; then
156 - emake prefix="${D}"/usr libgpr.install.static
157 - fi
158 - for kind in shared static-pic; do
159 - if use ${kind}; then
160 - emake prefix="${D}"/usr libgpr.install.${kind}
161 - fi
162 - done
163 - rm -r "${D}"/usr/share/gpr/manifests || die
164 - einstalldocs
165 -}