[assertj-core] 01/02: Initial packaging

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jan 27 22:54:08 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository assertj-core.

commit a1317aa1879a24b6aee60f027da474761828e0e4
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jan 27 23:50:16 2016 +0100

    Initial packaging
---
 debian/README.source             |  9 +++++++++
 debian/changelog                 |  5 +++++
 debian/compat                    |  1 +
 debian/control                   | 24 ++++++++++++++++++++++++
 debian/copyright                 | 37 +++++++++++++++++++++++++++++++++++++
 debian/libassertj-core-java.poms | 28 ++++++++++++++++++++++++++++
 debian/maven.ignoreRules         | 11 +++++++++++
 debian/maven.properties          |  8 ++++++++
 debian/maven.publishedRules      |  3 +++
 debian/maven.rules               |  7 +++++++
 debian/rules                     |  7 +++++++
 debian/source/format             |  1 +
 debian/watch                     |  2 ++
 13 files changed, 143 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..8d1be02
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about assertj-core
+------------------------------
+
+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..203f2c9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+assertj-core (2.3.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #812930)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 27 Jan 2016 23:49:04 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3f0b674
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: assertj-core
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Emmanuel Bourg <ebourg at apache.org>
+Build-Depends: debhelper (>= 9),
+               default-jdk,
+               libjarjar-maven-plugin-java,
+               libmaven-bundle-plugin-java,
+               libmockito-java,
+               maven-debian-helper (>= 1.5)
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/assertj-core.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/assertj-core.git
+Homepage: https://github.com/joel-costigliola/assertj-core
+
+Package: libassertj-core-java
+Architecture: all
+Depends: ${maven:Depends}, ${misc:Depends}
+Suggests: ${maven:OptionalDepends}
+Description: Fluent assertions for Java
+ AssertJ provides a rich and intuitive set of strongly-typed assertions
+ to use for unit testing. AssertJ core provides assertions for JDK
+ standard types can be used with either JUnit or TestNG.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..66036e6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: AssertJ Core
+Source: https://github.com/joel-costigliola/assertj-core
+
+Files: *
+Copyright: 2014-2016, Joel Costigliola
+License: Apache-2.0
+
+Files: src/test/resources/diffs/revised.txt
+       src/test/resources/diffs/5A.txt
+       src/test/resources/diffs/5B.txt
+Copyright: 2009, Dmitry Naumenko
+           2006, Johannes E. Schindelin
+License: GPL-3+
+ This file is part of Java Diff Utils Library.
+ .
+ Java Diff Utils Library is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ Java Diff Utils Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ On Debian systems, the full text of the GPL-3 license
+ can be found in the file '/usr/share/common-licenses/GPL-3'
+
+
+Files: debian/*
+Copyright: 2016, Emmanuel Bourg <ebourg at apache.org>
+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/libassertj-core-java.poms b/debian/libassertj-core-java.poms
new file mode 100644
index 0000000..5ad70f2
--- /dev/null
+++ b/debian/libassertj-core-java.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
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..2159538
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,11 @@
+
+com.github.marschall memoryfilesystem * * * *
+com.mycila license-maven-plugin * * * *
+com.tngtech.java junit-dataprovider * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-surefire-plugin * * * *
+org.codehaus.mojo animal-sniffer-maven-plugin * * * *
+org.easymock easymock * * * *
+org.jacoco jacoco-maven-plugin * * * *
+org.powermock powermock-api-mockito * * * *
+org.powermock powermock-module-junit4 * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..1319488
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,8 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true
+
+maven.compiler.source=1.7
+maven.compiler.target=1.7
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
new file mode 100644
index 0000000..467e2ab
--- /dev/null
+++ b/debian/maven.publishedRules
@@ -0,0 +1,3 @@
+
+org.assertj assertj-core bundle s/.*/debian/ * *
+org.assertj assertj-core s/jar/bundle/ s/.*/debian/ * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..3487b3f
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,7 @@
+
+org.assertj assertj-core bundle s/.*/debian/ * *
+org.assertj assertj-core jar s/.*/debian/ * *
+s/easymock/org.easymock/ easymock * s/.*/debian/ * *
+junit junit * s/.*/4.x/ * *
+cglib * * s/.*/3.x/ * *
+org.ow2.asm * * s/.*/4.x/ * *
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..aba914b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem=maven
+
+get-orig-source:
+	uscan --download-current-version --force-download --no-symlink
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/watch b/debian/watch
new file mode 100644
index 0000000..160133f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/joel-costigliola/assertj-core/tags .*/assertj-core-([\d\.]+).tar.gz

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



More information about the pkg-java-commits mailing list