[junit] 18/37: * New version
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Oct 24 22:17:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository junit.
commit f37f1979ce041ce7af7d8d27e7c11020dd04f110
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Thu Jul 2 10:18:06 2009 +0000
* New version
---
debian/changelog | 29 +++++++++++++++++++++++++----
debian/compat | 2 +-
debian/control | 8 ++++----
debian/junit.poms | 1 +
debian/maven.rules | 1 +
debian/orig-tar.sh | 4 ++--
debian/pom.xml | 26 ++++++++++++++++++++++++++
debian/rules | 14 ++++++++++++--
8 files changed, 72 insertions(+), 13 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index bf39219..6c195c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,31 @@
-junit (3.8.2-2) UNRELEASED; urgency=low
+junit (3.8.2-2) unstable; urgency=low
- * (Build-)depend on default-jre/-jdk (>= 1.4).
- * Build with -target 1.4.
+ * Add Maven POM descriptor
+ * Add a Build-Depends-Indep dependency on maven-repo-helper
+ * debian/rules: added get-orig-pom target to run manually to download the latest
+ Maven POM and add it to the debian directory.
+ * Fix some Lintian warnings: bump Standards-Version to 3.8.1,
+ cannot fix Copyright warning as no information
+ was found in the source code or the web site about the copyright owners,
+ and adding ${misc:Depends} causes FTBSF.
+ * Change section to java
+ * Use mh_installpom and mh_installjar to install the POM and the jar to the
+ Maven repository
- -- Matthias Klose <doko at debian.org> Mon, 20 Oct 2008 12:37:05 +0000
+ -- Ludovic Claude <ludovic.claude at laposte.net> Mon, 16 Mar 2009 00:33:07 +0000
+junit (3.8.2-1ubuntu2) intrepid; urgency=low
+
+ * Compile java files with -target 1.4. LP: #264808.
+
+ -- Matthias Klose <doko at ubuntu.com> Mon, 20 Oct 2008 14:25:15 +0200
+
+junit (3.8.2-1ubuntu1) intrepid; urgency=low
+
+ * (Build-)depend on default-jre/-jdk.
+ * Don't build with -target 1.3.
+
+ -- Matthias Klose <doko at ubuntu.com> Wed, 30 Jul 2008 15:32:08 +0000
junit (3.8.2-1) unstable; urgency=low
[ Kumar Appaiah ]
diff --git a/debian/compat b/debian/compat
index b8626c4..1e8b314 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+6
diff --git a/debian/control b/debian/control
index 1dd169e..96a5664 100644
--- a/debian/control
+++ b/debian/control
@@ -1,11 +1,11 @@
Source: junit
-Section: devel
+Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Michael Koch <konqueror at gmx.de>, Wolfgang Baer <WBaer at gmx.de>
-Build-Depends: debhelper (>= 4.2.30), cdbs
-Build-Depends-Indep: default-jdk
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 4.2.30), cdbs, default-jdk-builddep
+Build-Depends-Indep: maven-repo-helper
+Standards-Version: 3.8.1
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/junit
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/junit
Homepage: http://www.junit.org
diff --git a/debian/junit.poms b/debian/junit.poms
new file mode 100644
index 0000000..623bd24
--- /dev/null
+++ b/debian/junit.poms
@@ -0,0 +1 @@
+debian/pom.xml --no-parent
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..8577380
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+junit junit jar s/3\..*/3.x/
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index f4a3baf..c45b252 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -14,8 +14,8 @@ rm -rf $DIR
# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
. .svn/deb-layout
- mv $3 $origDir
- echo "moved $3 to $origDir"
+ cp -l $2 $origDir
+ echo "moved $2 to $origDir"
fi
exit 0
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..8488147
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,26 @@
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</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>http://junit.cvs.sourceforge.net/junit/</url>
+ </scm>
+ <dependencies>
+ </dependencies>
+</project>
diff --git a/debian/rules b/debian/rules
index 296cb3c..c76fd2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ build:
patch -p0 < debian/TestCollector.java.diff
mkdir -p classes
- (cd src;${JAVAC} -source 1.4 -classpath ${CLASSPATH} -d ../classes junit/*/*.java)
+ (cd src;${JAVAC} -source 1.4 -target 1.4 -classpath ${CLASSPATH} -d ../classes junit/*/*.java)
cp -r src/junit/swingui/icons classes/junit/swingui
cp src/junit/runner/*.gif classes/junit/runner
cp src/junit/runner/excluded.properties classes/junit/runner
@@ -34,8 +34,18 @@ clean::
-rm -rf classes doc/api ${JARNAME}
-rm -f `find . -name "*~"`
-rm -rf src
+ -rm -rf debian/tmp
install/junit::
-rm -f javadoc/package-list
- install -m 644 ${JARNAME} debian/junit/usr/share/java/junit-${UPSTREAM_VERSION}.jar
install -m 755 debian/junit.sh debian/junit/usr/bin/junit
+ mh_installpoms -pjunit
+ mh_installjar -pjunit -l debian/pom.xml ${JARNAME}
+
+get-orig-pom:
+ wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/junit/junit/${UPSTREAM_VERSION}/junit-${UPSTREAM_VERSION}.pom
+
+get-orig-source:
+ -uscan --download-version ${DEB_UPSTREAM_VERSION} --force-download --rename
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/junit.git
More information about the pkg-java-commits
mailing list