summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@gmx.de>2012-10-09 22:54:51 +0200
committerDaniel Nagy <danielnagy@gmx.de>2012-10-09 22:54:51 +0200
commitfd79a97b6722011f3b9c9da79ff80aa314d6776b (patch)
tree5109bb7d249071d3e54dab5fd9661c0d0a554e9b /dev-java/testng
parentinsert many new projects and update all manifest files (diff)
downloaddrevilt-fd79a97b6722011f3b9c9da79ff80aa314d6776b.tar.gz
drevilt-fd79a97b6722011f3b9c9da79ff80aa314d6776b.tar.bz2
drevilt-fd79a97b6722011f3b9c9da79ff80aa314d6776b.zip
insert many new projects and update all manifest files - part 2
Diffstat (limited to 'dev-java/testng')
-rw-r--r--dev-java/testng/Manifest3
-rw-r--r--dev-java/testng/files/testng-build.diff16
-rw-r--r--dev-java/testng/testng-6.5.2.ebuild46
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/testng/Manifest b/dev-java/testng/Manifest
new file mode 100644
index 0000000..f1128c1
--- /dev/null
+++ b/dev-java/testng/Manifest
@@ -0,0 +1,3 @@
+AUX testng-build.diff 565 SHA256 adb0eaf9494b8fac6aee8a3f55613d6e3048bdccf789cb1be3072c934ce71067 SHA512 fe617d429bbb9e763c9c99e8e1b9026f3659d3328c44f60995ce54388c157f2adb52f15eed11e958b89aebfbc1f41b3fdd0e14969d7c9070f678d4869c93c588 WHIRLPOOL bf26530fb51509453f06849506033d24d4b1f5d66b2ece7ea79ce56482ac9fc35fdf8f6be3afb2994f2fbad0cd5e8e9465e6afdf112f0c70a4b3f5a751584e13
+DIST testng-6.5.2.tar.gz 14509951 SHA256 60b78bec2eb57a71e18d0b83b843e74d34ba9c395a14dc11d668edb467936a3e
+EBUILD testng-6.5.2.ebuild 1006 SHA256 98abbd8a9fef3b8bea98325978c291af90ba283250d30c8a16d4702a3c8260a6 SHA512 103f70a2a2f4f2d189a9353e6cde983c620f366784a92ba0dd3ddaa915b03e33f0a7a72a8fea17f24eb44230bd06cfac271a55da691d3ff8ab6c196686aa0de4 WHIRLPOOL 9d19bc5a32975b4dfbd0a7117ebc5242fecb44911e2b834a7f27591d7a6d47cfcf2763c54f7d2bdd274a6d17f4c0bfb64aa1a5efded3686864a9fd3ac59fa003
diff --git a/dev-java/testng/files/testng-build.diff b/dev-java/testng/files/testng-build.diff
new file mode 100644
index 0000000..e5df07c
--- /dev/null
+++ b/dev-java/testng/files/testng-build.diff
@@ -0,0 +1,16 @@
+diff -aurp old/build.xml new/build.xml
+--- old/build.xml 2006-09-15 18:17:42.000000000 +0000
++++ new/build.xml 2006-09-15 18:18:32.000000000 +0000
+@@ -122,11 +122,7 @@
+ <echo message=" -- Compiling 1.5 sources --" />
+
+ <path id="compile2.cp">
+- <fileset dir="${lib.dir}">
+- <include name="junit.jar" />
+- <include name="${qdox.jar}" />
+- <include name="${beanshell.jar}" />
+- </fileset>
++ <fileset dir="${lib.dir}" includes="*.jar"/>
+ </path>
+
+ <javac classpathref="compile2.cp"
diff --git a/dev-java/testng/testng-6.5.2.ebuild b/dev-java/testng/testng-6.5.2.ebuild
new file mode 100644
index 0000000..cdb49eb
--- /dev/null
+++ b/dev-java/testng/testng-6.5.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="TestNG is a testing framework inspired from JUnit and NUnit"
+HOMEPAGE="http://testng.org/"
+SRC_URI="https://github.com/cbeust/testng/tarball/${P} -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.5
+ dev-java/ant
+ app-arch/unzip
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.5"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # epatch "${FILESDIR}/testng-build.diff"
+
+ # java-pkg_jar-from ant-core ant.jar 3rdparty/ant.jar
+ # java-pkg_jar-from junit junit.jar 3rdparty/junit.jar
+ # ln -s "$(java-config --tools)" 3rdparty/tools.jar
+}
+
+src_compile() {
+ eant compile # $(use_doc javadocs)
+}
+
+src_install() {
+ java-pkg_newjar ${P}-jdk15.jar ${PN}.jar
+
+ use doc && java-pkg_dojavadoc javadocs/
+ use source && java-pkg_dosrc src/jdk15/org/testng/
+}