diff options
Diffstat (limited to 'dev-java/junit')
-rw-r--r-- | dev-java/junit/Manifest | 7 | ||||
-rw-r--r-- | dev-java/junit/files/junit-3.8.2-build.xml | 90 | ||||
-rw-r--r-- | dev-java/junit/junit-3.8.2-r1.ebuild | 44 | ||||
-rw-r--r-- | dev-java/junit/junit-3.8.2-r2.ebuild | 42 | ||||
-rw-r--r-- | dev-java/junit/junit-4.12-r1.ebuild | 54 | ||||
-rw-r--r-- | dev-java/junit/metadata.xml | 12 |
6 files changed, 0 insertions, 249 deletions
diff --git a/dev-java/junit/Manifest b/dev-java/junit/Manifest deleted file mode 100644 index eec4fab4a92f..000000000000 --- a/dev-java/junit/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX junit-3.8.2-build.xml 3179 BLAKE2B df7dd61b577d415f807d234fe41255bda57235465ec6a96dc793f3c4852278978f4c2be6df89f4910b96b450a280bb0e9bcaf50463430f4769c116bca4ea868c SHA512 6d2c74c70569feed235db70fdb646c813ce9453b5e7fae6d5fe8c818d0ce820fc155eef8426d8f3263cff45cd4b78542d5524aa1d5efbb84e43698c1d4466f55 -DIST junit3.8.2.zip 461426 BLAKE2B 8fbef1ccdf7f71c611976d63f45838f4cb2564da5f5064e7abc39931a3c99039a40660093aba2cc3c70af761171125f434c16c52021226f2e92fdf23597dbf25 SHA512 f203332ccc2bdc38c683a95bdbe448f38cbfbeea81ecc431bf9ebf0a3292f0150fcfe5cd5dd6da481be034366820f95775a33581931aed9e4cc12a6ff27e3930 -DIST junit4-r4.12.tar.gz 443804 BLAKE2B b36248266eb83d8f2dfb1c525f635a4fce5a46c6042652ef27a5d405b83c471848edf83e799a4d1e950d83e127caa288f453edf19959a9a8aa5a9e26eeb4e771 SHA512 ba612598fa6c328e8f4bbea3afda08b459a110837ca3805a62e811535f7bca8d04509f8fe51a413c7bc855fccee35d6946c9eece4dd01726d12454c002a4de32 -EBUILD junit-3.8.2-r1.ebuild 1003 BLAKE2B 91753d0e74ce8efd135f394df69342ffdb113bbba628ebd8a5baf4af8e1a967c6e319a05192b3d35d4717e32b1324afcfd45a0115c284c8a59c8d83320a13598 SHA512 e6ed543345ffc53cc86e1a6582ece77660c9514e522d5f7b46038281ed13a67d70ee5263eb420f11a7b9a1155255161cb0beb40a639c3ddc112273eec3ae4050 -EBUILD junit-3.8.2-r2.ebuild 831 BLAKE2B e07f45d637d4aaee89c2ff51f168fd610cc6bb655b2da6efcaa3bdc8392b4a89c860c682a50fd1e4d3bcbea693d61142c7b8c95497f6f1cfe81d7cf2bf9f00d1 SHA512 2db4e78da194aaab043bca14d6679f5ad6b33b88fc01a55ad828bc9c43e47b3de1ba7a3c6e6bd8c867faceaf30cc45debdd9a9fab86c7a0d2b7153cb986b4c06 -EBUILD junit-4.12-r1.ebuild 1464 BLAKE2B c5c998dca82ed919aef941435b371d5f5788afbbe952b22f976740d53a37d8daeb6851e5c74c2d2ac6d9c066cb75f777372f272c5af4095e59f0adb80b980316 SHA512 a2f0b67b093f7bc86ac7a671bd66b69e67d561140ceffbf21e5ac5a3ebe935cb2bc3907b5f3bfae2248f6f6b2561d02e4afd327877adc8f761b393687306ee29 -MISC metadata.xml 367 BLAKE2B 7cd798ae028c83275e61522be10a35abba419a823042be242ee7fdf7e0ccfc978e817affaaf154b8d0723f502499f17bb81b0622fa493dc812b82ad23dfa647b SHA512 44e492dfaaa9faf54f4aaf420d5816da8d117951d6a52e37c76a9e533fcefbeaa3c44bafa4d525f878deb3af2b7f426e72a62b16464e85ce9690c61b1f0da71f diff --git a/dev-java/junit/files/junit-3.8.2-build.xml b/dev-java/junit/files/junit-3.8.2-build.xml deleted file mode 100644 index 4e47d949bdaf..000000000000 --- a/dev-java/junit/files/junit-3.8.2-build.xml +++ /dev/null @@ -1,90 +0,0 @@ -<?xml version="1.0" ?> -<!-- JUnit build script using ant 1.4 --><project basedir="." default="dist" name="junit"> - <property file="${user.home}/.junit.properties"/> - <property name="build.compiler" value="classic"/> - <property name="version" value="3.8.2"/> - <property name="dist" value="junit${version}"/> - <property name="versionfile" value="junit/runner/Version.java"/> - <property name="zipfile" value="${dist}.zip"/> - <target name="init"> - <tstamp/> - </target> - - <target depends="init" name="versiontag"> - <filter token="version" value="${version}"/> - <copy file="${versionfile}" filtering="on" tofile="${versionfile}tmp"/> - <move file="${versionfile}tmp" tofile="${versionfile}"/> - </target> - - <target depends="versiontag" name="build"> - <javac debug="on" destdir="." source="1.3" srcdir="." target="1.3"/> - </target> - - <target depends="build" name="dist"> - <delete dir="${dist}"/> - <mkdir dir="${dist}"/> - <jar basedir="." excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.class, doc/**, README.html, .classpath, .project, cpl-v10.html" jarfile="${dist}/src.jar"/> - <jar basedir="." excludes="**/*.jar, junit/tests/**, junit/samples/**, **/*.java, doc/**, README.html, build.xml, jar-manifest.txt, .classpath, .project, cpl-v10.html" jarfile="${dist}/junit.jar"/> - <copy todir="${dist}/junit/samples"> - <fileset dir="junit/samples"/> - </copy> - <copy todir="${dist}/junit/tests"> - <fileset dir="junit/tests"/> - </copy> - - - <delete file="${dist}/junit/tests/runner/test.jar"/> - <jar basedir="." includes="junit/tests/runner/LoadedFromJar.class" jarfile="${dist}/junit/tests/runner/test.jar"/> - - <copy file="README.html" tofile="${dist}/README.html"/> - <copy file="cpl-v10.html" tofile="${dist}/cpl-v10.html"/> - - <java classname="junit.textui.TestRunner" fork="yes"> - <arg value="junit.samples.AllTests"/> - <classpath> - <pathelement location="${dist}"/> - <pathelement location="${dist}/junit.jar"/> - </classpath> - </java> - </target> - - <target name="javadoc"> - <mkdir dir="${dist}/javadoc"/> - <javadoc author="false" destdir="${dist}/javadoc" packagenames="junit.framework.*, junit.extensions.*" source="1.3" sourcepath="." use="false" version="false" windowtitle="JUnit API"/> - <copy todir="${dist}/doc"> - <fileset dir="doc"/> - </copy> - </target> - - <target depends="dist" name="zip"> - <zip basedir="." includes="${dist}/**" zipfile="${zipfile}"/> - </target> - - <target depends="dist" name="awtui"> - <java classname="junit.awtui.TestRunner" fork="yes"> - <arg value="junit.samples.AllTests"/> - <classpath> - <pathelement location="${dist}"/> - <pathelement location="${dist}/junit.jar"/> - </classpath> - </java> - </target> - - <target depends="dist" name="swingui"> - <java classname="junit.swingui.TestRunner" fork="yes"> - <arg value="junit.samples.AllTests"/> - <classpath> - <pathelement location="${dist}"/> - <pathelement location="${dist}/junit.jar"/> - </classpath> - </java> - </target> - - <target name="clean"> - <delete dir="${dist}" quiet="true"/> - <delete file="${zipfile}" quiet="true"/> - <delete> - <fileset dir="${basedir}" includes="**/*.class"/> - </delete> - </target> -</project> diff --git a/dev-java/junit/junit-3.8.2-r1.ebuild b/dev-java/junit/junit-3.8.2-r1.ebuild deleted file mode 100644 index 309adf1024bf..000000000000 --- a/dev-java/junit/junit-3.8.2-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -JAVA_PKG_IUSE="doc source" - -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 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" -DEPEND=">=virtual/jdk-1.4 - app-arch/unzip" -RDEPEND=">=virtual/jre-1.4" - -src_unpack() { - unpack ${A} - cd "${S}" - - unzip src.jar || die - rm -v *.jar || die - rm -rf javadoc ${PN}${PV} || die - cp "${FILESDIR}/${P}-build.xml" build.xml || die -} - -EANT_BUILD_TARGET="dist" - -src_install() { - use source && java-pkg_dosrc ${PN} - cd ${MY_P} - java-pkg_dojar ${PN}.jar - dohtml README.html cpl-v10.html || die - if use doc; then - dohtml -r doc || die - java-pkg_dojavadoc javadoc - fi -} diff --git a/dev-java/junit/junit-3.8.2-r2.ebuild b/dev-java/junit/junit-3.8.2-r2.ebuild deleted file mode 100644 index 362aa0129f62..000000000000 --- a/dev-java/junit/junit-3.8.2-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -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="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -DEPEND=">=virtual/jdk-1.6" -RDEPEND=">=virtual/jre-1.6" - -DOCS=( README.html cpl-v10.html ) - -JAVA_SRC_DIR="${PN}" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd "${S}" || die - unzip src.jar || die -} - -src_prepare() { - default - java-pkg_clean -} - -src_install() { - java-pkg-simple_src_install - einstalldocs -} diff --git a/dev-java/junit/junit-4.12-r1.ebuild b/dev-java/junit/junit-4.12-r1.ebuild deleted file mode 100644 index f3190da6c338..000000000000 --- a/dev-java/junit/junit-4.12-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -MY_PN="${PN}${PV%%.*}" -MY_P="${MY_PN}-r${PV}" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Simple framework to write repeatable tests" -SRC_URI="https://github.com/${PN}-team/${MY_PN}/archive/r${PV}.tar.gz -> ${MY_P}.tar.gz" -HOMEPAGE="http://junit.org/" -LICENSE="EPL-1.0" -SLOT="4" -KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="examples" - -CDEPEND="dev-java/hamcrest-core:1.3" - -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" - -DEPEND=">=virtual/jdk-1.6 - ${CDEPEND}" - -S="${WORKDIR}/${MY_P}" -JAVA_SRC_DIR="src/main/java" -JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3" - -java_prepare() { - rm -v lib/*.jar || die -} - -src_compile() { - java-pkg-simple_src_compile - java-pkg_addres ${PN}.jar src/main/resources -} - -src_install() { - java-pkg-simple_src_install - dodoc {acknowledgements,{LEGACY_,}CODING_STYLE,NOTICE,to-do}.txt {CONTRIBUTING,README,doc/ReleaseNotes${PV}}.md - use examples && java-pkg_doexamples src/test/java/org/junit/samples -} - -src_test() { - cd src/test/java || die - - local CP=".:../resources:${S}/${PN}.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})" - - ejavac -cp "${CP}" -d . $(find * -name "*.java") - java -cp "${CP}" -Djava.awt.headless=true org.junit.runner.JUnitCore junit.tests.AllTests || die "Running junit failed" -} diff --git a/dev-java/junit/metadata.xml b/dev-java/junit/metadata.xml deleted file mode 100644 index 9c59435e026b..000000000000 --- a/dev-java/junit/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> - </maintainer> - <upstream> - <remote-id type="github">junit-team/junit</remote-id> - <remote-id type="sourceforge">junit</remote-id> - </upstream> -</pkgmetadata> |