1 |
commit: 1203b45baf8ad18501f6ec1e056007c4f6e32633 |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 22 18:42:42 2020 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 22 18:42:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1203b45b |
7 |
|
8 |
dev-ada/aws: Version bump to 2020 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-ada/aws/Manifest | 1 + |
14 |
dev-ada/aws/aws-2020.ebuild | 43 +++++++++++++++++++++++++++++++++ |
15 |
dev-ada/aws/files/aws-2020-gentoo.patch | 11 +++++++++ |
16 |
3 files changed, 55 insertions(+) |
17 |
|
18 |
diff --git a/dev-ada/aws/Manifest b/dev-ada/aws/Manifest |
19 |
index 69aa2ed1947..2c16f18538f 100644 |
20 |
--- a/dev-ada/aws/Manifest |
21 |
+++ b/dev-ada/aws/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST aws-2019-20190512-18AB9-src.tar.gz 4241817 BLAKE2B 1054c17c0e79ea4992a7e29fdb1996caa663321407b64ae88cb76cb03d953b7ea36a8c91a28f60328ea2ec3223c1d7f8c2f052f4f181f03b1f59cf33443ee27e SHA512 989043f75504ee8b3736800fa36f4d3a98a6bc745ff4bef38dd4f7c8a7072d5d1ea383dfd2fc090d8558a6d6442953e5f3c65e4633ab16bfb3dacf60ebf79a3b |
24 |
+DIST aws-2020-20200429-19A9F-src.tar.gz 4120886 BLAKE2B 44156b532dd4382995e5b33eedbb39b4d4fa542f57f3a7d596875a25c1eb59c3e4cc0085cfc60f385566842f2b047086a66a966dc3b9dcd8f48ae7da0c07c01e SHA512 284331bcd07955737ebc6b95a0a72984ace55a1911f1ed809b0ba8e525b03df57a668ccd92d0edfde42be2e06c09a3225e84f5d0501a488a004eb3eeaa746a61 |
25 |
DIST aws-gpl-2018-src.tar.gz 4193276 BLAKE2B 31fa99fc3324f2514799a33cbd282f68a26d133da14ee2a70d3f5091c3670e82a7b77f9f941e593e914a755dd54d5a1e352d201a9dc097991b7bd50aa9f54b3b SHA512 62b85f70dd722148bbf3ad85bfd6cde2d0ab1d8029f673eb7ee42b0890c3dbf0f023c321e96eca99ccd2f0b235347ab577cfb558e7d81993d166683ec815dbe4 |
26 |
|
27 |
diff --git a/dev-ada/aws/aws-2020.ebuild b/dev-ada/aws/aws-2020.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..9efa0313e56 |
30 |
--- /dev/null |
31 |
+++ b/dev-ada/aws/aws-2020.ebuild |
32 |
@@ -0,0 +1,43 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+ADA_COMPAT=( gnat_2019 ) |
39 |
+inherit ada multiprocessing |
40 |
+ |
41 |
+MYP=${P}-20200429-19A9F-src |
42 |
+ |
43 |
+DESCRIPTION="A complete Web development framework" |
44 |
+HOMEPAGE="http://libre.adacore.com/tools/aws/" |
45 |
+SRC_URI="https://community.download.adacore.com/v1/c1b0f6863d1a30acaee1df022a65ad11d5737a84?filename=${MYP}.tar.gz |
46 |
+ -> ${MYP}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-3" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="" |
52 |
+ |
53 |
+RDEPEND="dev-ada/xmlada[${ADA_USEDEP},shared,static-libs]" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-ada/asis[${ADA_USEDEP}] |
56 |
+ dev-ada/gprbuild[${ADA_USEDEP}]" |
57 |
+ |
58 |
+REQUIRED_USE="${ADA_REQUIRED_USE}" |
59 |
+ |
60 |
+S="${WORKDIR}"/${MYP} |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}"/${P}-gentoo.patch |
64 |
+) |
65 |
+ |
66 |
+src_configure() { |
67 |
+ emake -j1 setup prefix=/usr ENABLE_SHARED=true \ |
68 |
+ GPRBUILD="/usr/bin/gprbuild -v" |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ emake \ |
73 |
+ PROCESSORS=$(makeopts_jobs) \ |
74 |
+ GPRBUILD="/usr/bin/gprbuild -v" |
75 |
+} |
76 |
|
77 |
diff --git a/dev-ada/aws/files/aws-2020-gentoo.patch b/dev-ada/aws/files/aws-2020-gentoo.patch |
78 |
new file mode 100644 |
79 |
index 00000000000..23f3dc38f1e |
80 |
--- /dev/null |
81 |
+++ b/dev-ada/aws/files/aws-2020-gentoo.patch |
82 |
@@ -0,0 +1,11 @@ |
83 |
+--- a/include/include.gpr 2017-02-17 22:09:14.361695926 +0100 |
84 |
++++ b/include/include.gpr 2017-02-17 22:11:36.497215517 +0100 |
85 |
+@@ -54,7 +54,7 @@ |
86 |
+ |
87 |
+ when "Release" => |
88 |
+ for Default_Switches ("Ada") use |
89 |
+- ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Global_Options; |
90 |
++ ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Adaflags & Shared.Global_Options; |
91 |
+ end case; |
92 |
+ |
93 |
+ case Shared.S_Target is |