...
 
Commits (5)
......@@ -5,29 +5,15 @@ Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.
Uploaders: ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Build-Depends: debhelper (>= 11),
dh-python,
python-all,
python-setuptools,
python3-all,
python3-flake8-polyfill,
python3-setuptools,
Standards-Version: 4.1.3
Standards-Version: 4.3.0
Rules-Requires-Root: no
Homepage: https://github.com/flintwork/pep8-naming
Vcs-Git: https://salsa.debian.org/python-team/modules/pep8-naming.git
Vcs-Browser: https://salsa.debian.org/python-team/modules/pep8-naming
Package: python-pep8-naming
Architecture: all
Depends: ${misc:Depends},
${python:Depends},
Recommends: python-flake8
Description: check for PEP 8 naming conventions (flake8 plugin for Python2)
The PEP 8 recommendation is a style guide for Python code. This plugin for
flake8 checks whether the naming conventions of PEP 8 have been commplied
with. However written as plugin for flake8, some tools make independent use
of the module.
.
This package contains the module for Python2.
Package: python3-pep8-naming
Architecture: all
Depends: ${misc:Depends},
......
......@@ -3,14 +3,13 @@
export PYBUILD_NAME=pep8-naming
%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=. {interpreter} run_tests.py" dh_auto_test
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=src/ {interpreter} run_tests.py" dh_auto_test
override_dh_installdocs:
dh_installdocs -A README.rst
override_dh_installchangelogs:
sed -n '/'Changes'/,//p' README.rst > .pybuild/changelog
dh_installchangelogs -A .pybuild/changelog
dh_installchangelogs CHANGELOG.rst