[med-svn] [Git][med-team/python-dendropy][master] 6 commits: Drop Python2 support

Andreas Tille gitlab at salsa.debian.org
Tue Oct 8 08:11:30 BST 2019



Andreas Tille pushed to branch master at Debian Med / python-dendropy


Commits:
3435db52 by Andreas Tille at 2019-10-08T07:04:21Z
Drop Python2 support

- - - - -
2cab606a by Andreas Tille at 2019-10-08T07:05:10Z
debhelper-compat 12

- - - - -
e365eea5 by Andreas Tille at 2019-10-08T07:05:20Z
Standards-Version: 4.4.1

- - - - -
2de08e84 by Andreas Tille at 2019-10-08T07:05:20Z
Secure URI in copyright format

- - - - -
c8bc1e30 by Andreas Tille at 2019-10-08T07:06:13Z
Respect DEB_BUILD_OPTIONS in override_dh_auto_test target

- - - - -
802d879c by Andreas Tille at 2019-10-08T07:06:17Z
Use secure URI in Homepage field.

Fixes lintian: homepage-field-uses-insecure-uri
See https://lintian.debian.org/tags/homepage-field-uses-insecure-uri.html for more details.

- - - - -


5 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+python-dendropy (4.4.0-2) UNRELEASED; urgency=medium
+
+  * Drop Python2 support
+    targeting bug #937698
+  * debhelper-compat 12
+  * Standards-Version: 4.4.1
+  * Secure URI in copyright format
+  * Respect DEB_BUILD_OPTIONS in override_dh_auto_test target
+  * Use secure URI in Homepage field.
+
+ -- Andreas Tille <tille at debian.org>  Tue, 08 Oct 2019 09:01:44 +0200
+
 python-dendropy (4.4.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11


=====================================
debian/control
=====================================
@@ -4,36 +4,14 @@ Uploaders: Andreas Tille <tille at debian.org>
 Section: python
 Testsuite: autopkgtest-pkg-python
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
                dh-python,
-               python-all,
-               python-setuptools,
                python3-all,
                python3-setuptools
-Standards-Version: 4.1.4
+Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/med-team/python-dendropy
 Vcs-Git: https://salsa.debian.org/med-team/python-dendropy.git
-Homepage: http://dendropy.org/
-
-Package: python-dendropy
-Architecture: all
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${python:Depends}
-Description: DendroPy Phylogenetic Computing Library (Python 2)
- DendroPy is a Python library for phylogenetic computing. It provides
- classes and functions for the simulation, processing, and manipulation
- of phylogenetic trees and character matrices, and supports the reading
- and writing of phylogenetic data in a range of formats, such as NEXUS,
- NEWICK, NeXML, Phylip, FASTA, etc. Application scripts for performing
- some useful phylogenetic operations, such as data conversion and tree
- posterior distribution summarization, are also distributed and installed
- as part of the library. DendroPy can thus function as a stand-alone
- library for phylogenetics, a component of more complex multi-library
- phyloinformatic pipelines, or as a scripting “glue” that assembles and
- drives such pipelines.
- .
- This package provides python2 modules.
+Homepage: https://dendropy.org/
 
 Package: python3-dendropy
 Architecture: all


=====================================
debian/copyright
=====================================
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Contact: Jeet Sukumaran <jeetsukumaran at gmail.com>
 Upstream-Name: DendroPy
 Source: https://pypi.python.org/pypi/DendroPy


=====================================
debian/rules
=====================================
@@ -7,18 +7,19 @@ SUMTREES:=sumtrees
 export PYBUILD_NAME=dendropy
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	LC_ALL=en_US.utf-8 dh_auto_test || true
+	# FIXME
 	# need to add true since for Python 3.4 5 tests are failing due some
 	# strange encoding problem.  upstream is unable to verify this and
 	# there is no better idea for the moment
+endif
 
 override_dh_install:
 	dh_install
-	## FIXME: This needs to be clarified with python modules team
 	mkdir -p debian/$(SUMTREES)/usr/bin
 	mv debian/python3-$(PYBUILD_NAME)/usr/bin/sumtrees.py debian/$(SUMTREES)/usr/bin/sumtrees
-	rm -rf debian/python-$(PYBUILD_NAME)/usr/bin
 	rm -rf debian/python3-$(PYBUILD_NAME)/usr/bin



View it on GitLab: https://salsa.debian.org/med-team/python-dendropy/compare/aa25f419d0c544f6db4563e0344b204528b276bc...802d879c89b0c71f1d77df86d85e732485d63a4d

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-dendropy/compare/aa25f419d0c544f6db4563e0344b204528b276bc...802d879c89b0c71f1d77df86d85e732485d63a4d
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/20191008/70021cbb/attachment-0001.html>


More information about the debian-med-commit mailing list