[Python-apps-commits] r13025 - in packages/pep257/trunk/debian (4 files)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Tue Mar 22 18:41:20 UTC 2016
Date: Tuesday, March 22, 2016 @ 18:41:18
Author: danstender-guest
Revision: 13025
build/run on Python 3
Modified:
packages/pep257/trunk/debian/changelog
packages/pep257/trunk/debian/control
packages/pep257/trunk/debian/rules
Deleted:
packages/pep257/trunk/debian/tests/
Modified: packages/pep257/trunk/debian/changelog
===================================================================
--- packages/pep257/trunk/debian/changelog 2016-03-22 18:12:06 UTC (rev 13024)
+++ packages/pep257/trunk/debian/changelog 2016-03-22 18:41:18 UTC (rev 13025)
@@ -7,8 +7,14 @@
+ use HTTPS for Vcs-Browser.
+ dropped Testsuite field (deprecated).
* deb/copyright: updated.
+ * Build/run on Python 3:
+ + changed deps in deb/control, dropped X-Python-Version.
+ + build with dh_python3 in deb/rules.
+ + tests not running with Python 3, therefore, dropped build-deps
+ on Mock and Py.test in deb/control, disabled tests in deb/rules,
+ and removed DEP-8 tests.
- -- Daniel Stender <stender at debian.org> Tue, 22 Mar 2016 19:11:47 +0100
+ -- Daniel Stender <stender at debian.org> Tue, 22 Mar 2016 19:36:43 +0100
pep257 (0.7.0-1) unstable; urgency=medium
Modified: packages/pep257/trunk/debian/control
===================================================================
--- packages/pep257/trunk/debian/control 2016-03-22 18:12:06 UTC (rev 13024)
+++ packages/pep257/trunk/debian/control 2016-03-22 18:41:18 UTC (rev 13025)
@@ -6,22 +6,19 @@
Build-Depends:
debhelper (>= 9),
dh-python,
- python,
- python-setuptools,
- python-mock,
- python-pytest,
- python-sphinx
+ python3,
+ python3-setuptools,
+ python3-sphinx
Standards-Version: 3.9.7
Homepage: http://pep257.readthedocs.org/en/latest
Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pep257/trunk/
Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/pep257/trunk/
-X-Python-Version: >= 2.6
Package: pep257
Architecture: all
Depends:
${misc:Depends},
- ${python:Depends}
+ ${python3:Depends}
Description: static Python code analysis tool for PEP 257 compliance
PEP 257 provides conventions for Python docstrings (string literals which
occur as first statement in a module, function, class or method definition
Modified: packages/pep257/trunk/debian/rules
===================================================================
--- packages/pep257/trunk/debian/rules 2016-03-22 18:12:06 UTC (rev 13024)
+++ packages/pep257/trunk/debian/rules 2016-03-22 18:41:18 UTC (rev 13025)
@@ -6,10 +6,11 @@
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 pytest -v -x" dh_auto_test
+ # tests not running on Python 3: https://github.com/PyCQA/pydocstyle/issues/177
+ # PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
override_dh_installchangelogs:
dh_installchangelogs docs/release_notes.rst
More information about the Python-apps-commits
mailing list