[Python-modules-commits] [pycodestyle] 04/04: Initial release. (Closes: #833683)

Ondřej Nový onovy at moszumanska.debian.org
Sun Aug 7 21:39:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository pycodestyle.

commit 47ea890ac75f3706001972c88b83f726be163856
Author: Ondřej Nový <onovy at debian.org>
Date:   Sun Aug 7 23:37:46 2016 +0200

    Initial release. (Closes: #833683)
---
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright      | 32 ++++++++++++++++++++++++++++++++
 debian/docs           |  1 +
 debian/rules          | 13 +++++++++++++
 debian/source/options |  1 +
 debian/tests/cli      | 11 +++++++++++
 debian/tests/control  | 12 ++++++++++++
 debian/tests/python2  | 11 +++++++++++
 debian/tests/python3  | 11 +++++++++++
 debian/watch          |  3 +++
 12 files changed, 150 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8db43b8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pycodestyle (2.0.0-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #833683)
+
+ -- Ondřej Nový <onovy at debian.org>  Sun, 07 Aug 2016 22:56:52 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4d8d779
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: pycodestyle
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ondřej Nový <onovy at debian.org>
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-setuptools,
+               python3-all,
+               python3-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://pypi.python.org/pypi/pycodestyle
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pycodestyle.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pycodestyle.git
+
+Package: pycodestyle
+Architecture: all
+Depends: python3-pkg-resources,
+         python3-pycodestyle,
+         ${misc:Depends},
+         ${python3:Depends},
+Description: Python style guide checker (formerly called pep8)
+ Features a plugin architecture allowing for adding new checks is easily.
+ Parseable output listing line numbers of the error location. Consists of
+ just one Python file, and requires only stdlib.
+
+Package: python-pycodestyle
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+Replaces: pycodestyle (<< 1.6.2-0.1),
+Description: Python style guide checker (formerly called pep8) - Python 2.x
+ Features a plugin architecture allowing for adding new checks is easily.
+ Parseable output listing line numbers of the error location. Consists of
+ just one Python file, and requires only stdlib.
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-pycodestyle
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: Python style guide checker (formerly called pep8) - Python 3.x
+ Features a plugin architecture allowing for adding new checks is easily.
+ Parseable output listing line numbers of the error location. Consists of
+ just one Python file, and requires only stdlib.
+ .
+ This package contains the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..65c90f1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pycodestyle
+Source: https://pypi.python.org/pypi/pycodestyle
+
+Files: *
+Copyright: 2006-2009 Johann C. Rocholl <johann at rocholl.net>
+           2009-2014 Florent Xicluna <florent.xicluna at gmail.com>
+           2014-2016 Ian Lee <IanLee1521 at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Ondřej Nový <onovy at debian.org>
+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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..348471d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME = pycodestyle
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+	dh_auto_install
+
+	rm -rf debian/python-pycodestyle/usr/bin
+	mkdir -p debian/pycodestyle/usr/bin
+	mv debian/python3-pycodestyle/usr/bin/* debian/pycodestyle/usr/bin
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/tests/cli b/debian/tests/cli
new file mode 100755
index 0000000..97c1f88
--- /dev/null
+++ b/debian/tests/cli
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cd "$ADTTMP"
+
+cat > E40.py <<EOF
+import os, sys
+EOF
+
+pycodestyle E40.py | grep E401
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..bcb9bc8
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,12 @@
+Test-Command: cd "$ADTTMP" ; python -c "import pycodestyle; print pycodestyle.__version__"
+
+Test-Command: cd "$ADTTMP" ; python3 -c "import pycodestyle; print(pycodestyle.__version__)"
+
+Tests: python2
+Depends: python-pycodestyle
+
+Tests: python3
+Depends: python3-pycodestyle
+
+Tests: cli
+Depends: pycodestyle
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100755
index 0000000..386f465
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cd "$ADTTMP"
+
+cat > E40.py <<EOF
+import os, sys
+EOF
+
+python -m pycodestyle E40.py | grep E401
diff --git a/debian/tests/python3 b/debian/tests/python3
new file mode 100755
index 0000000..bbe9f30
--- /dev/null
+++ b/debian/tests/python3
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+cd "$ADTTMP"
+
+cat > E40.py <<EOF
+import os, sys
+EOF
+
+python3 -m pycodestyle E40.py | grep E401
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..46fd7ea
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/pycodestyle/pycodestyle-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pycodestyle.git



More information about the Python-modules-commits mailing list