Version bump. Uses generation 2 eclasses and build.xml generated from pom.xml.
authorPetteri Räty <betelgeuse@gentoo.org>
Fri, 20 Apr 2007 16:23:03 +0000 (16:23 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Fri, 20 Apr 2007 16:23:03 +0000 (16:23 +0000)
Package-Manager: portage-2.1.2.4

dev-java/spin/ChangeLog
dev-java/spin/Manifest
dev-java/spin/files/1.5-build.xml [new file with mode: 0644]
dev-java/spin/files/1.5-maven-build.properties [new file with mode: 0644]
dev-java/spin/files/digest-spin-1.5 [new file with mode: 0644]
dev-java/spin/spin-1.5.ebuild [new file with mode: 0644]

index a310b2c54339f9cb31f6d3e928094cc2124277fa..f311e7293d89bb53a0faa1a9abdc13cae02212ca 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/spin
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/spin/ChangeLog,v 1.9 2007/02/21 23:43:56 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spin/ChangeLog,v 1.10 2007/04/20 16:23:03 betelgeuse Exp $
+
+*spin-1.5 (20 Apr 2007)
+
+  20 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> +files/1.5-build.xml,
+  +files/1.5-maven-build.properties, +spin-1.5.ebuild:
+  Version bump. Uses generation 2 eclasses and build.xml generated from pom.xml.
 
   21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
   Transition to Manifest2.
index 92749611441c49501648550335e618a4b91f20d8..2a299579551c755efbde4581fcb8fddb550d1ace 100644 (file)
@@ -1,12 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 1.5-build.xml 8638 RMD160 a8baa76a26853a78a6548ffe5c29c4789442c717 SHA1 93e452db1e61f6302730a072745bffb6df78c16a SHA256 3d12461c120fa893159383093dfe93386741a9b3df4446679215501fbe9b88df
+MD5 0ca547869185d282e97f13a3827c3884 files/1.5-build.xml 8638
+RMD160 a8baa76a26853a78a6548ffe5c29c4789442c717 files/1.5-build.xml 8638
+SHA256 3d12461c120fa893159383093dfe93386741a9b3df4446679215501fbe9b88df files/1.5-build.xml 8638
+AUX 1.5-maven-build.properties 673 RMD160 39786b6e5e909c4c38d25ce7f27850c0e5a537d5 SHA1 8695451b50865d17450d39481b8656ac593d6ded SHA256 786fa052cb592effe0fa867f8c670665bee7b6770d6e07a8183aa82f1fd599aa
+MD5 7bacff626eed07b1af97f4da01bed101 files/1.5-maven-build.properties 673
+RMD160 39786b6e5e909c4c38d25ce7f27850c0e5a537d5 files/1.5-maven-build.properties 673
+SHA256 786fa052cb592effe0fa867f8c670665bee7b6770d6e07a8183aa82f1fd599aa files/1.5-maven-build.properties 673
 DIST spin-1.3.1.zip 183617 RMD160 c657822243a2637bac0790206154440301d25ecf SHA1 9ef6f843cf78eca979890c5ade448f1373af5237 SHA256 bbe532c2f92091d4d36dfba68acc7098c30c47ac31092f463d9dc03f2ef2603d
+DIST spin-1.5-all.zip 482286 RMD160 f7d67aa86c51ccfde7f0965c37142bfbaa18587f SHA1 ce9351fa75108f2e915df8b14f06ebe922345895 SHA256 5515bb6b6724c856e94271bc3bd11fcc0170cf37835bf5fd93026b98c6bf3594
 EBUILD spin-1.3.1.ebuild 1005 RMD160 f90f52b92deffc8e12e8c795718aee80d5ffe580 SHA1 80bde959b09e80dc214eb47159352a50c87bf68a SHA256 12d56408cb3c0b35320a555e14afc56e29898c4b7a4f9fd47f69056d17756abd
 MD5 f6792beb289fe60566b2c38894c737cc spin-1.3.1.ebuild 1005
 RMD160 f90f52b92deffc8e12e8c795718aee80d5ffe580 spin-1.3.1.ebuild 1005
 SHA256 12d56408cb3c0b35320a555e14afc56e29898c4b7a4f9fd47f69056d17756abd spin-1.3.1.ebuild 1005
-MISC ChangeLog 1162 RMD160 d7049465b711dee7c208f0bc686cd3cfd1cb9ff5 SHA1 2f61ae0daf5d23ecbc3641b1c1cd61dacf78526e SHA256 d83efcfc2815138c6afdc0999ad08f0a97cc59b75957c04c531498824839c478
-MD5 c80476c412604e3644cc86ea6d1c64c3 ChangeLog 1162
-RMD160 d7049465b711dee7c208f0bc686cd3cfd1cb9ff5 ChangeLog 1162
-SHA256 d83efcfc2815138c6afdc0999ad08f0a97cc59b75957c04c531498824839c478 ChangeLog 1162
+EBUILD spin-1.5.ebuild 1087 RMD160 b2e0ed24cfb97eb1fbbb791d60249071498efe05 SHA1 0a3b1cf53033063d7906676ea412708d22a42b9f SHA256 efed92a36d2a92ceae593d1a5bbb4d01afe4149dce9df4c943ea535a9b69c8aa
+MD5 e9e246b97da0cbd968efce590ba0d112 spin-1.5.ebuild 1087
+RMD160 b2e0ed24cfb97eb1fbbb791d60249071498efe05 spin-1.5.ebuild 1087
+SHA256 efed92a36d2a92ceae593d1a5bbb4d01afe4149dce9df4c943ea535a9b69c8aa spin-1.5.ebuild 1087
+MISC ChangeLog 1405 RMD160 6fa400cd5be3917a3e5f742d0e7dd292f4d8cc5f SHA1 abd82603d54253b7384256aafa4dd6b93ca4a6db SHA256 6d08bbb47fbbacabb0d544af37b4dae4282555df405abf0e6fe2795812d50430
+MD5 471f08fa1304f03f1915ffc6a66b2a41 ChangeLog 1405
+RMD160 6fa400cd5be3917a3e5f742d0e7dd292f4d8cc5f ChangeLog 1405
+SHA256 6d08bbb47fbbacabb0d544af37b4dae4282555df405abf0e6fe2795812d50430 ChangeLog 1405
 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -14,3 +30,13 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata
 MD5 e5452fe9862443c10b1abfef9bb52165 files/digest-spin-1.3.1 223
 RMD160 cce07c3500e855fe62bd204b38de3ccbe129e0b7 files/digest-spin-1.3.1 223
 SHA256 bb5ce578318029fb35c345c0b911bb9f228a63049eb0b9ba6c7857f49b9b96ab files/digest-spin-1.3.1 223
+MD5 1dac1ed0c20247a97a622cfb76ffa64a files/digest-spin-1.5 229
+RMD160 82534f15261a79f28fcc2c0b2396178a96dcb692 files/digest-spin-1.5 229
+SHA256 a1355b5be6cde244fc598e72cc7686157ca4a7d290f870447bb1ed754531609c files/digest-spin-1.5 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGKOjrcxLzpIGCsLQRAlxnAJ4hC2jjPMn0v2q6Gtg5KtIGre3bAwCfb2K1
+eC6uGW9y4dDp7Jv5jkpke28=
+=xyln
+-----END PGP SIGNATURE-----
diff --git a/dev-java/spin/files/1.5-build.xml b/dev-java/spin/files/1.5-build.xml
new file mode 100644 (file)
index 0000000..ac58aec
--- /dev/null
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above.        -->
+<!-- ====================================================================== -->
+
+<!-- ====================================================================== -->
+<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
+<!-- ====================================================================== -->
+<!--                                                                        -->
+<!-- Any modifications will be overwritten.                                 -->
+<!--                                                                        -->
+<!-- Generated by Maven Ant Plugin on 4/20/07 5:09 PM                       -->
+<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/                 -->
+<!--                                                                        -->
+<!-- ====================================================================== -->
+
+<project name="spin-from-maven" default="dist" basedir=".">
+
+  <!-- ====================================================================== -->
+  <!-- Build environnement properties                                         -->
+  <!-- ====================================================================== -->
+
+  <property file="maven-build.properties"/>
+
+  <property name="maven.build.finalName" value="spin-1.5"/>
+  <property name="maven.build.dir" value="target"/>
+  <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
+  <property name="maven.build.srcDir.0" value="src/main/java"/>
+  <property name="maven.build.resourceDir.0" value="src/main/java"/>
+  <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
+  <property name="maven.build.testDir.0" value="src/test/java"/>
+  <property name="maven.build.testResourceDir.0" value="src/main/java"/>
+  <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
+  <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
+
+  <property name="maven.settings.offline" value="true"/>
+  <property name="maven.settings.interactiveMode" value="true"/>
+
+  <!-- ====================================================================== -->
+  <!-- Cleaning up target                                                     -->
+  <!-- ====================================================================== -->
+
+  <target name="clean" description="Clean the output directory">
+    <delete dir="${maven.build.dir}"/>
+  </target>
+
+  <!-- ====================================================================== -->
+  <!-- Compilation target                                                     -->
+  <!-- ====================================================================== -->
+
+  <target name="compile" description="Compile the code">
+    <mkdir dir="${maven.build.outputDir}"/>
+    <javac destdir="${maven.build.outputDir}" classpath="${gentoo.classpath}" 
+           nowarn="false" 
+           debug="true" 
+           optimize="false" 
+           deprecation="true" 
+           target="1.4" 
+           verbose="false" 
+           fork="false" 
+           source="1.4">
+      <src>
+        <pathelement location="${maven.build.srcDir.0}"/>
+      </src>
+    </javac>
+    <copy todir="${maven.build.outputDir}">
+      <fileset dir="${maven.build.resourceDir.0}">
+        <include name="**/*"/>
+        <exclude name="**/*.java"/>
+      </fileset>
+    </copy>
+  </target>
+
+  <!-- ====================================================================== -->
+  <!-- Test-compilation target                                                -->
+  <!-- ====================================================================== -->
+
+  <target name="compile-tests" 
+          depends="junit-present, compile" 
+          description="Compile the test code" 
+          if="junit.present">
+    <mkdir dir="${maven.build.testOutputDir}"/>
+    <javac destdir="${maven.build.testOutputDir}" classpath="${gentoo.classpath}" 
+           nowarn="false" 
+           debug="true" 
+           optimize="false" 
+           deprecation="true" 
+           target="1.4" 
+           verbose="false" 
+           fork="false" 
+           source="1.4">
+      <src>
+        <pathelement location="${maven.build.testDir.0}"/>
+      </src>
+      <classpath>
+        <pathelement location="${maven.build.outputDir}"/>
+      </classpath>
+    </javac>
+    <copy todir="${maven.build.testOutputDir}">
+      <fileset dir="${maven.build.testResourceDir.0}">
+        <include name="**/*"/>
+        <exclude name="**/*.java"/>
+      </fileset>
+    </copy>
+  </target>
+
+  <!-- ====================================================================== -->
+  <!-- Run all tests                                                          -->
+  <!-- ====================================================================== -->
+
+  <target name="test" 
+          depends="junit-present, compile-tests" 
+          if="junit.present" 
+          description="Run the test cases">
+    <mkdir dir="${maven.test.reports}"/>
+    <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+      <sysproperty key="basedir" value="."/>
+      <formatter type="xml"/>
+      <formatter type="plain" usefile="false"/>
+      <classpath>
+        <pathelement path="${gentoo.classpath}"/>
+        <pathelement location="${maven.build.outputDir}"/>
+        <pathelement location="${maven.build.testOutputDir}"/>
+      </classpath>
+      <batchtest todir="${maven.test.reports}">
+        <fileset dir="${maven.build.testDir.0}">
+          <include name="**/*Test.java"/>
+          <exclude name="**/*Abstract*Test.java"/>
+        </fileset>
+      </batchtest>
+    </junit>
+  </target>
+
+  <target name="test-junit-present">
+    <available classname="junit.framework.Test" property="junit.present"/>
+  </target>
+
+  <target name="junit-present" 
+          depends="test-junit-present" 
+          unless="junit.present">
+    <echo>=================================== WARNING ===================================</echo>
+    <echo> Junit isn&apos;t present in your $ANT_HOME/lib directory. Tests not executed. </echo>
+    <echo>===============================================================================</echo>
+  </target>
+
+  <!-- ====================================================================== -->
+  <!-- Javadoc target                                                         -->
+  <!-- ====================================================================== -->
+
+  <target name="javadoc" description="Generates the Javadoc of the application">
+    <javadoc sourcepath="${maven.build.srcDir.0}" 
+             packagenames="*" 
+             destdir="${maven.reporting.outputDirectory}/apidocs" 
+             access="protected" 
+             old="false" 
+             verbose="false" 
+             version="true" 
+             use="true" 
+             author="true" 
+             splitindex="false" 
+             nodeprecated="false" 
+             nodeprecatedlist="false" 
+             notree="false" 
+             noindex="false" 
+             nohelp="false" 
+             nonavbar="false" 
+             serialwarn="false" 
+             charset="ISO-8859-1" 
+             linksource="false" 
+             breakiterator="false"/>
+  </target>
+
+  <!-- ====================================================================== -->
+  <!-- Package target                                                         -->
+  <!-- ====================================================================== -->
+
+  <target name="package" depends="compile" description="Package the application">
+    <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" 
+         compress="true" 
+         index="false" 
+         basedir="${maven.build.outputDir}" 
+         excludes="**/package.html"/>
+  </target>
+
+  <!-- ====================================================================== -->
+  <!-- A dummy target for the package named after the type it creates         -->
+  <!-- ====================================================================== -->
+
+  <target name="jar" depends="package" description="Builds the jar for the application"/>
+
+  <!-- ====================================================================== -->
+  <!-- Dist target                                                            -->
+  <!-- ====================================================================== -->
+
+  <target name="dist" depends="package,test" description="Package the application and run tests"/>
+</project>
\ No newline at end of file
diff --git a/dev-java/spin/files/1.5-maven-build.properties b/dev-java/spin/files/1.5-maven-build.properties
new file mode 100644 (file)
index 0000000..1d9c9b6
--- /dev/null
@@ -0,0 +1,16 @@
+#Generated by Maven Ant Plugin - DO NOT EDIT THIS FILE!
+#Fri Apr 20 17:09:04 EEST 2007
+project.build.outputDirectory=${maven.build.outputDir}
+project.build.directory=${maven.build.dir}
+maven.test.reports=${maven.build.dir}/test-reports
+maven.build.finalName=spin-1.5
+maven.reporting.outputDirectory=${maven.build.dir}/site
+maven.build.testResourceDir.0=src/test/java
+maven.build.outputDir=${maven.build.dir}/classes
+maven.build.resourceDir.0=src/main/java
+maven.build.testOutputDir=${maven.build.dir}/test-classes
+maven.settings.offline=false
+maven.build.dir=target
+maven.settings.interactiveMode=true
+maven.build.testDir.0=src/test/java
+maven.build.srcDir.0=src/main/java
diff --git a/dev-java/spin/files/digest-spin-1.5 b/dev-java/spin/files/digest-spin-1.5
new file mode 100644 (file)
index 0000000..594b181
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b8d6d7fa1ebaf1a2a52d7a8ec9e14319 spin-1.5-all.zip 482286
+RMD160 f7d67aa86c51ccfde7f0965c37142bfbaa18587f spin-1.5-all.zip 482286
+SHA256 5515bb6b6724c856e94271bc3bd11fcc0170cf37835bf5fd93026b98c6bf3594 spin-1.5-all.zip 482286
diff --git a/dev-java/spin/spin-1.5.ebuild b/dev-java/spin/spin-1.5.ebuild
new file mode 100644 (file)
index 0000000..3eb2509
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spin/spin-1.5.ebuild,v 1.1 2007/04/20 16:23:03 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Transparent threading solution for non-freezing Swing applications."
+HOMEPAGE="http://spin.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}-all.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+
+COMMON_DEP="dev-java/cglib"
+DEPEND=">=virtual/jdk-1.4
+       app-arch/unzip
+       ${COMMON_DEP}"
+RDEPEND=">=virtual/jre-1.4
+       ${COMMON_DEP}"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       cp "${FILESDIR}/${PV}-build.xml" build.xml || die
+       cp "${FILESDIR}/${PV}-maven-build.properties" maven-build.properties || die
+       rm -v lib/*.jar || die
+}
+
+EANT_GENTOO_CLASSPATH="cglib-2.1"
+
+# Needs X
+RESTRICT="test"
+
+src_test() {
+       ANT_TASKS="ant-junit" eant test
+}
+
+src_install() {
+       java-pkg_newjar target/${P}.jar
+
+       use doc && java-pkg_dojavdoc target/site/apidocs
+       use source && java-pkg_dosrc src/main/java/*
+}