[Python-apps-commits] r13015 - in packages/dodgy/trunk/debian (5 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Tue Mar 22 13:49:26 UTC 2016


    Date: Tuesday, March 22, 2016 @ 13:49:25
  Author: danstender-guest
Revision: 13015

build/run on Python 3

Modified:
  packages/dodgy/trunk/debian/changelog
  packages/dodgy/trunk/debian/control
  packages/dodgy/trunk/debian/rules
  packages/dodgy/trunk/debian/tests/control
  packages/dodgy/trunk/debian/tests/dodgy

Modified: packages/dodgy/trunk/debian/changelog
===================================================================
--- packages/dodgy/trunk/debian/changelog	2016-03-22 13:42:36 UTC (rev 13014)
+++ packages/dodgy/trunk/debian/changelog	2016-03-22 13:49:25 UTC (rev 13015)
@@ -9,8 +9,13 @@
     + use HTTPS for Vcs-Browser.
     + removed Testsuite field (deprecated).
   * deb/copyright: updated.
+  * Build/run on Python 3:
+    + changed deps and X-Python-Version in deb/control.
+    + build with dh_python3 in deb/rules.
+    + changed deps in deb/tests/control.
+    + iterate over py3versions in deb/tests/dodgy.
 
- -- Daniel Stender <stender at debian.org>  Tue, 22 Mar 2016 14:41:53 +0100
+ -- Daniel Stender <stender at debian.org>  Tue, 22 Mar 2016 14:47:23 +0100
 
 dodgy (0.1.7-1) unstable; urgency=medium
 

Modified: packages/dodgy/trunk/debian/control
===================================================================
--- packages/dodgy/trunk/debian/control	2016-03-22 13:42:36 UTC (rev 13014)
+++ packages/dodgy/trunk/debian/control	2016-03-22 13:49:25 UTC (rev 13015)
@@ -6,22 +6,22 @@
 Build-Depends:
  debhelper (>= 9),
  dh-python,
- python,
- python-nose,
- python-setuptools,
+ python3,
+ python3-nose,
+ python3-setuptools,
  txt2man,
  pandoc
 Standards-Version: 3.9.7
 Homepage: https://github.com/landscapeio/dodgy
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/dodgy/trunk/
 Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/dodgy/trunk/
-X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
 
 Package: dodgy
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends}
+ ${python3:Depends}
 Description: searches for dodgy looking lines in Python code 
  Dodgy is a very basic tool to run against your codebase to search for "dodgy"
  looking values. It is a series of simple regular expressions designed to detect

Modified: packages/dodgy/trunk/debian/rules
===================================================================
--- packages/dodgy/trunk/debian/rules	2016-03-22 13:42:36 UTC (rev 13014)
+++ packages/dodgy/trunk/debian/rules	2016-03-22 13:49:25 UTC (rev 13015)
@@ -7,7 +7,7 @@
 DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m nose -v" dh_auto_test

Modified: packages/dodgy/trunk/debian/tests/control
===================================================================
--- packages/dodgy/trunk/debian/tests/control	2016-03-22 13:42:36 UTC (rev 13014)
+++ packages/dodgy/trunk/debian/tests/control	2016-03-22 13:49:25 UTC (rev 13015)
@@ -1,2 +1,2 @@
 Tests: dodgy
-Depends: python-all, python-nose
\ No newline at end of file
+Depends: python3-all, python3-nose

Modified: packages/dodgy/trunk/debian/tests/dodgy
===================================================================
--- packages/dodgy/trunk/debian/tests/dodgy	2016-03-22 13:42:36 UTC (rev 13014)
+++ packages/dodgy/trunk/debian/tests/dodgy	2016-03-22 13:49:25 UTC (rev 13015)
@@ -1,2 +1,2 @@
 #!/bin/sh -e
-pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m nose --verbose 2>&1
\ No newline at end of file
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m nose --verbose 2>&1




More information about the Python-apps-commits mailing list