public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement (monsieurp)" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/antlr: antlr-4.4.ebuild ChangeLog
Date: Wed, 20 May 2015 20:32:44 +0000 (UTC)	[thread overview]
Message-ID: <20150520203244.3A19D9EE@oystercatcher.gentoo.org> (raw)

monsieurp    15/05/20 20:32:44

  Modified:             antlr-4.4.ebuild ChangeLog
  Log:
  Disable jar files download via ant and let Portage fetch them instead. Fix bug 549962.
  
  Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)

Revision  Changes    Path
1.6                  dev-java/antlr/antlr-4.4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/antlr/antlr-4.4.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/antlr/antlr-4.4.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/antlr/antlr-4.4.ebuild?r1=1.5&r2=1.6

Index: antlr-4.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-4.4.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- antlr-4.4.ebuild	18 May 2015 13:15:42 -0000	1.5
+++ antlr-4.4.ebuild	20 May 2015 20:32:44 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-4.4.ebuild,v 1.5 2015/05/18 13:15:42 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/antlr-4.4.ebuild,v 1.6 2015/05/20 20:32:44 monsieurp Exp $
 
 EAPI="5"
 
@@ -8,9 +8,14 @@
 
 inherit java-pkg-2 java-ant-2
 
+# List of jar files we need to get from the Internets.
+JAR_LIST=(antlr-3.5.2-complete-no-st3.jar antlr-4.3-complete.jar)
+
 DESCRIPTION="A parser generator for C++, C#, Java, and Python"
 HOMEPAGE="http://www.antlr.org/"
-SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.zip"
+SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.zip
+http://www.antlr3.org/download/${JAR_LIST[0]}
+http://www.antlr.org/download/${JAR_LIST[1]}"
 LICENSE="BSD"
 SLOT="4"
 KEYWORDS="amd64 ~arm ~ia64 ~ppc ppc64 ~x86 ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
@@ -28,6 +33,19 @@
 
 S="${WORKDIR}/${PN}4-${PV}"
 
+src_prepare() {
+	# Disable manual download + lib directory creation.
+	epatch "${FILESDIR}"/${P}-build.xml.patch
+
+	# Create lib directory ourselves.
+	mkdir "${S}"/lib/
+
+	# Copy downloaded jars in lib directory.
+	for myjar in ${JAR_LIST[@]}; do
+		cp "${DISTDIR}"/${myjar} "${S}"/lib/
+	done
+}
+
 src_compile() {
 	eant -f build.xml
 }



1.114                dev-java/antlr/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/antlr/ChangeLog?rev=1.114&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/antlr/ChangeLog?rev=1.114&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/antlr/ChangeLog?r1=1.113&r2=1.114

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- ChangeLog	18 May 2015 13:15:42 -0000	1.113
+++ ChangeLog	20 May 2015 20:32:44 -0000	1.114
@@ -1,6 +1,11 @@
 # ChangeLog for dev-java/antlr
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.113 2015/05/18 13:15:42 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/antlr/ChangeLog,v 1.114 2015/05/20 20:32:44 monsieurp Exp $
+
+  20 May 2015; Patrice Clement <monsieurp@gentoo.org>
+  +files/antlr-4.4-build.xml.patch, antlr-4.4.ebuild:
+  Disable jar files download via ant and let Portage fetch them instead. Fix bug
+  549962.
 
   18 May 2015; Agostino Sarubbo <ago@gentoo.org> antlr-4.4.ebuild:
   Stable for amd64, wrt bug #549586





             reply	other threads:[~2015-05-20 20:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 20:32 Patrice Clement (monsieurp) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-16  8:58 [gentoo-commits] gentoo-x86 commit in dev-java/antlr: antlr-4.4.ebuild ChangeLog Patrice Clement (monsieurp)
2015-05-27 11:11 Agostino Sarubbo (ago)
2015-05-18 13:15 Agostino Sarubbo (ago)
2015-04-09 17:18 Patrice Clement (monsieurp)
2015-04-09  8:45 Patrice Clement (monsieurp)
2015-03-26 17:59 Patrice Clement (monsieurp)

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=20150520203244.3A19D9EE@oystercatcher.gentoo.org \
    --to=monsieurp@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