[Python-apps-commits] r13029 - in packages/prospector/trunk/debian (5 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Wed Mar 23 08:41:24 UTC 2016


    Date: Wednesday, March 23, 2016 @ 08:41:21
  Author: danstender-guest
Revision: 13029

build/run on Python3

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

Modified: packages/prospector/trunk/debian/changelog
===================================================================
--- packages/prospector/trunk/debian/changelog	2016-03-22 19:20:20 UTC (rev 13028)
+++ packages/prospector/trunk/debian/changelog	2016-03-23 08:41:21 UTC (rev 13029)
@@ -1,3 +1,13 @@
+prospector (0.11.7-4) UNRELEASED; urgency=medium
+
+  * Build/run on Python 3:
+    + changed deps in deb/control (and sorted logically).
+    + build with dh_python3, install with python3 in deb/rules.
+    + updated deps in deb/tests/control.
+    + test against python3 in deb/tests/prospector.
+
+ -- Daniel Stender <stender at debian.org>  Wed, 23 Mar 2016 09:22:04 +0100
+
 prospector (0.11.7-3) unstable; urgency=medium
 
   * deb/tests/control: updated pep8 dependency.

Modified: packages/prospector/trunk/debian/control
===================================================================
--- packages/prospector/trunk/debian/control	2016-03-22 19:20:20 UTC (rev 13028)
+++ packages/prospector/trunk/debian/control	2016-03-23 08:41:21 UTC (rev 13029)
@@ -7,27 +7,27 @@
 Build-Depends:
  debhelper (>= 9),
  dh-python,
- python (>= 2.7),
- python-setuptools,
- python-sphinx,
- python-sphinx-argparse,
+ python3,
+ python3-setuptools,
+ python3-nose,
+ python3-yaml,
+ python3-requirements-detector (>= 0.4.1),
+ python3-setoptconf,
+ python3-pyflakes (>= 0.8.1),
+ pylint3 (>= 1.5),
+ python3-pylint-common (>= 0.2.2),
+ python3-pylint-celery,
+ python3-pylint-django (>= 0.7),
+ python3-pylint-flask,
+ python3-pep8,
+ python3-pep8-naming,
+ pep257 (>= 0.7.0-2),
+ python3-mccabe,
+ dodgy (>= 0.1.9-1),
+ python3-sphinx,
+ python3-sphinx-argparse,
  pandoc,
- txt2man,
- python-nose,
- python-yaml,
- python-requirements-detector (>= 0.4.1),
- python-setoptconf,
- pyflakes (>= 0.8.1),
- pylint (>= 1.5),
- python-pylint-common (>= 0.2.2),
- python-pylint-celery,
- python-pylint-django (>= 0.7),
- python-pylint-flask,
- python-pep8,
- python-pep8-naming,
- pep257,
- python-mccabe,
- dodgy
+ txt2man
 Standards-Version: 3.9.7
 Homepage: http://prospector.readthedocs.org/en/master/
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/prospector/trunk/
@@ -37,11 +37,11 @@
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
  ${sphinxdoc:Depends}
 Recommends:
- python-pyroma,
- vulture
+ python3-pyroma,
+ vulture (>= 0.8.1-2)
 Description: comprehensive static Python code analyzer
  Prospector analyzes Python source files and puts out information about
  coding errors, potential problems, convention violation and unnecessary

Modified: packages/prospector/trunk/debian/rules
===================================================================
--- packages/prospector/trunk/debian/rules	2016-03-22 19:20:20 UTC (rev 13028)
+++ packages/prospector/trunk/debian/rules	2016-03-23 08:41:21 UTC (rev 13029)
@@ -8,7 +8,7 @@
 DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +%F -f -)
 
 %:
-	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 
@@ -16,7 +16,7 @@
 	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m nose -v tests/" dh_auto_test
 
 override_dh_auto_install:
-	python setup.py install --root=debian/prospector --install-layout=deb --install-lib=/usr/share/prospector --install-scripts=/usr/share/prospector
+	python3 setup.py install --root=debian/prospector --install-layout=deb --install-lib=/usr/share/prospector --install-scripts=/usr/share/prospector
 
 override_dh_installdocs:
 	pandoc -f rst -t plain -o .pybuild/README README.rst

Modified: packages/prospector/trunk/debian/tests/control
===================================================================
--- packages/prospector/trunk/debian/tests/control	2016-03-22 19:20:20 UTC (rev 13028)
+++ packages/prospector/trunk/debian/tests/control	2016-03-23 08:41:21 UTC (rev 13029)
@@ -1,2 +1,2 @@
 Tests: prospector
-Depends: python, python-nose, python-yaml, dodgy, python-pep8, python-pep8-naming, pyflakes, pylint, python-mccabe, pep257
+Depends: python3, python3-nose, python3-yaml, dodgy, python3-pep8, python3-pep8-naming, python3-pyflakes, pylint3, python3-mccabe, pep257

Modified: packages/prospector/trunk/debian/tests/prospector
===================================================================
--- packages/prospector/trunk/debian/tests/prospector	2016-03-22 19:20:20 UTC (rev 13028)
+++ packages/prospector/trunk/debian/tests/prospector	2016-03-23 08:41:21 UTC (rev 13029)
@@ -1,2 +1,2 @@
 #!/bin/sh -e
-python -m nose -v tests/ 2>&1
+python3 -m nose -v tests/ 2>&1




More information about the Python-apps-commits mailing list