[med-svn] [Git][med-team/mapdamage][master] 8 commits: debhelper-compat 12
Andreas Tille
gitlab at salsa.debian.org
Tue Sep 3 17:21:16 BST 2019
Andreas Tille pushed to branch master at Debian Med / mapdamage
Commits:
a2d03188 by Andreas Tille at 2019-09-03T09:10:37Z
debhelper-compat 12
- - - - -
46fb003f by Andreas Tille at 2019-09-03T09:10:45Z
Standards-Version: 4.4.0
- - - - -
735f30ac by Andreas Tille at 2019-09-03T09:10:45Z
Trim trailing whitespace.
Fixes lintian: file-contains-trailing-whitespace
See https://lintian.debian.org/tags/file-contains-trailing-whitespace.html for more details.
- - - - -
9664b3ee by Andreas Tille at 2019-09-03T09:18:23Z
buildsystem=pybuild
- - - - -
b252da3e by Andreas Tille at 2019-09-03T09:22:10Z
Another Python3 fix
- - - - -
26fc3cff by Andreas Tille at 2019-09-03T09:24:20Z
python3-pysam <!nocheck>
- - - - -
00efffd2 by Andreas Tille at 2019-09-03T15:55:14Z
python3:Depends
- - - - -
2aa3d4df by Andreas Tille at 2019-09-03T16:06:51Z
override_dh_python3
- - - - -
5 changed files:
- debian/changelog
- − debian/compat
- debian/control
- debian/patches/2to3.patch
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -2,6 +2,11 @@ mapdamage (2.0.9+dfsg-2) UNRELEASED; urgency=medium
* Use 2to3 to port to Python3
Closes: #936989
+ * debhelper-compat 12
+ * Standards-Version: 4.4.0
+ * Trim trailing whitespace.
+ * buildsystem=pybuild
+ * python3-pysam <!nocheck>
-- Andreas Tille <tille at debian.org> Tue, 03 Sep 2019 11:02:34 +0200
=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11
=====================================
debian/control
=====================================
@@ -3,18 +3,19 @@ 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 (>= 11~),
+Build-Depends: debhelper-compat (= 12),
python3-all,
dh-python,
- python3-setuptools
-Standards-Version: 4.2.1
+ python3-setuptools,
+ python3-pysam <!nocheck>
+Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/med-team/mapdamage
Vcs-Git: https://salsa.debian.org/med-team/mapdamage.git
Homepage: https://ginolhac.github.io/mapDamage/
Package: mapdamage
Architecture: all
-Depends: ${python:Depends},
+Depends: ${python3:Depends},
${misc:Depends},
r-base-core,
r-cran-gam,
=====================================
debian/patches/2to3.patch
=====================================
@@ -310,12 +310,18 @@ Last-Update: Tue, 03 Sep 2019 11:02:34 +0200
# No missing libraries
--- a/mapdamage/seq.py
+++ b/mapdamage/seq.py
-@@ -1,4 +1,4 @@
+@@ -1,9 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import sys
import string
+ # from Martin Kircher, to complement DNA
+-TABLE = string.maketrans('TGCAMRWSYKVHDBtgcamrwsykvhdb', \
++TABLE = str.maketrans('TGCAMRWSYKVHDBtgcamrwsykvhdb', \
+ 'ACGTKYWSRMBDHVacgtkywsrmbdhv')
+
+ LETTERS = ("A", "C", "G", "T")
--- a/mapdamage/tables.py
+++ b/mapdamage/tables.py
@@ -1,4 +1,4 @@
=====================================
debian/rules
=====================================
@@ -6,7 +6,7 @@ include /usr/share/dpkg/default.mk
TESTDIR := debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/tests
%:
- dh $@ --with python3
+ dh $@ --with python3 --buildsystem=pybuild
override_dh_fixperms:
dh_fixperms
@@ -18,3 +18,5 @@ override_dh_install:
mv `find debian -name rescale_test.py` $(TESTDIR)
sed -i 's/^import rescale/from mapdamage &/' $(TESTDIR)/rescale_test.py
+override_dh_python3:
+ dh_python3 --no-ext-rename
View it on GitLab: https://salsa.debian.org/med-team/mapdamage/compare/874e9f7ec42dc1c01527cfc53fc44b00fcbbd938...2aa3d4df4c0dfa23f6dca110af1999f2b91c0e07
--
View it on GitLab: https://salsa.debian.org/med-team/mapdamage/compare/874e9f7ec42dc1c01527cfc53fc44b00fcbbd938...2aa3d4df4c0dfa23f6dca110af1999f2b91c0e07
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/20190903/139ad381/attachment-0001.html>
More information about the debian-med-commit
mailing list