[testng] 02/02: initial commit of 6.8.7 version packaging

Eugene Zhukov eugene-guest at alioth.debian.org
Wed Sep 11 10:20:57 UTC 2013


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to branch master
in repository testng.

commit a21160152fc6b0a146a9d0dbd497bdd57f3d07ee
Author: Eugene Zhukov <jevgeni.zh at gmail.com>
Date:   Wed Sep 11 10:17:41 2013 +0000

    initial commit of 6.8.7 version packaging
---
 debian/README.source          |    9 +++++
 debian/changelog              |   73 +++++++++++++++++++++++++++++++++++++++++
 debian/compat                 |    1 +
 debian/control                |   33 +++++++++++++++++++
 debian/copyright              |   17 ++++++++++
 debian/maven.cleanIgnoreRules |    1 +
 debian/maven.ignoreRules      |    5 +++
 debian/maven.properties       |    5 +++
 debian/maven.publishedRules   |    2 ++
 debian/maven.rules            |    7 ++++
 debian/orig-tar.sh            |   10 ++++++
 debian/patches/pom.patch      |   34 +++++++++++++++++++
 debian/patches/series         |    1 +
 debian/rules                  |    9 +++++
 debian/source/format          |    1 +
 debian/testng.poms            |   28 ++++++++++++++++
 debian/watch                  |    4 +++
 17 files changed, 240 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..abfc000
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about testng
+------------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..59cd36c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,73 @@
+testng (6.8.7-1) experimental; urgency=low
+
+  * Team upload.
+  * Package adoption (Closes: #705103)
+  * New upstream release
+
+ -- Eugene Zhukov <jevgeni.zh at gmail.com>  Sat, 07 Sep 2013 10:42:29 +0000
+
+testng (5.11+dfsg-3) unstable; urgency=low
+
+  * Sync from Ubuntu (Closes: #605369, #639046)
+  * Standards-Version updated to version 3.9.2
+  * Package moved under the pkg-java team (thanks Marcus)
+  * Add myself as maintainer
+  * Fix a bad detection of the JVM path (LP: #888128)
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Tue, 20 Dec 2011 00:39:49 +0100
+
+testng (5.11+dfsg-2ubuntu2) oneiric; urgency=low
+
+  * Fix FTBFS (LP: #829508):
+    - d/patches/debian/junitconvertor-test-fix.diff: Switch from use of 
+      deprecated parameters attribute in @Test to using @Parameters to 
+      ensure that JUnitConvertor Test passes.
+
+ -- James Page <james.page at ubuntu.com>  Tue, 20 Sep 2011 12:15:27 +0100
+
+testng (5.11+dfsg-2ubuntu1) natty; urgency=low
+
+  * debian/rules: updated to use ant-nodeps to fix FTBFS (LP: #674382)
+
+ -- James Page <james.page at canonical.com>  Fri, 12 Nov 2010 08:08:26 +0000
+
+testng (5.11+dfsg-2) unstable; urgency=low
+
+  * Fix non-threadsafe test. Thanks to Lucas Nussbaum. (Closes: #593040).
+
+ -- Marcus Better <marcus at better.se>  Mon, 16 Aug 2010 10:52:51 +0200
+
+testng (5.11+dfsg-1) unstable; urgency=low
+
+  * New upstream version.
+  * Switch to source format 3.0 (quilt). Thanks to Raphael
+    Hertzog. (Closes: #538708)
+  * Disable tests that fail with qdox 1.11. Thanks to Daniel Schepler
+    (Closes: #577477).
+  * debian/control: Bump standards-version (no changed needed).
+
+ -- Marcus Better <marcus at better.se>  Sun, 25 Apr 2010 09:42:04 +0200
+
+testng (5.10+dfsg-2) unstable; urgency=low
+
+  * Install Maven repository metadata. Thanks to Ludovic Claude.
+  * debian/control: Bump standards-version.
+
+ -- Marcus Better <marcus at better.se>  Mon, 07 Sep 2009 10:33:28 +0200
+
+testng (5.10+dfsg-1) unstable; urgency=low
+
+  * Changed section to "java".
+  * debian/rules: Make it work with debhelper 7.3.5. (Closes: #538016)
+  * Use qdox 1.9 and add a patch for the API changes. Thanks to Ludovic
+    Claude.
+  * debian/control: Bump policy version to 3.8.2.
+  * debian/control: Build with default-jdk.
+
+ -- Marcus Better <marcus at better.se>  Thu, 23 Jul 2009 12:11:17 +0200
+
+testng (5.9+dfsg-1) unstable; urgency=low
+
+  * Initial release. (Closes: #465326)
+
+ -- Marcus Better <marcus at better.se>  Mon, 04 May 2009 10:47:43 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a54566d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: testng
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Eugene Zhukov <jevgeni.zh at gmail.com>
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.5)
+Build-Depends-Indep: libmaven-bundle-plugin-java, bsh, junit4, libguice-java, libjcommander-java,  
+ libyaml-snake-java 
+Standards-Version: 3.9.4
+Vcs-Git: git://git.debian.org/git/pkg-java/testng.git
+Vcs-Browser: http://git.debian.org/?p=pkg-java/testng.git
+Homepage: http://testng.org 
+
+Package: testng
+Architecture: all
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Description: testing framework for Java
+ TestNG is a testing framework inspired by JUnit and NUnit but
+ introducing some new functionalities that make it more powerful and
+ easier to use, such as:
+ .
+     * JDK 5 annotations
+     * Flexible test configuration
+     * Support for data-driven testing
+     * Support for parameters
+     * Distribution of tests on slave machines
+     * Powerful execution model (no more TestSuite)
+     * Embeds BeanShell for further flexibility
+ .
+ TestNG is designed to cover all categories of tests, including unit,
+ functional, end-to-end and integration tests.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a94a586
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,17 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: TestNG
+Source: http://testng.org
+
+Files: *
+Copyright: 2013, Cedric Beust
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2013, Eugene Zhukov <jevgeni.zh at gmail.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
+
+
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/debian/maven.cleanIgnoreRules
@@ -0,0 +1 @@
+
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..089c86d
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,5 @@
+
+org.apache.maven.plugins maven-gpg-plugin * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
+org.apache.maven.plugins maven-surefire-plugin * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..e593715
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..16c477d
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,2 @@
+
+org.testng testng jar s/6\..*/6.x/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..13187ba
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,7 @@
+
+com.beust jcommander jar s/1\..*/1.x/ * *
+junit junit jar s/4\..*/4.x/ * *
+org.testng testng jar s/6\..*/6.x/ * *
+org.yaml snakeyaml bundle s/1\..*/1.x/ * *
+org.yaml snakeyaml s/jar/bundle/ s/1\..*/1.x/ * *
+s/ant/org.apache.ant/ * * s/.*/debian/ * *
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..832bd66
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../testng_$VERSION.orig.tar.gz
+DIR=testng-testng-$VERSION
+
+tar zxf $3
+rm -f $3
+GZIP=--best tar czf $TAR --exclude '*.jar' --exclude '*.class' $DIR
+rm -rf $DIR
diff --git a/debian/patches/pom.patch b/debian/patches/pom.patch
new file mode 100644
index 0000000..96a1a1f
--- /dev/null
+++ b/debian/patches/pom.patch
@@ -0,0 +1,34 @@
+Description: Debian specific changes
+  * Guice version updated to 3.0
+  * added target version 1.5
+Author: Eugene Zhukov <jevgeni.zh at gmail.com>
+Last-Update: 2013-09-08
+
+--- a/pom.xml
++++ b/pom.xml
+@@ -72,7 +72,7 @@
+         <dependency>
+           <groupId>com.google.inject</groupId>
+            <artifactId>guice</artifactId>
+-           <version>2.0</version>
++           <version>3.0</version>
+            <scope>provided</scope>
+         </dependency>
+         <dependency>
+@@ -111,7 +111,7 @@
+     <dependency>
+       <groupId>com.google.inject</groupId>
+       <artifactId>guice</artifactId>
+-      <version>2.0</version>
++      <version>3.0</version>
+       <scope>provided</scope>
+     </dependency>
+ 
+@@ -155,6 +155,7 @@
+         <version>3.1</version>
+         <configuration>
+           <source>1.5</source>
++          <target>1.5</target>
+         </configuration>
+       </plugin>
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..df4e068
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pom.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b76c54a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+JAVA_HOME := /usr/lib/jvm/default-java
+
+get-orig-source:
+	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/testng.poms b/debian/testng.poms
new file mode 100644
index 0000000..64b1188
--- /dev/null
+++ b/debian/testng.poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+pom.xml --no-parent --has-package-version --java-lib
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bc0ea25
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=dversionmangle=s/(\d)[\+\.](?:dfsg|debian|ds)\.?\d*$/$1/ \
+https://github.com/cbeust/testng/tags \
+.*/archive/testng-(\d\S*)\.tar\.gz debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list