[med-svn] [Git][med-team/python-pairix][master] 4 commits: Fix missing copyright statements
Andreas Tille
gitlab at salsa.debian.org
Mon Nov 2 21:29:04 GMT 2020
Andreas Tille pushed to branch master at Debian Med / python-pairix
Commits:
aa926c7c by Andreas Tille at 2020-11-02T21:20:46+01:00
Fix missing copyright statements
- - - - -
b897e47c by Andreas Tille at 2020-11-02T21:21:30+01:00
Fix binary package name of examples according to ftpmaster advise
- - - - -
0ab67b2d by Andreas Tille at 2020-11-02T21:47:26+01:00
Fix installation
- - - - -
727c61fa by Andreas Tille at 2020-11-02T22:23:45+01:00
Its to hard to preserve all the gz compressed versus non-gz compressed files and restore these after dh_compress has done its job. Thus create a tar archive and unpack it later
- - - - -
6 changed files:
- debian/control
- debian/copyright
- + debian/python-pairix-examples.install
- − debian/python3-pairix-examples.install
- debian/rules
- debian/tests/run-unit-test
Changes:
=====================================
debian/control
=====================================
@@ -38,7 +38,7 @@ Description: 1D/2D indexing and querying with a pair of genomic coordinates
uses it to access the file from a relevant position by taking advantage
of bgzf compression, allowing for a fast query on large files.
-Package: python3-pairix-examples
+Package: python-pairix-examples
Architecture: all
Depends: ${misc:Depends}
Enhances: python3-pairix
=====================================
debian/copyright
=====================================
@@ -7,11 +7,18 @@ Copyright: 2016 Soo Lee
2008-2009 Genome Research Ltd (GRL)
License: MIT
-Files: src/bgzf.c
+Files: src/bgzf.*
+ src/bgzip.c
+ src/knetfile.c
+ src/ksort.h
Copyright: 2008 Broad Institute / Massachusetts Institute of Technology
2011 Attractive Chaos <attractor at live.co.uk>
License: MIT
+Files: src/pairixmodule.c
+Copyright: 2011 Seoul National University
+License: MIT
+
Files: src/pairix.h
Copyright: 2009 Genome Research Ltd (GRL), 2010 Broad Institute
License: MIT
=====================================
debian/python-pairix-examples.install
=====================================
@@ -0,0 +1,3 @@
+test usr/share/doc/python3-pairix/examples
+samples.tar.xz usr/share/doc/python3-pairix/examples
+VERSION.txt usr/share/doc/python3-pairix/examples
=====================================
debian/python3-pairix-examples.install deleted
=====================================
@@ -1 +0,0 @@
-test usr/share/doc/python3-pairix/examples
=====================================
debian/rules
=====================================
@@ -9,10 +9,8 @@ export PYBUILD_BEFORE_TEST=cp -a $(CURDIR)/samples {build_dir}; cp -a $(CURDIR)/
%:
dh $@ --with python3 --buildsystem=pybuild
-override_dh_installexamples:
- dh_installexamples
- mkdir -p debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
- mv debian/python3-$(PYBUILD_NAME)/usr/lib/python`py3versions -d -v`/dist-packages/samples debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
- cd debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples && tar caf samples.tar.xz samples && rm -rf samples
- mv debian/python3-$(PYBUILD_NAME)/usr/lib/python`py3versions -d -v`/dist-packages/VERSION.txt debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)/examples
- find debian -name VERSION.txt -delete
+override_dh_install:
+ tar caf samples.tar.xz samples
+ dh_install
+ find debian/python3-$(PYBUILD_NAME)/usr/lib -name samples -type d | xargs rm -rf
+ find debian/*/usr/lib -name VERSION.txt -delete
=====================================
debian/tests/run-unit-test
=====================================
@@ -6,7 +6,7 @@ pkg=python3-pairix
export LC_ALL=C.UTF-8
if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
- trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+# trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
fi
cp -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
View it on GitLab: https://salsa.debian.org/med-team/python-pairix/-/compare/ee0a6d59642417f26d7a95aaba45781b9287da2d...727c61fab22830f3d665c286b1e9220b02b1f39c
--
View it on GitLab: https://salsa.debian.org/med-team/python-pairix/-/compare/ee0a6d59642417f26d7a95aaba45781b9287da2d...727c61fab22830f3d665c286b1e9220b02b1f39c
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/20201102/499b13b7/attachment-0001.html>
More information about the debian-med-commit
mailing list