[med-svn] [Git][med-team/oncofuse][master] Use mh-make to get proper maven rules

Andreas Tille gitlab at salsa.debian.org
Wed Jun 26 16:09:10 BST 2019



Andreas Tille pushed to branch master at Debian Med / oncofuse


Commits:
96c47aa3 by Andreas Tille at 2019-06-26T15:08:58Z
Use mh-make to get proper maven rules

- - - - -


10 changed files:

- + debian/README.source
- debian/changelog
- debian/control
- + debian/maven.cleanIgnoreRules
- + debian/maven.ignoreRules
- + debian/maven.properties
- + debian/maven.publishedRules
- + debian/maven.rules
- + debian/oncofuse.poms
- debian/rules


Changes:

=====================================
debian/README.source
=====================================
@@ -0,0 +1,9 @@
+Information about oncofuse
+--------------------------
+
+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.


=====================================
debian/changelog
=====================================
@@ -1,6 +1,6 @@
 oncofuse (1.1.1-1) UNRELEASED; urgency=medium
 
   * Initial release (Closes: #<bug>)
-  TODO: empty binary package (need to run maven helper)
+    TODO: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project oncofuse: No such compiler 'groovy-eclipse-compiler'.
 
- -- Andreas Tille <tille at debian.org>  Sat, 27 Apr 2019 07:20:42 +0200
+ -- Andreas Tille <tille at debian.org>  Wed, 26 Jun 2019 15:28:45 +0200


=====================================
debian/control
=====================================
@@ -3,16 +3,24 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 12~)
+Build-Depends: debhelper (>= 12~),
+               default-jdk,
+               maven-debian-helper (>= 2.1)
+Build-Depends-Indep: groovy,
+                     libcommons-cli-java,
+                     libgpars-groovy-java (>= 1.2.1),
+                     libmaven-antrun-plugin-java (>= 1.8),
+                     libmaven-shade-plugin-java (>= 3.1.1) 
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/oncofuse
 Vcs-Git: https://salsa.debian.org/med-team/oncofuse.git
 Homepage: https://github.com/mikessh/oncofuse
 
 Package: oncofuse
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
+Architecture: all
+Depends: ${misc:Depends},
+         ${maven:Depends}
+Suggests: ${maven:OptionalDepends}
 Description: predicting oncogenic potential of gene fusions
  Oncofuse is a framework designed to estimate the oncogenic potential of
  de-novo discovered gene fusions. It uses several hallmark features and


=====================================
debian/maven.cleanIgnoreRules
=====================================
@@ -0,0 +1 @@
+


=====================================
debian/maven.ignoreRules
=====================================
@@ -0,0 +1,3 @@
+
+nz.ac.waikato.cms.weka weka-stable * * * *
+org.codehaus.groovy groovy-eclipse-compiler * * * *


=====================================
debian/maven.properties
=====================================
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+# project.build.sourceEncoding=UTF-8
+


=====================================
debian/maven.publishedRules
=====================================
@@ -0,0 +1 @@
+


=====================================
debian/maven.rules
=====================================
@@ -0,0 +1,4 @@
+
+es.unav oncofuse jar s/.*/debian/ * *
+org.apache.maven.plugins maven-enforcer-plugin * s/.*/debian/ * *
+org.apache.rat apache-rat-plugin * s/.*/debian/ * *


=====================================
debian/oncofuse.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 --has-package-version


=====================================
debian/rules
=====================================
@@ -1,31 +1,4 @@
 #!/usr/bin/make -f
 
-# DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
-
-include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-# SOURCE_DATE_EPOCH: the source release date as seconds since the epoch, as
-#                    specified by <https://reproducible-builds.org/specs/source-date-epoch/>
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-
 %:
 	dh $@
-
-### When overriding auto_test make sure DEB_BUILD_OPTIONS will be respected
-#override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#	do_stuff_for_testing
-#endif
-
-### If you **really** can not use uscan (even not with mode=git) use a debian/get-orig-script
-#get-orig-source:
-#	. debian/get-orig-source



View it on GitLab: https://salsa.debian.org/med-team/oncofuse/commit/96c47aa326b7c4e9494976a2bf98543bb97cd327

-- 
View it on GitLab: https://salsa.debian.org/med-team/oncofuse/commit/96c47aa326b7c4e9494976a2bf98543bb97cd327
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190626/417774b9/attachment-0001.html>


More information about the debian-med-commit mailing list