* [gentoo-commits] repo/gentoo:master commit in: dev-java/jaffl/
@ 2015-12-05 11:22 Patrice Clement
0 siblings, 0 replies; 3+ messages in thread
From: Patrice Clement @ 2015-12-05 11:22 UTC (permalink / raw
To: gentoo-commits
commit: bd3d7b9e4f4d299302ad1029239aa5fbdf6e6847
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 5 11:21:54 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Dec 5 11:22:14 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd3d7b9e
dev-java/jaffl: Bump jnr-x86asm:0 to 1.0. Keyword for ppc64.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jaffl/jaffl-0.5.11-r1.ebuild | 90 +++++++++++++++++++++++++++++++++++
1 file changed, 90 insertions(+)
diff --git a/dev-java/jaffl/jaffl-0.5.11-r1.ebuild b/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
new file mode 100644
index 0000000..8600087
--- /dev/null
+++ b/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="An abstracted interface to invoking native functions from java"
+HOMEPAGE="http://kenai.com/projects/jaffl"
+SRC_URI="https://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+CDEPEND="
+ dev-java/asm:3
+ dev-java/jffi:1.2
+ dev-java/jnr-x86asm:1.0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ >=virtual/jdk-1.6
+ test? (
+ dev-java/junit:4
+ dev-java/ant-junit:0
+ dev-java/hamcrest-core:0
+ )"
+
+JAR_VERSION=$(get_version_component_range 1-2)
+
+src_unpack() {
+ default
+ mv * "${P}" || die
+}
+
+java_prepare() {
+ # Don't choke on errors from generating the Javadoc
+ cd "${S}" || die
+
+ epatch "${FILESDIR}"/${P}-library-path.patch
+ epatch "${FILESDIR}"/${P}-GNUmakefile.patch
+
+ rm -vf lib/{.,junit*}/*.jar || die
+
+ java-ant_xml-rewrite -f ./nbproject/build-impl.xml \
+ -c -e javadoc \
+ -a failonerror \
+ -v no
+
+ java-pkg_jar-from --into lib jffi-1.2
+ java-pkg_jar-from --into lib jnr-x86asm-1.0
+ java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
+ java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
+}
+
+EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
+ -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
+ -Dproject.jffi=\"${S}\" \
+ -Dproject.jnr-x86asm=\"${S}\"
+ -D\"already.built.${S}\"=true"
+
+src_test() {
+ local paths="$(java-config -di jnr-x86asm-1.0,jffi-1.2):${S}/build"
+
+ ANT_TASKS="ant-junit ant-nodeps" eant test \
+ -Drun.jvmargs="-Djava.library.path=${paths}" \
+ -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
+}
+
+src_install() {
+ java-pkg_newjar dist/${PN}-${JAR_VERSION}.jar
+
+ use doc && java-pkg_dojavadoc dist/javadoc
+ use source && java-pkg_dosrc src/*
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jaffl/
@ 2015-12-18 16:33 Patrice Clement
0 siblings, 0 replies; 3+ messages in thread
From: Patrice Clement @ 2015-12-18 16:33 UTC (permalink / raw
To: gentoo-commits
commit: 002db745041cb9f3907f83760d90fb2e2e054bb3
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 10:15:17 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 16:32:25 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002db745
dev-java/jaffl: Stable for amd64. Retroactively mark stable for the remaining arches using the ALLARCHES policy.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jaffl/jaffl-0.5.11-r1.ebuild | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/dev-java/jaffl/jaffl-0.5.11-r1.ebuild b/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
index 8600087..fe2b746 100644
--- a/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
+++ b/dev-java/jaffl/jaffl-0.5.11-r1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 x86"
CDEPEND="
dev-java/asm:3
@@ -39,6 +39,11 @@ DEPEND="
JAR_VERSION=$(get_version_component_range 1-2)
+PATCHES=(
+ "${FILESDIR}"/${P}-library-path.patch
+ "${FILESDIR}"/${P}-GNUmakefile.patch
+)
+
src_unpack() {
default
mv * "${P}" || die
@@ -48,8 +53,7 @@ java_prepare() {
# Don't choke on errors from generating the Javadoc
cd "${S}" || die
- epatch "${FILESDIR}"/${P}-library-path.patch
- epatch "${FILESDIR}"/${P}-GNUmakefile.patch
+ epatch "${PATCHES[@]}"
rm -vf lib/{.,junit*}/*.jar || die
@@ -83,7 +87,7 @@ src_test() {
}
src_install() {
- java-pkg_newjar dist/${PN}-${JAR_VERSION}.jar
+ java-pkg_newjar "dist/${PN}-${JAR_VERSION}.jar"
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-java/jaffl/
@ 2015-12-18 16:33 Patrice Clement
0 siblings, 0 replies; 3+ messages in thread
From: Patrice Clement @ 2015-12-18 16:33 UTC (permalink / raw
To: gentoo-commits
commit: aebc5e7c92e4580506e4fac7a94fbbfa98e37ea8
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 18 10:15:55 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Dec 18 16:32:29 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aebc5e7c
dev-java/jaffl: Clean up old.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
dev-java/jaffl/jaffl-0.5.11.ebuild | 87 --------------------------------------
1 file changed, 87 deletions(-)
diff --git a/dev-java/jaffl/jaffl-0.5.11.ebuild b/dev-java/jaffl/jaffl-0.5.11.ebuild
deleted file mode 100644
index 2cdb898..0000000
--- a/dev-java/jaffl/jaffl-0.5.11.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-JAVA_PKG_IUSE="doc source test"
-
-WANT_ANT_TASKS="ant-nodeps"
-
-inherit java-pkg-2 java-ant-2 versionator
-
-DESCRIPTION="An abstracted interface to invoking native functions from java"
-HOMEPAGE="http://kenai.com/projects/jaffl"
-SRC_URI="https://github.com/jnr/jnr-ffi/tarball/${PV} -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-CDEPEND="dev-java/jffi:1.2
- dev-java/jnr-x86asm:0
- dev-java/asm:3"
-
-RDEPEND=">=virtual/jre-1.6
- ${CDEPEND}"
-
-DEPEND=">=virtual/jdk-1.6
- app-arch/unzip
- ${CDEPEND}
- test? (
- dev-java/junit:4
- dev-java/ant-junit:0
- dev-java/hamcrest-core:0
- )"
-
-JAR_VERSION=$(get_version_component_range 1-2)
-
-src_unpack() {
- default
-
- mv * "${P}" || die
-}
-
-java_prepare() {
- rm -vf lib/{.,junit*}/*.jar
-
- epatch "${FILESDIR}"/${P}-library-path.patch
- epatch "${FILESDIR}"/${P}-GNUmakefile.patch
-
- # Don't choke on errors from generating the Javadoc
- cd "${S}" || die
- java-ant_xml-rewrite -f ./nbproject/build-impl.xml \
- -c -e javadoc \
- -a failonerror \
- -v no
-
- java-pkg_jar-from --into lib jffi-1.2
- java-pkg_jar-from --into lib jnr-x86asm
- java-pkg_jar-from --into lib asm-3 asm.jar asm-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-analysis.jar asm-analysis-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-commons.jar asm-commons-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-tree.jar asm-tree-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-util.jar asm-utils-3.2.jar
- java-pkg_jar-from --into lib asm-3 asm-xml.jar asm-xml-3.2.jar
-}
-
-EANT_EXTRA_ARGS="-Dreference.jffi.jar=lib/jffi.jar \
- -Dreference.jnr-x86asm.jar=lib/jnr-x86asm.jar \
- -Dproject.jffi=\"${S}\" \
- -Dproject.jnr-x86asm=\"${S}\"
- -D\"already.built.${S}\"=true"
-
-src_test() {
- local paths="$(java-config -di jnr-x86asm,jffi-1.2):${S}/build"
-
- ANT_TASKS="ant-junit ant-nodeps" eant test \
- -Drun.jvmargs="-Djava.library.path=${paths}" \
- -Dlibs.junit_4.classpath="$(java-pkg_getjars junit-4,hamcrest-core)" ${EANT_EXTRA_ARGS}
-}
-
-src_install() {
- java-pkg_newjar dist/${PN}-${JAR_VERSION}.jar
-
- use doc && java-pkg_dojavadoc dist/javadoc
- use source && java-pkg_dosrc src/*
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-18 16:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-18 16:33 [gentoo-commits] repo/gentoo:master commit in: dev-java/jaffl/ Patrice Clement
-- strict thread matches above, loose matches on Subject: below --
2015-12-18 16:33 Patrice Clement
2015-12-05 11:22 Patrice Clement
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox