Package: pep257 Severity: wishlist Tags: patch Dear Maintainer,
The following patch implements the creation of the python3-pep257 package by using the recommended steps in: https://wiki.debian.org/Python/LibraryStyleGuide Let me know if we need to change or fix anything more. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.13.0-74-generic (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init)
diff -Nru pep257-0.7.0/debian/changelog pep257-0.7.0/debian/changelog --- pep257-0.7.0/debian/changelog 2015-10-25 19:19:40.000000000 +0000 +++ pep257-0.7.0/debian/changelog 2016-01-14 17:57:09.000000000 +0000 @@ -1,3 +1,10 @@ +pep257 (0.7.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Support for python3: new python3-pep257 package + + -- Jose Luis Rivero <jriv...@osrfoundation.org> Thu, 14 Jan 2016 17:57:00 +0000 + pep257 (0.7.0-1) unstable; urgency=medium * New upstream release. diff -Nru pep257-0.7.0/debian/control pep257-0.7.0/debian/control --- pep257-0.7.0/debian/control 2015-10-25 19:04:28.000000000 +0000 +++ pep257-0.7.0/debian/control 2016-01-14 18:09:45.000000000 +0000 @@ -11,12 +11,17 @@ python-setuptools, python-mock, python-pytest, - python-sphinx + python-sphinx, + python3-all, + python3-setuptools, + python3-pytest, + python3-mock Standards-Version: 3.9.6 Homepage: http://pep257.readthedocs.org/en/latest Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pep257/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/pep257/trunk/ X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 Testsuite: autopkgtest Package: pep257 @@ -24,8 +29,19 @@ Depends: ${misc:Depends}, ${python:Depends} -Description: static Python code analysis tool for PEP 257 compliance - PEP 257 provides conventions for Python docstrings (string literals which +Description: static Python2 code analysis tool for PEP 257 compliance + PEP 257 provides conventions for Python2 docstrings (string literals which + occur as first statement in a module, function, class or method definition + for documentation purposes). This tool checks Python code whether + these conventions have been complied with, and if docstring are missing. + +Package: python3-pep257 +Architecture: all +Depends: + ${misc:Depends}, + ${python3:Depends} +Description: static Python3 code analysis tool for PEP 257 compliance + PEP 257 provides conventions for Python3 docstrings (string literals which occur as first statement in a module, function, class or method definition for documentation purposes). This tool checks Python code whether these conventions have been complied with, and if docstring are missing. diff -Nru pep257-0.7.0/debian/rules pep257-0.7.0/debian/rules --- pep257-0.7.0/debian/rules 2015-10-25 19:09:13.000000000 +0000 +++ pep257-0.7.0/debian/rules 2016-01-14 18:04:24.000000000 +0000 @@ -6,7 +6,7 @@ DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +%F -f -) %: - dh $@ --with python2 --buildsystem=pybuild + dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_test: PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test