summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-10-08 12:27:17 +0000
committerVlastimil Babka <caster@gentoo.org>2009-10-08 12:27:17 +0000
commitfbf2694fca3da49a9cfbf37ae3cb379d47ff4c18 (patch)
treeb9a6c10e2bfdee63563443a2b03271ba649c2468 /dev-java
parentAdd ~amd64 for bug #265029. (diff)
downloadgentoo-2-fbf2694fca3da49a9cfbf37ae3cb379d47ff4c18.tar.gz
gentoo-2-fbf2694fca3da49a9cfbf37ae3cb379d47ff4c18.tar.bz2
gentoo-2-fbf2694fca3da49a9cfbf37ae3cb379d47ff4c18.zip
Remove old.
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/junit/ChangeLog6
-rw-r--r--dev-java/junit/junit-3.8.1-r3.ebuild41
-rw-r--r--dev-java/junit/junit-4.4-r1.ebuild82
-rw-r--r--dev-java/junit/junit-4.5.ebuild74
4 files changed, 5 insertions, 198 deletions
diff --git a/dev-java/junit/ChangeLog b/dev-java/junit/ChangeLog
index 14ddeec7d733..d369cabddc8b 100644
--- a/dev-java/junit/ChangeLog
+++ b/dev-java/junit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/junit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.53 2009/07/19 14:14:14 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.54 2009/10/08 12:27:17 caster Exp $
+
+ 08 Oct 2009; Vlastimil Babka <caster@gentoo.org> -junit-3.8.1-r3.ebuild,
+ -junit-4.4-r1.ebuild, -junit-4.5.ebuild:
+ Remove old.
19 Jul 2009; nixnut <nixnut@gentoo.org> junit-4.6.ebuild:
ppc stable #275179
diff --git a/dev-java/junit/junit-3.8.1-r3.ebuild b/dev-java/junit/junit-3.8.1-r3.ebuild
deleted file mode 100644
index 9e9823a6c845..000000000000
--- a/dev-java/junit/junit-3.8.1-r3.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1-r3.ebuild,v 1.9 2008/01/11 09:48:56 caster Exp $
-
-inherit java-pkg-2 java-ant-2
-
-MY_P=${P/-/}
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Simple framework to write repeatable tests"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
-HOMEPAGE="http://www.junit.org/"
-LICENSE="CPL-1.0"
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd"
-IUSE="doc source"
-DEPEND=">=virtual/jdk-1.3
- source? ( app-arch/zip )
- >=dev-java/ant-core-1.4
- >=app-arch/unzip-5.50-r1"
-RDEPEND=">=virtual/jre-1.3"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- unzip src.jar || die
- rm -f junit.jar
-}
-
-src_compile() {
- eant dist
-}
-
-src_install() {
- use source && java-pkg_dosrc junit
- cd ${MY_P}
- java-pkg_dojar junit.jar
- dodir /usr/share/ant-core/lib
- dosym /usr/share/junit/lib/junit.jar /usr/share/ant-core/lib/
- java-pkg_dohtml -r README.html cpl-v10.html
- use doc && java-pkg_dohtml -r doc javadoc
-}
diff --git a/dev-java/junit/junit-4.4-r1.ebuild b/dev-java/junit/junit-4.4-r1.ebuild
deleted file mode 100644
index 231d4ad22ae8..000000000000
--- a/dev-java/junit/junit-4.4-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.4-r1.ebuild,v 1.5 2008/03/08 11:32:24 nelchael Exp $
-
-# WARNING: JUNIT.JAR IS _NOT_ SYMLINKED TO ANT-CORE LIB FOLDER AS JUNIT3 IS
-
-JAVA_PKG_IUSE="doc examples source test"
-
-inherit java-pkg-2
-
-MY_P=${P/-/}
-DESCRIPTION="Simple framework to write repeatable tests"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
-HOMEPAGE="http://www.junit.org/"
-LICENSE="CPL-1.0"
-SLOT="4"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-CDEPEND="dev-java/hamcrest-core"
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- userland_GNU? ( >=sys-apps/findutils-4.3 )
- app-arch/unzip
- ${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- mkdir src || die
- unzip -qq -d src ${P}-src.jar || die "unzip failed"
-
- rm -rf javadoc temp.hamcrest.source *.jar || die
- find . -name "*.class" -delete || die
-}
-
-src_compile() {
- mkdir -p classes || die
- ejavac -d classes -cp $(java-pkg_getjars hamcrest-core) \
- $(find src -name "*.java")
- jar -cf ${PN}.jar -C classes . || die "jar failed"
-
- # generate javadoc
- if use doc ; then
- mkdir javadoc || die
- javadoc -d javadoc -sourcepath src -subpackages junit:org \
- -classpath $(java-pkg_getjars hamcrest-core) || die "javadoc failed"
- fi
-}
-
-src_test() {
- ejavac -sourcepath org:junit -classpath $(java-pkg_getjars hamcrest-core):${PN}.jar \
- -d classes $(find org junit -name "*.java")
- cd classes
- for FILE in $(find . -name "AllTests\.class"); do
- if [[ ${FILE} != "./org/junit/runners/AllTests.class" ]] ; then
- local CLASS=$(echo ${FILE} | sed -e "s/\.class//" | sed -e "s%/%.%g" | sed -e "s/\.\.//")
- java -classpath .:$(java-pkg_getjars hamcrest-core) \
- org.junit.runner.JUnitCore ${CLASS} || die "Test ${CLASS} failed"
- fi
- done
-}
-
-src_install() {
- java-pkg_dojar ${PN}.jar
- dodoc README.html doc/ReleaseNotes${PV}.txt || die
-
- if use doc; then
- dohtml -r doc/*
- java-pkg_dojavadoc javadoc
- fi
-
- if use examples; then
- java-pkg_doexamples org
- fi
-
- use source && java-pkg_dosrc src/org src/junit
-}
diff --git a/dev-java/junit/junit-4.5.ebuild b/dev-java/junit/junit-4.5.ebuild
deleted file mode 100644
index 59d57bc0798d..000000000000
--- a/dev-java/junit/junit-4.5.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.5.ebuild,v 1.5 2009/01/07 15:00:59 ranger Exp $
-
-# WARNING: JUNIT.JAR IS _NOT_ SYMLINKED TO ANT-CORE LIB FOLDER AS JUNIT3 IS
-
-JAVA_PKG_IUSE="doc examples source test"
-
-inherit java-pkg-2 java-ant-2
-
-MY_P=${P/-/}
-DESCRIPTION="Simple framework to write repeatable tests"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
-HOMEPAGE="http://www.junit.org/"
-LICENSE="CPL-1.0"
-SLOT="4"
-KEYWORDS="amd64 ~ia64 ppc ppc64 x86"
-IUSE=""
-
-CDEPEND="dev-java/hamcrest-core"
-RDEPEND=">=virtual/jre-1.5
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
- userland_GNU? ( >=sys-apps/findutils-4.3 )
- app-arch/unzip
- ${CDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- mkdir -p src/main/java src/test/java || die
- unzip -qq -d src/main/java ${P}-src.jar || die "unzip failed"
-
- # fix javadoc compilation
- if use doc ; then
- cp "${S}"/javadoc/stylesheet.css "${S}" || die
- fi
-
- rm -rf javadoc temp.hamcrest.source *.jar || die
- find . -name "*.class" -delete || die
-}
-
-src_compile() {
- eant build jars -Dhamcrestlib=$(java-pkg_getjars hamcrest-core) $(use_doc javadoc)
-}
-
-src_test() {
- mkdir classes || die
- cd junit/tests || die
- local cp=$(java-pkg_getjars hamcrest-core):${S}/${PN}${PV}/${PN}-dep-${PV}.jar
- ejavac -sourcepath java -classpath ${cp} -d "${S}"/classes $(find -name "*.java")
-
- cd "${S}"/classes || die
- for FILE in $(find . -name "AllTests\.class"); do
- local CLASS=$(echo ${FILE} | sed -e "s/\.class//" | sed -e "s%/%.%g" | sed -e "s/\.\.//")
- java -classpath .:${cp} org.junit.runner.JUnitCore ${CLASS} || die "Test ${CLASS} failed"
- done
-}
-
-src_install() {
- java-pkg_newjar ${PN}${PV}/${PN}-dep-${PV}.jar
- dodoc README.html doc/ReleaseNotes${PV}.txt || die
-
- use examples && java-pkg_doexamples org/junit/samples
- use source && java-pkg_dosrc src/main/java/org src/main/java/junit
-
- if use doc; then
- dohtml -r doc/*
- java-pkg_dojavadoc ${PN}${PV}/javadoc
- fi
-}