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/aws/
Date: Tue, 17 Sep 2019 06:53:33
Message-Id: 1568703193.c0805fbb00ce772a316f4b350b02271592110ef7.tupone@gentoo
1 commit: c0805fbb00ce772a316f4b350b02271592110ef7
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 17 06:53:13 2019 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 17 06:53:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0805fbb
7
8 dev-ada/aws: simplify using ada eclass
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
12
13 dev-ada/aws/aws-2018-r2.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++
14 dev-ada/aws/aws-2019-r1.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/dev-ada/aws/aws-2018-r2.ebuild b/dev-ada/aws/aws-2018-r2.ebuild
18 new file mode 100644
19 index 00000000000..f8ec2e23ee5
20 --- /dev/null
21 +++ b/dev-ada/aws/aws-2018-r2.ebuild
22 @@ -0,0 +1,44 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +ADA_COMPAT=( gnat_201{6,7,8,9} )
29 +inherit ada multiprocessing
30 +
31 +MY_P=${PN}-gpl-${PV}-src
32 +
33 +DESCRIPTION="A complete Web development framework"
34 +HOMEPAGE="http://libre.adacore.com/tools/aws/"
35 +SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819e0c7a447df26c27abd
36 + -> ${MY_P}.tar.gz"
37 +
38 +LICENSE="GPL-3"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86"
41 +IUSE=""
42 +
43 +RDEPEND="dev-ada/xmlada[${ADA_USEDEP},shared,static-libs]"
44 +DEPEND="${RDEPEND}
45 + dev-ada/asis[${ADA_USEDEP}]
46 + dev-ada/gprbuild[${ADA_USEDEP}]"
47 +
48 +REQUIRED_USE="${ADA_REQUIRED_USE}"
49 +
50 +S="${WORKDIR}"/${MY_P}
51 +
52 +PATCHES=(
53 + "${FILESDIR}"/${PN}-2016-gentoo.patch
54 + "${FILESDIR}"/${PN}-2018-gentoo.patch
55 +)
56 +
57 +src_configure() {
58 + emake -j1 setup prefix=/usr ENABLE_SHARED=true \
59 + GPRBUILD="/usr/bin/gprbuild -v"
60 +}
61 +
62 +src_compile() {
63 + emake \
64 + PROCESSORS=$(makeopts_jobs) \
65 + GPRBUILD="/usr/bin/gprbuild -v"
66 +}
67
68 diff --git a/dev-ada/aws/aws-2019-r1.ebuild b/dev-ada/aws/aws-2019-r1.ebuild
69 new file mode 100644
70 index 00000000000..c45e75c885b
71 --- /dev/null
72 +++ b/dev-ada/aws/aws-2019-r1.ebuild
73 @@ -0,0 +1,43 @@
74 +# Copyright 1999-2019 Gentoo Authors
75 +# Distributed under the terms of the GNU General Public License v2
76 +
77 +EAPI=7
78 +
79 +ADA_COMPAT=( gnat_2019 )
80 +inherit ada multiprocessing
81 +
82 +MY_P=${P}-20190512-18AB9-src
83 +
84 +DESCRIPTION="A complete Web development framework"
85 +HOMEPAGE="http://libre.adacore.com/tools/aws/"
86 +SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf85a031e87aa2cdf16b19
87 + -> ${MY_P}.tar.gz"
88 +
89 +LICENSE="GPL-3"
90 +SLOT="0"
91 +KEYWORDS="~amd64 ~x86"
92 +IUSE=""
93 +
94 +RDEPEND="dev-ada/xmlada[${ADA_USEDEP},shared,static-libs]"
95 +DEPEND="${RDEPEND}
96 + dev-ada/asis[${ADA_USEDEP}]
97 + dev-ada/gprbuild[${ADA_USEDEP}]"
98 +
99 +REQUIRED_USE="${ADA_REQUIRED_USE}"
100 +
101 +S="${WORKDIR}"/${MY_P}
102 +
103 +PATCHES=(
104 + "${FILESDIR}"/${PN}-2016-gentoo.patch
105 +)
106 +
107 +src_configure() {
108 + emake -j1 setup prefix=/usr ENABLE_SHARED=true \
109 + GPRBUILD="/usr/bin/gprbuild -v"
110 +}
111 +
112 +src_compile() {
113 + emake \
114 + PROCESSORS=$(makeopts_jobs) \
115 + GPRBUILD="/usr/bin/gprbuild -v"
116 +}