commit: 2d764a2c1bf0a20dc31c0d51c877f863491d8c16 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Mon Nov 3 07:20:46 2014 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Nov 3 07:20:46 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2d764a2c
dev-java/jcip-annotations: Bump to EAPI=5 Package-Manager: portage-2.2.14 --- dev-java/jcip-annotations/ChangeLog | 5 ++++- dev-java/jcip-annotations/jcip-annotations-1.0-r1.ebuild | 10 ++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-java/jcip-annotations/ChangeLog b/dev-java/jcip-annotations/ChangeLog index 0481ced..a5e7e0d 100644 --- a/dev-java/jcip-annotations/ChangeLog +++ b/dev-java/jcip-annotations/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for dev-java/jcip-annotations -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 03 Nov 2014; Justin Lecher <[email protected]> jcip-annotations-1.0-r1.ebuild: + Bump to EAPI=5 + 02 Jun 2013; <[email protected]> jcip-annotations-1.0-r1.ebuild: Fixed SRC_URI. diff --git a/dev-java/jcip-annotations/jcip-annotations-1.0-r1.ebuild b/dev-java/jcip-annotations/jcip-annotations-1.0-r1.ebuild index b8b29a8..133ff4a 100644 --- a/dev-java/jcip-annotations/jcip-annotations-1.0-r1.ebuild +++ b/dev-java/jcip-annotations/jcip-annotations-1.0-r1.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -# WARNING WARNING -# Upstream source unversioned +EAPI=5 JAVA_PKG_IUSE="source" @@ -11,13 +10,12 @@ inherit java-pkg-2 java-ant-2 DESCRIPTION="Annotations for Concurrency" HOMEPAGE="http://www.jcip.net/" -SRC_URI="http://jcip.net.s3-website-us-east-1.amazonaws.com/${PN}-src.jar" +SRC_URI="http://jcip.net.s3-website-us-east-1.amazonaws.com/${PN}-src.jar -> ${P}-src.jar" LICENSE="CC-BY-SA-2.5" #Confirm license before entering tree. SLOT="0" KEYWORDS="~amd64 ~x86" - IUSE="" RDEPEND=">=virtual/jre-1.5" @@ -28,9 +26,9 @@ DEPEND=" S="${WORKDIR}" src_compile() { - mkdir -p build + mkdir -p build || die ejavac -d build $(find net -name '*.java') - jar -cf "${PN}.jar" -C build net + jar -cf "${PN}.jar" -C build net || die } src_install() { java-pkg_dojar "${PN}.jar"
