[pkg-java] r10153 - trunk/junit4/debian

Damien Raude-Morvan drazzib-guest at alioth.debian.org
Sat Aug 22 00:19:58 UTC 2009


Author: drazzib-guest
Date: 2009-08-22 00:19:57 +0000 (Sat, 22 Aug 2009)
New Revision: 10153

Added:
   trunk/junit4/debian/junit4.poms
   trunk/junit4/debian/maven.rules
   trunk/junit4/debian/pom.xml
Modified:
   trunk/junit4/debian/changelog
   trunk/junit4/debian/control
   trunk/junit4/debian/rules
Log:
[junit4]

* New upstream release.                                                                                                                                  
* Bump Standards-Version to 3.8.3: no changes needed                                                                                                     
* Remove versionned B-D on cdbs: even oldstable has this release                                                                                         
* Use default-jdk/jre:                                                                                                                                   
  - Build-Depends on default-jdk                                                                                                                         
  - Use /usr/lib/jvm/default-java as JAVA_HOME                                                                                                           
* Maven POMs:                                                                                                                                            
  - Create basic Maven POM in debian/pom.xml                                                                                                             
  - Add a Build-Depends-Indep dependency on maven-repo-helper                                                                                            
  - Use mh_installpom and mh_installjar to install the POM and the jar to the                                                                            
   Maven repository                                                                                                                                      
* Move ant and default-jdk to B-D-I (needed for clean target)



Modified: trunk/junit4/debian/changelog
===================================================================
--- trunk/junit4/debian/changelog	2009-08-21 23:14:50 UTC (rev 10152)
+++ trunk/junit4/debian/changelog	2009-08-22 00:19:57 UTC (rev 10153)
@@ -1,3 +1,20 @@
+junit4 (4.7-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+  * Bump Standards-Version to 3.8.3: no changes needed
+  * Remove versionned B-D on cdbs: even oldstable has this release
+  * Use default-jdk/jre:
+    - Build-Depends on default-jdk
+    - Use /usr/lib/jvm/default-java as JAVA_HOME
+  * Maven POMs:
+    - Create basic Maven POM in debian/pom.xml
+    - Add a Build-Depends-Indep dependency on maven-repo-helper
+    - Use mh_installpom and mh_installjar to install the POM and the jar to the
+     Maven repository
+  * Move ant and default-jdk to B-D-I (needed for clean target)
+
+ -- Damien Raude-Morvan <drazzib at drazzib.com>  Sat, 22 Aug 2009 01:35:51 +0200
+
 junit4 (4.6-2) unstable; urgency=low
 
   * debian/build.xml:

Modified: trunk/junit4/debian/control
===================================================================
--- trunk/junit4/debian/control	2009-08-21 23:14:50 UTC (rev 10152)
+++ trunk/junit4/debian/control	2009-08-22 00:19:57 UTC (rev 10153)
@@ -3,11 +3,11 @@
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Florian Weimer <fw at deneb.enyo.de>, Michael Koch <konqueror at gmx.de>, Varun Hiremath <varun at debian.org>, Damien Raude-Morvan <drazzib at drazzib.com>
 Priority: optional
-Build-Depends: cdbs (>= 0.4.8), debhelper (>= 5)
-Build-Depends-Indep: ant, openjdk-6-jdk, libhamcrest-java
-Standards-Version: 3.8.2
-Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/junit4
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/junit4
+Build-Depends: cdbs, debhelper (>= 5), ant, default-jdk
+Build-Depends-Indep: libhamcrest-java, maven-repo-helper
+Standards-Version: 3.8.3
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/junit4/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/junit4/
 Homepage: http://www.junit.org/
 
 Package: junit4

Added: trunk/junit4/debian/junit4.poms
===================================================================
--- trunk/junit4/debian/junit4.poms	                        (rev 0)
+++ trunk/junit4/debian/junit4.poms	2009-08-22 00:19:57 UTC (rev 10153)
@@ -0,0 +1 @@
+debian/pom.xml --no-parent

Added: trunk/junit4/debian/maven.rules
===================================================================
--- trunk/junit4/debian/maven.rules	                        (rev 0)
+++ trunk/junit4/debian/maven.rules	2009-08-22 00:19:57 UTC (rev 10153)
@@ -0,0 +1 @@
+junit junit jar s/3\..*/3.x/

Added: trunk/junit4/debian/pom.xml
===================================================================
--- trunk/junit4/debian/pom.xml	                        (rev 0)
+++ trunk/junit4/debian/pom.xml	2009-08-22 00:19:57 UTC (rev 10153)
@@ -0,0 +1,26 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>junit</groupId>
+  <artifactId>junit</artifactId>
+  <version>4.7</version>
+  <name>JUnit</name>
+  <url>http://junit.org</url>
+  <description>
+    JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
+  </description>
+  <organization>
+    <name>JUnit</name>
+    <url>http://www.junit.org</url>
+  </organization>
+  <licenses>
+    <license>
+      <name>Common Public License Version 1.0</name>
+      <url>http://www.opensource.org/licenses/cpl1.0.txt</url>
+    </license>
+  </licenses>
+  <scm>
+    <url>git://github.com/KentBeck/junit.git</url>
+  </scm>
+  <dependencies>
+  </dependencies>
+</project>

Modified: trunk/junit4/debian/rules
===================================================================
--- trunk/junit4/debian/rules	2009-08-21 23:14:50 UTC (rev 10152)
+++ trunk/junit4/debian/rules	2009-08-22 00:19:57 UTC (rev 10153)
@@ -3,16 +3,19 @@
 include /usr/share/cdbs/1/class/ant.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
-JAVA_HOME 		:= /usr/lib/jvm/java-6-openjdk
+JAVA_HOME 		:= /usr/lib/jvm/default-java
 DEB_ANT_BUILDFILE	:= debian/build.xml
 DEB_ANT_BUILD_TARGET 	:= jar javadoc
 DEB_JARS  		:= hamcrest-core
 ANT_OPTS		:= -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
 
-install/junit4::
-	install -D -m 644 junit4.jar debian/junit4/usr/share/java/junit4-$(DEB_UPSTREAM_VERSION).jar
-	dh_link -pjunit4 /usr/share/java/junit4-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/junit4.jar
+binary-post-install/junit4::
+	mh_installpoms -pjunit4
+	mh_installjar -pjunit4 -njunit4 -l debian/pom.xml junit4.jar 
 
+clean::
+	-rm -rf debian/tmp
+
 upstream-from-git:
 	git-archive --format=tar --prefix=junit4-$(DEB_UPSTREAM_VERSION)/ \
 		v$(DEB_UPSTREAM_VERSION) | gzip -9 \




More information about the pkg-java-commits mailing list