[med-svn] [Git][med-team/allelecount][master] 3 commits: Follow hint by gregor hermann to use dh-make-perl --intrusive
Andreas Tille
gitlab at salsa.debian.org
Mon May 11 22:15:43 BST 2020
Andreas Tille pushed to branch master at Debian Med / allelecount
Commits:
9fc2bd2f by Andreas Tille at 2020-05-11T23:04:08+02:00
Follow hint by gregor hermann to use dh-make-perl --intrusive
- - - - -
71cd8a67 by Andreas Tille at 2020-05-11T23:12:46+02:00
Hardening
- - - - -
9d13d8f1 by Andreas Tille at 2020-05-11T23:13:37+02:00
Add lintian-overrides
- - - - -
3 changed files:
- debian/control
- + debian/lintian-overrides
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -6,13 +6,15 @@ Priority: optional
Build-Depends: debhelper-compat (= 12),
libhts-dev,
libbz2-dev,
- libconst-fast-perl,
- libdevel-cover-perl,
- libfile-slurp-perl,
- libfile-which-perl,
- libipc-system-simple-perl,
- libpod-coverage-perl,
- libtest-fatal-perl
+Build-Depends-Indep: libconst-fast-perl <!nocheck>,
+ libdevel-cover-perl <!nocheck>,
+ libfile-slurp-perl <!nocheck>,
+ libfile-which-perl <!nocheck>,
+ libipc-system-simple-perl <!nocheck>,
+ libpod-coverage-perl <!nocheck>,
+ libtest-fatal-perl (>= 0.013) <!nocheck>,
+ libtry-tiny-perl <!nocheck>,
+ perl
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/med-team/allelecount
Vcs-Git: https://salsa.debian.org/med-team/allelecount.git
@@ -21,7 +23,16 @@ Homepage: https://github.com/cancerit/alleleCount
Package: allelecount
Architecture: any
Depends: ${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ ${perl:Depends},
+ libconst-fast-perl,
+ libdevel-cover-perl,
+ libfile-slurp-perl,
+ libfile-which-perl,
+ libipc-system-simple-perl,
+ libpod-coverage-perl,
+ libtest-fatal-perl (>= 0.013),
+ libtry-tiny-perl
Description: NGS copy number algorithms
Support code for NGS copy number algorithms. Takes a file of locations
and a [cr|b]am file and generates a count of coverage of each allele
=====================================
debian/lintian-overrides
=====================================
@@ -0,0 +1,2 @@
+# see https://lists.debian.org/debian-med/2018/06/msg00043.html
+allelecount: script-with-language-extension usr/bin/*.*
=====================================
debian/rules
=====================================
@@ -4,36 +4,31 @@
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
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
%:
dh $@ --sourcedirectory=c
+override_dh_auto_clean:
+ dh_auto_clean --sourcedirectory=c
+ dh_auto_clean --sourcedirectory=perl
+
+override_dh_auto_configure:
+ dh_auto_configure --sourcedirectory=c
+ dh_auto_configure --sourcedirectory=perl
+
override_dh_auto_build:
- dh_auto_build
- cd perl && perl Makefile.PL INSTALL_BASE=$(CURDIR)/debian/$(DEB_SOURCE)/usr/
-
+ dh_auto_build --sourcedirectory=c
+ dh_auto_build --sourcedirectory=perl
+
override_dh_auto_test:
- dh_auto_test
- cd perl && make test
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ dh_auto_test --sourcedirectory=c
+ dh_auto_test --sourcedirectory=perl
+endif
override_dh_auto_install:
- dh_auto_install
- cd perl && make install
-
-### 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
+ dh_auto_install --sourcedirectory=c
+ dh_auto_install --sourcedirectory=perl
View it on GitLab: https://salsa.debian.org/med-team/allelecount/-/compare/dd5a3a8607011c87b0db0543813c75d32d1e630b...9d13d8f17db49f754b389b94d8e3a7ec3cf70b80
--
View it on GitLab: https://salsa.debian.org/med-team/allelecount/-/compare/dd5a3a8607011c87b0db0543813c75d32d1e630b...9d13d8f17db49f754b389b94d8e3a7ec3cf70b80
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/20200511/ae9e518e/attachment-0001.html>
More information about the debian-med-commit
mailing list