[med-svn] [Git][med-team/python-pyvcf][master] 8 commits: Drop Python2 support
Andreas Tille
gitlab at salsa.debian.org
Sat Oct 5 15:36:19 BST 2019
Andreas Tille pushed to branch master at Debian Med / python-pyvcf
Commits:
e4037d8c by Andreas Tille at 2019-09-02T13:36:00Z
Drop Python2 support
- - - - -
fbaadb04 by Andreas Tille at 2019-09-02T13:36:23Z
debhelper-compat 12
- - - - -
167f9858 by Andreas Tille at 2019-09-02T13:36:28Z
Standards-Version: 4.4.0
- - - - -
b62b24a0 by Andreas Tille at 2019-09-02T13:36:29Z
Secure URI in copyright format
- - - - -
d5b3c6a9 by Andreas Tille at 2019-09-02T13:36:29Z
Remove trailing whitespace in debian/copyright
- - - - -
1675216f by Andreas Tille at 2019-09-02T14:04:05Z
Python2 package does not exist any more
- - - - -
fd554932 by Andreas Tille at 2019-09-02T14:05:30Z
Remove unused lintian-override
- - - - -
9ba01226 by Andreas Tille at 2019-09-02T15:04:37Z
Upload to unstable
- - - - -
6 changed files:
- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- − debian/python3-pyvcf.lintian-overrides
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+python-pyvcf (0.6.8+git20170215.476169c-2) unstable; urgency=medium
+
+ * Drop Python2 support
+ Closes: #938106
+ * debhelper-compat 12
+ * Standards-Version: 4.4.0
+ * Secure URI in copyright format
+ * Remove trailing whitespace in debian/copyright
+ * Remove unused lintian-override
+
+ -- Andreas Tille <tille at debian.org> Mon, 02 Sep 2019 17:03:56 +0200
+
python-pyvcf (0.6.8+git20170215.476169c-1) unstable; urgency=medium
* d/watch: use git mode
=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11
=====================================
debian/control
=====================================
@@ -4,41 +4,16 @@ 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,
- cython,
- python-dev,
- python-setuptools,
cython3,
python3-all-dev,
python3-setuptools
-Standards-Version: 4.1.5
+Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/med-team/python-pyvcf
Vcs-Git: https://salsa.debian.org/med-team/python-pyvcf.git
Homepage: https://pypi.python.org/pypi/PyVCF
-Package: python-pyvcf
-Architecture: any
-Depends: ${shlibs:Depends},
- ${misc:Depends},
- ${python:Depends}
-Description: Variant Call Format (VCF) parser for Python
- The Variant Call Format (VCF) specifies the format of a text file used
- in bioinformatics for storing gene sequence variations. The format has
- been developed with the advent of large-scale genotyping and DNA
- sequencing projects, such as the 1000 Genomes Project.
- .
- The intent of this module is to mimic the ``csv`` module in the Python
- stdlib, as opposed to more flexible serialization formats like JSON or
- YAML. ``vcf`` will attempt to parse the content of each record based on
- the data types specified in the meta-information lines -- specifically
- the ##INFO and
- ##FORMAT lines. If these lines are missing or incomplete, it will check
- against the reserved types mentioned in the spec. Failing that, it will
- just return strings.
- .
- This package provides the Python 2 modules.
-
Package: python3-pyvcf
Architecture: any
Depends: ${shlibs:Depends},
@@ -86,7 +61,7 @@ Description: helper scripts for Variant Call Format (VCF) parser
Package: python-pyvcf-examples
Architecture: all
Depends: ${misc:Depends}
-Suggests: python3-pyvcf | python-pyvcf
+Suggests: python3-pyvcf
Description: Example data for Variant Call Format (VCF) parser for Python
The Variant Call Format (VCF) specifies the format of a text file used
in bioinformatics for storing gene sequence variations. The format has
=====================================
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-Name: PyVCF
Upstream-Contact: James Casbon <casbon at gmail.com>
Source: https://pypi.python.org/pypi/PyVCF
@@ -16,15 +16,15 @@ License: BSD-3-clause
modification, are permitted provided that the following conditions are met:
.
1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
+ list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
- other materials provided with the distribution.
+ other materials provided with the distribution.
.
3. Neither the name of the Population Genetics Technologies Ltd nor the names of
its contributors may be used to endorse or promote products derived from this
- software without specific prior written permission.
+ software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
=====================================
debian/python3-pyvcf.lintian-overrides deleted
=====================================
@@ -1,4 +0,0 @@
-# parser.py is different for Python3 versions - so accept this
-python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/ usr/lib/python3/dist-packages/vcf/
-python3-pyvcf: python-module-in-wrong-location usr/lib/python3.7/dist-packages/vcf/parser.py usr/lib/python3/dist-packages/vcf/parser.py
-
=====================================
debian/rules
=====================================
@@ -11,22 +11,21 @@ examplesdir=debian/python-$(PYBUILD_NAME)-examples/usr/share/doc/python-$(PYBUIL
helperdir=debian/$(PYBUILD_NAME)/usr
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python3 --buildsystem=pybuild
override_dh_install:
dh_install
# move testdata to separate dir
mkdir -p $(examplesdir)
- mv `find debian/python-$(PYBUILD_NAME) -type d -name test | head -n 1` $(examplesdir)
+ mv `find debian/python3-$(PYBUILD_NAME) -type d -name test | head -n 1` $(examplesdir)
find debian/python3-$(PYBUILD_NAME) -type d -name test | xargs rm -rf
- find $(examplesdir) -name "*.pyc" -delete
+ find $(examplesdir) -name "__pycache__" | xargs rm -rf
mkdir -p $(helperdir)
mv debian/python3-$(PYBUILD_NAME)/usr/bin $(helperdir)
# strip .py extension
for py in $(helperdir)/bin/*.py ; do \
mv $${py} $(helperdir)/bin/`basename $${py} .py` ; \
done
- rm -rf debian/python-$(PYBUILD_NAME)/usr/bin
override_dh_python3:
dh_python3 --verbose
View it on GitLab: https://salsa.debian.org/med-team/python-pyvcf/compare/e3b10959392f24cc1bc7f18325c2d733cc93c832...9ba0122693c97f05a2b24cb5b341d7d959ee93a0
--
View it on GitLab: https://salsa.debian.org/med-team/python-pyvcf/compare/e3b10959392f24cc1bc7f18325c2d733cc93c832...9ba0122693c97f05a2b24cb5b341d7d959ee93a0
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/20191005/86e2f6a8/attachment-0001.html>
More information about the debian-med-commit
mailing list