[Python-modules-commits] [pep8] 03/03: Team upload.
Barry Warsaw
barry at moszumanska.debian.org
Mon Mar 14 15:48:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository pep8.
commit eb18fea213adbc6f0210e44d8d6d2ca61aeaa306
Author: Barry Warsaw <barry at python.org>
Date: Mon Mar 14 11:47:18 2016 -0400
Team upload.
* Team upload.
* d/control: Bump Standards-Version with no other changes necessary.
* d/watch: Use pypi.debian.net redirector.
* d/tests: Added simple DEP-8 tests.
---
debian/changelog | 9 +++++++++
debian/control | 2 +-
debian/tests/control | 9 +++++++++
debian/tests/smoketest-2.sh | 7 +++++++
debian/tests/smoketest-3.sh | 8 ++++++++
debian/watch | 5 ++---
6 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 778427e..ee81407 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+pep8 (1.7.0-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * d/control: Bump Standards-Version with no other changes necessary.
+ * d/watch: Use pypi.debian.net redirector.
+ * d/tests: Added simple DEP-8 tests.
+
+ -- Barry Warsaw <barry at debian.org> Mon, 14 Mar 2016 11:27:34 -0400
+
pep8 (1.7.0-1) unstable; urgency=medium
* Team upload
diff --git a/debian/control b/debian/control
index 5e8f91e..38bcaaa 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 7),
python-setuptools,
python3-setuptools,
python-nose
-Standards-Version: 3.9.5
+Standards-Version: 3.9.7
Homepage: http://pypi.python.org/pypi/pep8
Vcs-Git: git://anonscm.debian.org/python-modules/packages/pep8.git
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pep8.git
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..398ffcf
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,9 @@
+Test-Command: python -c "import pep8; print pep8.__version__"
+
+Test-Command: python3 -c "import pep8; print(pep8.__version__)"
+
+Tests: smoketest-2.sh
+Depends: python-pep8
+
+Tests: smoketest-3.sh
+Depends: pep8, python3-pep8
diff --git a/debian/tests/smoketest-2.sh b/debian/tests/smoketest-2.sh
new file mode 100644
index 0000000..4f86914
--- /dev/null
+++ b/debian/tests/smoketest-2.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+cat > $ADTTMP/E40.py <<EOF
+import os, sys
+EOF
+
+python -m pep8 $ADTTMP/E40.py | grep E401
diff --git a/debian/tests/smoketest-3.sh b/debian/tests/smoketest-3.sh
new file mode 100644
index 0000000..1d92880
--- /dev/null
+++ b/debian/tests/smoketest-3.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cat > $ADTTMP/E40.py <<EOF
+import os, sys
+EOF
+
+python3 -m pep8 $ADTTMP/E40.py | grep E401
+pep8 $ADTTMP/E40.py | grep E401
diff --git a/debian/watch b/debian/watch
index e0c2fc1..7880638 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
version=3
-
-# Current version from Python cheeseshop.
-http://pypi.python.org/packages/source/p/pep8/pep8-(.+).tar.gz
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/pep8/pep8-(.+)\.(?: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/pep8.git
More information about the Python-modules-commits
mailing list