[Python-modules-commits] [more-itertools] 01/04: Address lintian errors

Ethan Ward ethanward-guest at moszumanska.debian.org
Mon Jul 31 17:56:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

ethanward-guest pushed a commit to branch master
in repository more-itertools.

commit c6574cb25e8fac2978f7b923385a0765c8dc84c2
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Fri Jul 28 10:19:15 2017 -0500

    Address lintian errors
---
 debian/changelog     |  2 +-
 debian/control       | 30 +++++++++++++++++-------------
 debian/tests/control |  6 ++++++
 debian/watch         |  3 ++-
 4 files changed, 26 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 29cc01e..13ede0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ more-itertools (3.2.0-1) UNRELEASED; urgency=medium
 
   * Initial Debian packaging (closes: #869213)
 
- -- Mycroft Devs <devops at mycroft.ai>  Mon, 17 Jul 2017 10:06:08 +0000
+ -- Ethan Ward <ethan.ward at mycroft.ai>  Mon, 17 Jul 2017 10:06:08 +0000
diff --git a/debian/control b/debian/control
index 5b77477..fe8b8ab 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: more-itertools
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Mycroft Devs <devops at mycroft.ai>
+Uploaders: Ethan Ward <ethan.ward at mycroft.ai>
 Build-Depends: debhelper (>= 10),
                dh-python,
                python-all,
@@ -18,6 +18,8 @@ Build-Depends: debhelper (>= 10),
                python3-six (>= 1.0.0),
                python3-vcversioner
 Standards-Version: 4.0.0
+Homepage: https://pypi.python.org/pypi/more-itertools/
+Testsuite: autopkgtest
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/more-itertools.git
 Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/more-itertools.git
 
@@ -25,19 +27,21 @@ Package: python-more-itertools
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
 XB-Python-Version: ${python:Versions}
-Description: More routines for operating on iterables, beyond itertools.
- This package contains the module for Python 2.x. Python's itertools
- library is a gem - you can compose elegant solutions for a variety of
- problems with the functions it provides. In more-itertools, we collect
- additional building blocks, recipes, and reoutines for working with
- Python iterables.
+Description: More routines for operating on iterables, beyond itertools. (Python 2)
+ Python's itertools library is a gem - you can compose elegant solutions
+ for a variety of problems with the functions it provides.
+ In more-itertools, we collect additional building blocks, recipes,
+ and routines for working with Python iterables.
+ .
+ This package contains the module for Python 2.
 
 Package: python3-more-itertools
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
-Description: More routines for operating on iterables, beyond itertools.
- This package contains the module for Python 2.x. Python's itertools
- library is a gem - you can compose elegant solutions for a variety of
- problems with the functions it provides. In more-itertools, we collect
- additional building blocks, recipes, and reoutines for working with
- Python iterables.
+Description: More routines for operating on iterables, beyond itertools. (Python 3)
+ Python's itertools library is a gem - you can compose elegant solutions
+ for a variety of problems with the functions it provides.
+ In more-itertools, we collect additional building blocks, recipes,
+ and routines for working with Python iterables.
+ .
+ This package contains the module for Python 3.
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..523a246
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import more_itertools; print more_itertools" ; done
+Depends: python-all, python-more-itertools
+
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import more_itertools; print(more_itertools)" ; done
+Depends: python3-all, python3-more-itertools
+
diff --git a/debian/watch b/debian/watch
index 833b08f..71c8fab 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
-https://pypi.python.org/packages/source/m/more-itertools/more-itertools-(.*).tar.gz
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/more-itertools/more-itertools-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/more-itertools.git



More information about the Python-modules-commits mailing list