[med-svn] [Git][med-team/genometools][master] Python3 conversion and housekeeping

Sascha Steinbiss gitlab at salsa.debian.org
Sun Sep 8 19:35:47 BST 2019



Sascha Steinbiss pushed to branch master at Debian Med / genometools


Commits:
73979d41 by Sascha Steinbiss at 2019-09-08T16:57:05Z
Python3 conversion and housekeeping

- - - - -


7 changed files:

- debian/changelog
- debian/compat
- debian/control
- debian/rules
- debian/source.lintian-overrides → debian/source/lintian-overrides
- debian/tests/control
- debian/tests/python-lib


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+genometools (1.5.10+ds-4) unstable; urgency=medium
+
+  * Build Python3 bindings package instead of Python2.
+  * Use debhelper 12.
+  * Bump Standards-Version.
+  * Update lintian override location and tags.
+
+ -- Sascha Steinbiss <satta at debian.org>  Sun, 08 Sep 2019 17:11:59 +0200
+
 genometools (1.5.10+ds-3) unstable; urgency=medium
 
   * debhelper 11


=====================================
debian/compat
=====================================
@@ -1 +1 @@
-11
+12


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Uploaders: Sascha Steinbiss <satta at debian.org>,
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper (>= 12),
                dh-python,
                liblua5.1-0-dev,
                lua-md5-dev,
@@ -23,7 +23,8 @@ Build-Depends: debhelper (>= 11~),
                texlive-fonts-extra,
                texlive-latex-recommended,
                texlive-fonts-recommended,
-               python,
+               python3-all,
+               python3-setuptools,
                asciidoc-base,
                libxml2-utils,
                xsltproc,
@@ -32,7 +33,7 @@ Build-Depends: debhelper (>= 11~),
                docbook-xml,
                faketime,
                imagemagick
-Standards-Version: 4.2.1
+Standards-Version: 4.4.0
 Vcs-Browser: https://salsa.debian.org/med-team/genometools
 Vcs-Git: https://salsa.debian.org/med-team/genometools.git
 Homepage: http://genometools.org
@@ -109,15 +110,15 @@ Description: documentation for GenomeTools
  annotation handling, sequence compression, index structure generation and
  access, annotation visualization, and much more.
 
-Package: python-genometools
+Package: python3-genometools
 Architecture: all
 Section: python
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${python:Depends},
+         ${python3:Depends},
          libgenometools0
-Description: Python bindings for genometools
- Partial Python2 bindings for the GenomeTools library. Besides basic
+Description: Python3 bindings for genometools
+ Partial Python3 bindings for the GenomeTools library. Besides basic
  bioinformatics data structures, the library contains components for sequence
  and annotation handling, sequence compression, index structure generation and
  access, efficient matching, annotation visualization and much more.


=====================================
debian/rules
=====================================
@@ -31,7 +31,7 @@ ifeq ($(shell faketime 'last friday' date > /dev/null 2> /dev/null; echo $$?),0)
 endif
 
 %:
-	dh $@ --with python2
+	dh $@ --with python3
 
 override_dh_auto_clean:
 	mkdir -p obj
@@ -66,5 +66,5 @@ endif
 override_dh_auto_install:
 	dh_auto_install -- installmanpages useshared=yes \
 	  x32=$(X32) 64bit=$(64BIT) errorcheck=no prefix=$(DESTDIR)/usr
-	dh_auto_install --sourcedirectory=gtpython \
-	  --destdir=$(CURDIR)/debian/python-genometools
+	dh_auto_install --sourcedirectory=gtpython --buildsystem=pybuild \
+	  --destdir=$(CURDIR)/debian/python3-genometools


=====================================
debian/source.lintian-overrides → debian/source/lintian-overrides
=====================================
@@ -1,2 +1,2 @@
 # Upstream does not provide signed tarballs.
-genometools source: debian-watch-may-check-gpg-signature
+genometools source: debian-watch-does-not-check-gpg-signature


=====================================
debian/tests/control
=====================================
@@ -2,4 +2,4 @@ Tests: build-lib
 Depends: libgenometools0-dev, libgenometools0, build-essential
 
 Tests: python-lib
-Depends: python-genometools, python
\ No newline at end of file
+Depends: python3-genometools, python3


=====================================
debian/tests/python-lib
=====================================
@@ -1,5 +1,5 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # autopkgtest check: Check whether gt can be imported
 # Author: Sascha Steinbiss <satta at debian.org>
 
-import gt
\ No newline at end of file
+import gt



View it on GitLab: https://salsa.debian.org/med-team/genometools/commit/73979d41eb0be6b8dd548e61a2804ea2ab16f4b9

-- 
View it on GitLab: https://salsa.debian.org/med-team/genometools/commit/73979d41eb0be6b8dd548e61a2804ea2ab16f4b9
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/20190908/ce36cd0c/attachment-0001.html>


More information about the debian-med-commit mailing list