1 |
commit: 4fd2f264953622576f6f4a06b7ae3a1e676f89b4 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 10:16:35 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 10:16:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd2f264 |
7 |
|
8 |
dev-ada/gnatcoll-bindings: remove old versions |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
.../gnatcoll-bindings-2019-r1.ebuild | 86 ---------------------- |
14 |
.../gnatcoll-bindings-2019-r2.ebuild | 2 +- |
15 |
.../gnatcoll-bindings-2020-r1.ebuild | 2 +- |
16 |
.../gnatcoll-bindings-2020.ebuild | 86 ---------------------- |
17 |
4 files changed, 2 insertions(+), 174 deletions(-) |
18 |
|
19 |
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019-r1.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019-r1.ebuild |
20 |
deleted file mode 100644 |
21 |
index fae30e62e54..00000000000 |
22 |
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019-r1.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,86 +0,0 @@ |
25 |
-# Copyright 1999-2019 Gentoo Authors |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI=7 |
29 |
- |
30 |
-PYTHON_COMPAT=( python2_7 ) |
31 |
-ADA_COMPAT=( gnat_201{6,7,8,9} ) |
32 |
-inherit ada multilib multiprocessing python-single-r1 |
33 |
- |
34 |
-MYP=${P}-20190430-1928C |
35 |
- |
36 |
-DESCRIPTION="GNAT Component Collection" |
37 |
-HOMEPAGE="http://libre.adacore.com" |
38 |
-SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8afa31e87a8f1d425054 |
39 |
- -> ${MYP}-src.tar.gz" |
40 |
- |
41 |
-LICENSE="GPL-3" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="amd64 x86" |
44 |
-IUSE="gmp iconv python readline +shared static-libs static-pic syslog" |
45 |
- |
46 |
-RDEPEND="python? ( ${PYTHON_DEPS} ) |
47 |
- ${ADA_DEPS} |
48 |
- dev-ada/gnatcoll-core[${ADA_USEDEP},shared?,static-libs?,static-pic?] |
49 |
- gmp? ( dev-libs/gmp:* )" |
50 |
-DEPEND="${RDEPEND} |
51 |
- dev-ada/gprbuild[${ADA_USEDEP}]" |
52 |
- |
53 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
54 |
- ${ADA_REQUIRED_USE}" |
55 |
- |
56 |
-S="${WORKDIR}"/${MYP}-src |
57 |
- |
58 |
-pkg_setup() { |
59 |
- python-single-r1_pkg_setup |
60 |
- ada_pkg_setup |
61 |
-} |
62 |
- |
63 |
-src_compile() { |
64 |
- build () { |
65 |
- gprbuild -j$(makeopts_jobs) -m -p -v \ |
66 |
- -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ |
67 |
- -XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr -XBUILD="PROD" \ |
68 |
- -XGNATCOLL_ICONV_OPT= -XGNATCOLL_PYTHON_CFLAGS="-I$(python_get_includedir)" \ |
69 |
- -XGNATCOLL_PYTHON_LIBS=$(python_get_library_path) \ |
70 |
- -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed" |
71 |
- } |
72 |
- for kind in shared static-libs static-pic ; do |
73 |
- if use $kind; then |
74 |
- lib=${kind%-libs} |
75 |
- lib=${lib/shared/relocatable} |
76 |
- for dir in gmp iconv python readline syslog ; do |
77 |
- if use $dir; then |
78 |
- build $dir $lib |
79 |
- fi |
80 |
- done |
81 |
- fi |
82 |
- done |
83 |
-} |
84 |
- |
85 |
-src_install() { |
86 |
- build () { |
87 |
- gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \ |
88 |
- -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ |
89 |
- -XGNATCOLL_ICONV_OPT= -P $1/gnatcoll_$1.gpr --build-name=$2 |
90 |
- } |
91 |
- for kind in shared static-libs static-pic ; do |
92 |
- if use $kind; then |
93 |
- lib=${kind%-libs} |
94 |
- lib=${lib/shared/relocatable} |
95 |
- for dir in gmp iconv python readline syslog ; do |
96 |
- if use $dir; then |
97 |
- build $dir $lib |
98 |
- fi |
99 |
- done |
100 |
- fi |
101 |
- done |
102 |
- if use iconv; then |
103 |
- sed -i \ |
104 |
- -e "s:GNATCOLL_ICONV_BUILD:LIBRARY_TYPE:" \ |
105 |
- "${D}"/usr/share/gpr/gnatcoll_iconv.gpr \ |
106 |
- || die |
107 |
- fi |
108 |
- rm -r "${D}"/usr/share/gpr/manifests || die |
109 |
- einstalldocs |
110 |
-} |
111 |
|
112 |
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019-r2.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019-r2.ebuild |
113 |
index b3c1737ca2f..e4563f2e5c1 100644 |
114 |
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019-r2.ebuild |
115 |
+++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2019-r2.ebuild |
116 |
@@ -15,7 +15,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8afa31e87a8f1d425054 |
117 |
|
118 |
LICENSE="GPL-3" |
119 |
SLOT="0" |
120 |
-KEYWORDS="~amd64 ~x86" |
121 |
+KEYWORDS="amd64 x86" |
122 |
IUSE="gmp iconv readline +shared static-libs static-pic syslog" |
123 |
|
124 |
RDEPEND=" |
125 |
|
126 |
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2020-r1.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2020-r1.ebuild |
127 |
index e6fbbad6182..742e2f983a4 100644 |
128 |
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2020-r1.ebuild |
129 |
+++ b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2020-r1.ebuild |
130 |
@@ -17,7 +17,7 @@ SRC_URI="https://community.download.adacore.com/v1/3c54db553121bf88877e2f56ac4fc |
131 |
|
132 |
LICENSE="GPL-3" |
133 |
SLOT="0" |
134 |
-KEYWORDS="~amd64 ~x86" |
135 |
+KEYWORDS="amd64 x86" |
136 |
#IUSE="gmp iconv python readline +shared static-libs static-pic syslog" |
137 |
IUSE="gmp iconv readline +shared static-libs static-pic syslog" |
138 |
|
139 |
|
140 |
diff --git a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2020.ebuild b/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2020.ebuild |
141 |
deleted file mode 100644 |
142 |
index 0f52f08c86c..00000000000 |
143 |
--- a/dev-ada/gnatcoll-bindings/gnatcoll-bindings-2020.ebuild |
144 |
+++ /dev/null |
145 |
@@ -1,86 +0,0 @@ |
146 |
-# Copyright 1999-2020 Gentoo Authors |
147 |
-# Distributed under the terms of the GNU General Public License v2 |
148 |
- |
149 |
-EAPI=7 |
150 |
- |
151 |
-PYTHON_COMPAT=( python2_7 ) |
152 |
-ADA_COMPAT=( gnat_201{6,7,8,9} ) |
153 |
-inherit ada multilib multiprocessing python-single-r1 |
154 |
- |
155 |
-MYP=${PN}-20.0-20191009-1B2EA |
156 |
- |
157 |
-DESCRIPTION="GNAT Component Collection" |
158 |
-HOMEPAGE="http://libre.adacore.com" |
159 |
-SRC_URI="https://community.download.adacore.com/v1/3c54db553121bf88877e2f56ac4fca36765186eb?filename=${MYP}-src.tar.gz |
160 |
- -> ${MYP}-src.tar.gz" |
161 |
- |
162 |
-LICENSE="GPL-3" |
163 |
-SLOT="0" |
164 |
-KEYWORDS="amd64 x86" |
165 |
-IUSE="gmp iconv python readline +shared static-libs static-pic syslog" |
166 |
- |
167 |
-RDEPEND="python? ( ${PYTHON_DEPS} ) |
168 |
- ${ADA_DEPS} |
169 |
- dev-ada/gnatcoll-core[${ADA_USEDEP},shared?,static-libs?,static-pic?] |
170 |
- gmp? ( dev-libs/gmp:* )" |
171 |
-DEPEND="${RDEPEND} |
172 |
- dev-ada/gprbuild[${ADA_USEDEP}]" |
173 |
- |
174 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
175 |
- ${ADA_REQUIRED_USE}" |
176 |
- |
177 |
-S="${WORKDIR}"/${MYP}-src |
178 |
- |
179 |
-pkg_setup() { |
180 |
- use python && python-single-r1_pkg_setup |
181 |
- ada_pkg_setup |
182 |
-} |
183 |
- |
184 |
-src_compile() { |
185 |
- build () { |
186 |
- gprbuild -j$(makeopts_jobs) -m -p -v \ |
187 |
- -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ |
188 |
- -XLIBRARY_TYPE=$2 -P $1/gnatcoll_$1.gpr -XBUILD="PROD" \ |
189 |
- -XGNATCOLL_ICONV_OPT= -XGNATCOLL_PYTHON_CFLAGS="-I$(python_get_includedir)" \ |
190 |
- -XGNATCOLL_PYTHON_LIBS=$(python_get_library_path) \ |
191 |
- -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS} || die "gprbuild failed" |
192 |
- } |
193 |
- for kind in shared static-libs static-pic ; do |
194 |
- if use $kind; then |
195 |
- lib=${kind%-libs} |
196 |
- lib=${lib/shared/relocatable} |
197 |
- for dir in gmp iconv python readline syslog ; do |
198 |
- if use $dir; then |
199 |
- build $dir $lib |
200 |
- fi |
201 |
- done |
202 |
- fi |
203 |
- done |
204 |
-} |
205 |
- |
206 |
-src_install() { |
207 |
- build () { |
208 |
- gprinstall -p -f -XBUILD=PROD --prefix="${D}"/usr -XLIBRARY_TYPE=$2 \ |
209 |
- -XGPR_BUILD=$2 -XGNATCOLL_CORE_BUILD=$2 \ |
210 |
- -XGNATCOLL_ICONV_OPT= -P $1/gnatcoll_$1.gpr --build-name=$2 |
211 |
- } |
212 |
- for kind in shared static-libs static-pic ; do |
213 |
- if use $kind; then |
214 |
- lib=${kind%-libs} |
215 |
- lib=${lib/shared/relocatable} |
216 |
- for dir in gmp iconv python readline syslog ; do |
217 |
- if use $dir; then |
218 |
- build $dir $lib |
219 |
- fi |
220 |
- done |
221 |
- fi |
222 |
- done |
223 |
- if use iconv; then |
224 |
- sed -i \ |
225 |
- -e "s:GNATCOLL_ICONV_BUILD:LIBRARY_TYPE:" \ |
226 |
- "${D}"/usr/share/gpr/gnatcoll_iconv.gpr \ |
227 |
- || die |
228 |
- fi |
229 |
- rm -r "${D}"/usr/share/gpr/manifests || die |
230 |
- einstalldocs |
231 |
-} |