[Python-modules-commits] [pep8-naming] 02/03: Imported Debian patch 0.3.1-1

Daniel Stender danstender-guest at moszumanska.debian.org
Tue Jun 23 09:54:50 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository pep8-naming.

commit 319925d6880b1edc37c6e75989e65a1d52b768d9
Author: Daniel Stender <debian at danielstender.com>
Date:   Tue Jun 23 11:45:36 2015 +0200

    Imported Debian patch 0.3.1-1
---
 debian/changelog                 |  5 +++++
 debian/compat                    |  1 +
 debian/control                   | 48 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright                 | 38 +++++++++++++++++++++++++++++++
 debian/gbp.conf                  |  9 ++++++++
 debian/rules                     | 13 +++++++++++
 debian/source/format             |  1 +
 debian/source/options            |  1 +
 debian/tests/control             |  5 +++++
 debian/tests/python-pep8-naming  |  2 ++
 debian/tests/python3-pep8-naming |  2 ++
 debian/watch                     |  4 ++++
 12 files changed, 129 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..552bddf
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pep8-naming (0.3.1-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #788234).
+
+ -- Daniel Stender <debian at danielstender.com>  Tue, 23 Jun 2015 11:45:36 +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..3bd4876
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: pep8-naming
+Section: python
+Priority: optional
+Maintainer: Daniel Stender <debian at danielstender.com>
+Uploaders:
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 3.9.6
+Homepage: 
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Testsuite: autopkgtest
+
+Package: python-pep8-naming
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Recommends:
+ python-flake8
+Description: check Python code for PEP 8 naming conventions (flake8 plugin)
+ 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},
+ ${python3:Depends}
+Recommends:
+ python3-flake8
+Description: check Python3 code for PEP 8 naming conventions (flake8 plugin)
+ 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 Python3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7de6942
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pep8-naming
+Upstream-Contact: Florent Xicluna <florent.xicluna at gmail.com>
+Source: https://github.com/flintwork/pep8-naming
+
+Files: *
+Copyright: 2013-2015 Florent Xicluna
+                     Gil Forcada Codinachs
+		     Ian Cordasco <graffatcolmingov at gmail.com>
+                     Keith Derrick
+		     Corey Farwell <coreyf at rwell.org>
+                     Stefan Hofmockel
+		     James Rutherford
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Daniel Stender <debian at danielstender.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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..ab94fc3
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+pristine-tar = True
+
+[import-orig]
+upstream-branch = upstream
+debian-branch = master
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ef7724b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+export PYBUILD_NAME=pep8-naming
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} run_tests.py" dh_auto_test
+
+override_dh_installdocs:
+	dh_installdocs -A README.rst
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..6e88e49
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
\ No newline at end of file
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..a8a602d
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-pep8-naming
+Depends: python-all
+
+Tests: python3-pep8-naming
+Depends: python3-all
\ No newline at end of file
diff --git a/debian/tests/python-pep8-naming b/debian/tests/python-pep8-naming
new file mode 100755
index 0000000..b7fb88f
--- /dev/null
+++ b/debian/tests/python-pep8-naming
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd run_tests.py
diff --git a/debian/tests/python3-pep8-naming b/debian/tests/python3-pep8-naming
new file mode 100755
index 0000000..6ac7af8
--- /dev/null
+++ b/debian/tests/python3-pep8-naming
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} run_tests.py
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2febeab
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/(?:.*\/)?(\d[\d\.]+)\.tar\.gz/pep8-naming-$1.tar.gz/ \
+https://github.com/flintwork/pep8-naming/releases (?:.*/)?(\d[\d\.]+)\.tar\.gz
+# better than Pypi tarball, ships with tests

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



More information about the Python-modules-commits mailing list