Commit f7c3f416 authored by Thomas Goirand's avatar Thomas Goirand

Imported Debian patch 2.0-1

parent 3fef12d2
python-flake8 (2.0-1) unstable; urgency=low
* Initial release (Closes: #661044)
-- Thomas Goirand <zigo@debian.org> Sat, 29 Jun 2013 05:42:51 +0000
Source: python-flake8
Section: python
Priority: optional
Uploaders: Chris Johnston <chrisjohnston@ubuntu.com>,
Thomas Goirand <zigo@debian.org>
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Build-Depends: debhelper (>= 9),
python-all,
python-setuptools,
python3-all,
python3-setuptools
Standards-Version: 3.9.4
Homepage: http://bitbucket.org/tarek/flake8
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-flake8/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-flake8/trunk/
X-Python-Version: >= 2.6
X-Python3-Version: >=3.1
Package: python-flake8
Architecture: any
Depends: pep8 (>= 1.4.3),
pyflakes (>= 0.6.1),
python-mccabe (>= 0.2),
${misc:Depends},
${python:Depends}
Description: code checker using pep8 and pyflakes
Flake8 is a wrapper around PyFlakes, pep8, and Ned's McCabe script. Flake8
runs all tools by launching the single 'flake8' script, but ignores pep8 and
PyFlakes extended options and just uses defaults. It displays the warnings in
a per-file, merged output.
.
This package provides Python 2 module bindings only.
Package: python3-flake8
Architecture: any
Depends: pep8 (>= 1.4.3),
pyflakes (>= 0.6.1),
python-flake8,
python3-mccabe (>= 0.2),
${misc:Depends},
${python3:Depends}
Description: code checker using pep8 and pyflakes (Python 3)
Flake8 is a wrapper around PyFlakes, pep8, and Ned's McCabe script. Flake8
runs all tools by launching the single 'flake8' script, but ignores pep8 and
PyFlakes extended options and just uses defaults. It displays the warnings in
a per-file, merged output.
.
This package provides Python 3 module bindings only.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: flake8
Source: http://bitbucket.org/tarek/flake8
Files: *
Copyright: 2011 Tarek Ziade <tarek@ziade.org>
License: Expat
Files: debian/*
Copyright: 2013 Chris Johnston <chrisjohnston@ubuntu.com>
License: Expat
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
CONTRIBUTORS.txt
README.rst
#!/usr/bin/make -f
PY2_PACKAGE_NAME=python-flake8
PY3_PACKAGE_NAME=python3-flake8
PYVERS=$(shell pyversions -r)
PY3VERS=$(shell py3versions -r)
%:
dh $@ --with python2,python3
override_dh_auto_clean:
rm -rf flake8.egg-info
rm -rf build
dh_auto_clean
override_dh_auto_build:
set -xe; \
for py in $(PYVERS) $(PY3VERS); do \
$$py setup.py build; \
done
# Remove me when dh_python2 can handle this file
rm -vf debian/*/usr/lib/python*/*-packages/*.egg-info/SOURCES.txt
override_dh_auto_install:
set -xe; \
for py in $(PYVERS); do \
$$py setup.py install --root=debian/python-flake8 --install-layout=deb ; \
done
set -xe; \
for py in $(PY3VERS); do \
$$py setup.py install --root=debian/python3-flake8 --install-layout=deb ; \
done
rm -rf debian/python3-flake8/usr/bin
override_dh_python2:
dh_python2 --shebang=/usr/bin/python
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
override_dh_installchangelogs:
dh_installchangelogs CHANGES.rst
version=3
http://pypi.python.org/packages/source/f/flake8/flake8-(.*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment