[med-svn] [Git][med-team/bamclipper][master] 2 commits: Fix perl interpreter
Andreas Tille
gitlab at salsa.debian.org
Thu Mar 25 15:07:31 GMT 2021
Andreas Tille pushed to branch master at Debian Med / bamclipper
Commits:
3d2fef18 by Andreas Tille at 2021-03-25T14:39:31+01:00
Fix perl interpreter
- - - - -
1ea97a2e by Andreas Tille at 2021-03-25T16:07:04+01:00
Parallel is also packaged
- - - - -
2 changed files:
- debian/control
- debian/rules
Changes:
=====================================
debian/control
=====================================
@@ -14,7 +14,8 @@ Package: bamclipper
Architecture: all
Depends: ${perl:Depends},
${misc:Depends},
- samtools
+ samtools,
+ parallel
Description: Remove gene-specific primer sequences from SAM/BAM alignments
Remove gene-specific primer sequences from SAM/BAM alignments of PCR
amplicons by soft-clipping.
=====================================
debian/rules
=====================================
@@ -1,31 +1,12 @@
#!/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
+override_dh_install:
+ dh_install
+ for perlscript in `grep -lR '#!/usr/bin/env \+perl' debian/*/usr/*` ; do \
+ sed -i '1s+#!/usr/bin/env perl+#!/usr/bin/perl+' $${perlscript} ; \
+ done
View it on GitLab: https://salsa.debian.org/med-team/bamclipper/-/compare/b22fe50380310c6d01298a9fc2d312d47631e285...1ea97a2e1f960380e22d24ccaecb3431fe7aec2e
--
View it on GitLab: https://salsa.debian.org/med-team/bamclipper/-/compare/b22fe50380310c6d01298a9fc2d312d47631e285...1ea97a2e1f960380e22d24ccaecb3431fe7aec2e
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/20210325/b85bcc2f/attachment-0001.htm>
More information about the debian-med-commit
mailing list