public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/aws/files/, dev-ada/aws/
Date: Sun, 30 Apr 2017 20:36:53 +0000 (UTC)	[thread overview]
Message-ID: <1493584599.1526c880d203a63112bf22b72c97449befdcc0a1.tupone@gentoo> (raw)

commit:     1526c880d203a63112bf22b72c97449befdcc0a1
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 20:36:39 2017 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 20:36:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1526c880

dev-ada/aws: Add dev-ada/aws-2016

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-ada/aws/Manifest                    |  1 +
 dev-ada/aws/aws-2016.ebuild             | 40 +++++++++++++++++++++++++++++++++
 dev-ada/aws/files/aws-2016-gentoo.patch | 36 +++++++++++++++++++++++++++++
 dev-ada/aws/metadata.xml                | 11 +++++++++
 4 files changed, 88 insertions(+)

diff --git a/dev-ada/aws/Manifest b/dev-ada/aws/Manifest
new file mode 100644
index 00000000000..6043913f019
--- /dev/null
+++ b/dev-ada/aws/Manifest
@@ -0,0 +1 @@
+DIST aws-gpl-2016-src.tar.gz 15054562 SHA256 310d7a79fba1cf622f6c8d53103226422c788126198911efef09e372d559db32 SHA512 296825e4683bbf4701a42d52cb0b58ebed8d3715972d0c5f83765987d1e96ab4d6d22835c37c043f49ae106fedf5d61ef22cbe348384c2de388519637e26df0b WHIRLPOOL 48428b840149064f96a1656074cfb2f308abdc546ece87d939ab2f95f05e668caafbe9969ab99770909739fe8a4013337cd1ea8b56a7ed06291114c5d812c62f

diff --git a/dev-ada/aws/aws-2016.ebuild b/dev-ada/aws/aws-2016.ebuild
new file mode 100644
index 00000000000..a26246e5b27
--- /dev/null
+++ b/dev-ada/aws/aws-2016.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multiprocessing
+
+MY_P=${PN}-gpl-${PV}-src
+
+DESCRIPTION="A complete Web development framework"
+HOMEPAGE="http://libre.adacore.com/tools/aws/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/57399112c7a447658d00e1cd -> ${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-ada/xmlada[static]"
+DEPEND="${RDEPEND}
+	dev-ada/gnat_util[static]
+	dev-ada/asis
+	dev-ada/gprbuild"
+
+S="${WORKDIR}"/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
+src_configure() {
+	emake -j1 setup prefix=/usr
+}
+
+src_compile() {
+	emake PROCESSORS=$(makeopts_jobs)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	einstalldocs
+}

diff --git a/dev-ada/aws/files/aws-2016-gentoo.patch b/dev-ada/aws/files/aws-2016-gentoo.patch
new file mode 100644
index 00000000000..bf82f813877
--- /dev/null
+++ b/dev-ada/aws/files/aws-2016-gentoo.patch
@@ -0,0 +1,36 @@
+--- aws-gpl-2016-src/shared.gpr.old	2017-01-30 20:00:39.022743691 +0100
++++ aws-gpl-2016-src/shared.gpr	2017-01-30 20:01:20.524985069 +0100
+@@ -130,6 +130,7 @@
+    package Compiler is
+ 
+       for Driver ("Makefile") use "";
++      for Driver ("C") use External ("CC", "gcc");
+ 
+       case Build is
+          when "Debug" =>
+@@ -151,11 +151,11 @@
+       end case;
+ 
+       for Switches ("aws-attachments.adb")
+-        use Common_Options & Debug_Options & ("-gnatVn");
++        use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
+       for Switches ("aws-session.adb")
+-        use Common_Options & Debug_Options & ("-gnatVn");
++        use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
+       for Switches ("templates_parser.adb")
+-        use Common_Options & Debug_Options & ("-gnatVn");
++        use Common_Options & Debug_Options & ("-gnatVn") & Adaflags;
+       --  Disable validity check on this unit to work-around N728-028
+ 
+       --  ADAFLAGS and CFLAGS should come last so that command line
+--- aws-gpl-2016-src/include/include.gpr.old	2017-02-17 22:09:14.361695926 +0100
++++ aws-gpl-2016-src/include/include.gpr	2017-02-17 22:11:36.497215517 +0100
+@@ -54,7 +54,7 @@
+ 
+          when "Release" =>
+             for Default_Switches ("Ada") use
+-              ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Global_Options;
++              ("-gnat2012", "-O2", "-gnatws", "-gnatn") & Shared.Adaflags & Shared.Global_Options;
+       end case;
+ 
+       case Shared.S_Target is

diff --git a/dev-ada/aws/metadata.xml b/dev-ada/aws/metadata.xml
new file mode 100644
index 00000000000..043b40ed02a
--- /dev/null
+++ b/dev-ada/aws/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>tupone@gentoo.org</email>
+		<name>Tupone Alfredo</name>
+	</maintainer>
+	<longdescription lang="en">
+		 AWS is a complete framework to develop Web based applications. The main part of the framework is the embedded Web server. This small yet powerful Web server can be embedded into your application so your application will be able to talk with a standard Web browser like Microsoft Internet Explorer or Firefox for example. Around this Web server a lot of services have been developed.
+	</longdescription>
+</pkgmetadata>


             reply	other threads:[~2017-04-30 20:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-30 20:36 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-23 17:02 [gentoo-commits] repo/gentoo:master commit in: dev-ada/aws/files/, dev-ada/aws/ Alfredo Tupone
2017-11-30 18:09 Alfredo Tupone
2018-11-10 14:27 Alfredo Tupone
2020-05-22 18:42 Alfredo Tupone
2021-09-19 10:05 Alfredo Tupone
2021-11-19 21:43 Alfredo Tupone
2025-02-04 19:42 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1493584599.1526c880d203a63112bf22b72c97449befdcc0a1.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox