[med-svn] [Git][med-team/python-pyfaidx][master] 5 commits: Drop Python2 support

Andreas Tille gitlab at salsa.debian.org
Mon Sep 2 13:44:15 BST 2019



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


Commits:
0bd5d49e by Andreas Tille at 2019-09-02T12:38:58Z
Drop Python2 support

- - - - -
bfb57168 by Andreas Tille at 2019-09-02T12:39:15Z
debhelper-compat 12

- - - - -
12299f9d by Andreas Tille at 2019-09-02T12:39:17Z
Standards-Version: 4.4.0

- - - - -
86b7fa37 by Andreas Tille at 2019-09-02T12:39:40Z
Respect DEB_BUILD_OPTIONS in override_dh_auto_test target

- - - - -
8d6959e6 by Andreas Tille at 2019-09-02T12:41:07Z
Upload to unstable

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+python-pyfaidx (0.5.5.2-2) unstable; urgency=medium
+
+  * Drop Python2 support
+    Closes: #938064
+  * debhelper-compat 12
+  * Standards-Version: 4.4.0
+  * Respect DEB_BUILD_OPTIONS in override_dh_auto_test target
+
+ -- Andreas Tille <tille at debian.org>  Mon, 02 Sep 2019 14:39:41 +0200
+
 python-pyfaidx (0.5.5.2-1) unstable; urgency=medium
 
   * New upstream version


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


=====================================
debian/control
=====================================
@@ -4,15 +4,8 @@ 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-coverage,
-               python-setuptools,
-               python-nose,
-               python-numpy,
-               python-six,
-               python-mock,
                python3-all,
                python3-coverage,
                python3-setuptools,
@@ -20,28 +13,11 @@ Build-Depends: debhelper (>= 11~),
                python3-numpy,
                python3-six,
                python3-mock
-Standards-Version: 4.2.1
+Standards-Version: 4.4.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-pyfaidx
 Vcs-Git: https://salsa.debian.org/med-team/python-pyfaidx.git
 Homepage: https://github.com/mdshw5/pyfaidx
 
-Package: python-pyfaidx
-Architecture: all
-Depends: ${misc:Depends},
-         ${python:Depends}
-Description: efficient random access to fasta subsequences for Python
- Samtools provides a function "faidx" (FAsta InDeX), which creates a
- small flat index file ".fai" allowing for fast random access to any
- subsequence in the indexed FASTA file, while loading a minimal amount of
- the file in to memory. This Python module implements pure Python classes
- for indexing, retrieval, and in-place modification of FASTA files using
- a samtools compatible index. The pyfaidx module is API compatible with
- the pygr seqdb module. A command-line script "faidx" is installed
- alongside the pyfaidx module, and facilitates complex manipulation of
- FASTA files without any programming knowledge.
- .
- This package provides the Python 2 modules to access fasta files.
-
 Package: python3-pyfaidx
 Architecture: all
 Depends: ${misc:Depends},
@@ -62,7 +38,7 @@ Description: efficient random access to fasta subsequences for Python 3
 Package: python-pyfaidx-examples
 Architecture: all
 Depends: ${misc:Depends}
-Suggests: python3-pyfaidx | python-pyfaidx
+Suggests: python3-pyfaidx
 Description: example data for efficient random access to fasta subsequences for Python
  Samtools provides a function "faidx" (FAsta InDeX), which creates a
  small flat index file ".fai" allowing for fast random access to any


=====================================
debian/rules
=====================================
@@ -7,16 +7,13 @@
 export PYBUILD_NAME=pyfaidx
 
 %:
-	LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_install:
-	dh_install
-	# remove duplilcated wrapper script from Python2 package
-	rm -rf debian/python-$(PYBUILD_NAME)/usr/bin
+	LC_ALL=C.UTF-8 dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	dh_auto_test -- --test --system=custom --test-args='set -e; \
 				{interpreter} -m "nose" --with-coverage --cover-package=pyfaidx'
+endif
 
 override_dh_compress:
 	dh_compress --exclude=gz.tbi



View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/compare/79c0ed066726719ca6beb32b4e732f0ad4325271...8d6959e675b088c32f67eac0bfb79e4f7d8764f1

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/compare/79c0ed066726719ca6beb32b4e732f0ad4325271...8d6959e675b088c32f67eac0bfb79e4f7d8764f1
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/20190902/8ba1b032/attachment-0001.html>


More information about the debian-med-commit mailing list