[pybtex] 65/108: set up DEP-8 testing, dropped Section of binary package (not needed)

Daniel Stender stender at moszumanska.debian.org
Fri Jul 21 10:18:30 UTC 2017


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

stender pushed a commit to branch master
in repository pybtex.

commit 5b564e4d9df3633623547bdf9c3892c200fe54c5
Author: Daniel Stender <stender at debian.org>
Date:   Sat Sep 6 10:59:44 2014 +0000

    set up DEP-8 testing, dropped Section of binary package (not needed)
---
 debian/changelog     | 4 ++--
 debian/control       | 2 +-
 debian/tests/control | 2 ++
 debian/tests/pybtex  | 3 +++
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6b41748..8b26868 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
 pybtex (0.18-2) UNRELEASED; urgency=medium
 
-  * Added Section to binary package.
+  * Set up DEP-8 testing.
 
- -- Daniel Stender <debian at danielstender.com>  Tue, 02 Sep 2014 10:38:46 +0200
+ -- Daniel Stender <debian at danielstender.com>  Sat, 06 Sep 2014 12:59:18 +0200
 
 pybtex (0.18-1) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index d5c3885..63e072f 100644
--- a/debian/control
+++ b/debian/control
@@ -19,9 +19,9 @@ Standards-Version: 3.9.5
 Homepage: http://pybtex.sourceforge.net/
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pybtex/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/pybtex/trunk/
+XS-Testsuite: autopkgtest
 
 Package: pybtex
-Section: tex
 Architecture: all
 Depends:
  python-pkg-resources,
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6cb6fbb
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: pybtex
+Depends: pybtex, python-all, python-nose
diff --git a/debian/tests/pybtex b/debian/tests/pybtex
new file mode 100644
index 0000000..8ddf5c6
--- /dev/null
+++ b/debian/tests/pybtex
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e -u
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} /usr/bin/nosetests --verbose pybtex.tests 2>&1
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git



More information about the debian-science-commits mailing list