[Python-modules-commits] [pytest-pylint] 03/05: Initial release. (Closes: #825522)

Ondrej Koblizek kobla-guest at moszumanska.debian.org
Fri May 27 14:41:26 UTC 2016


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

kobla-guest pushed a commit to branch master
in repository pytest-pylint.

commit aeda1e4d4757997585712b999c566f1e3d3d8a5a
Author: Ondrej Koblizek <ondrej.koblizek at firma.seznam.cz>
Date:   Fri May 27 16:34:15 2016 +0200

    Initial release. (Closes: #825522)
---
 debian/.git-dpm       |  3 +++
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright      | 30 ++++++++++++++++++++++++++++++
 debian/rules          | 14 ++++++++++++++
 debian/source/options |  1 +
 debian/tests/control  |  7 +++++++
 debian/watch          |  3 +++
 9 files changed, 110 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 71a1358..b22bd99 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 pytest-pylint_0.5.0.orig.tar.gz
 d7cc8f19898b7590efbd33e2f266191a6e014dd1
 4971
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a3cdd78
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pytest-pylint (0.5.0-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #825522)
+
+ -- Ondřej Kobližek <koblizeko at gmail.com>  Fri, 27 May 2016 15:45:12 +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..c032537
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: pytest-pylint
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ondřej Kobližek <koblizeko at gmail.com>,
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9~),
+               dh-python,
+               python-all (>= 2.6.6-3~),
+               python-pytest,
+               python-setuptools,
+               python3-all,
+               python3-pytest,
+               python3-setuptools,
+               pylint (>= 1.4.5),
+               pylint3 (>= 1.4.5),
+               python-six,
+Standards-Version: 3.9.8
+Homepage: https://github.com/carsongee/pytest-pylint
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-pytest-pylint.git/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-pytest-pylint.git
+
+Package: python-pytest-pylint
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+Description: pytest plugin to check source code with pylint - Python 2.x
+ Run pylint with pytest and have configurable rule types (i.e. Convention,
+ Warn, and Error) fail the build. You can also specify a pylintrc file.
+ .
+ Usage: py.test --pylint
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-pytest-pylint
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: pytest plugin to check source code with pylint - Python 3.x
+ Run pylint with pytest and have configurable rule types (i.e. Convention,
+ Warn, and Error) fail the build. You can also specify a pylintrc file.
+ .
+ Usage: py.test --pylint
+ .
+ This package contains the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..851037d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pytest-pylint
+Source: https://github.com/carsongee/pytest-pylint
+
+Files: *
+Copyright: 2015-2016, Carson Gee <x at carsongee.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2016, Ondřej Kobližek <koblizeko at gmail.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/rules b/debian/rules
new file mode 100755
index 0000000..0a2760a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#! /usr/bin/make -f
+
+#export DH_VERBOSE = 1
+export PYBUILD_NAME = pytest-pylint
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+
+override_dh_auto_install:
+	dh_auto_install
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
+	# run tests after install: plugin needs to get registered by setup.py/entry_points
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/control b/debian/tests/control
new file mode 100644
index 0000000..f8f6335
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Depends: python-pytest-pylint,
+         python-setuptools,
+Test-Command: set -e; for py in $(pyversions -i); do echo "[*] testing on $py:"; $py -Wd -m pytest -v -x 2>&1; done
+
+Depends: python3-pytest-pylint,
+         python3-setuptools,
+Test-Command: set -e; for py in $(py3versions -i); do echo "[*] testing on $py:"; $py -Wd -m pytest -v -x 2>&1; done
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..dbc01b7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/pytest-pylint-$1\.tar\.gz/ \
+  https://github.com/carsongee/pytest-pylint/tags .*/v?(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list