[Python-modules-commits] [flake8-polyfill] 02/03: Initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Jun 9 23:37:07 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository flake8-polyfill.

commit bd99dd944fc43d749b14ece8b3350fd3826f648b
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Jun 9 15:48:29 2017 +0100

    Initial debianization
---
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 30 ++++++++++++++++++++++++++++++
 debian/copyright      | 31 +++++++++++++++++++++++++++++++
 debian/gbp.conf       |  7 +++++++
 debian/rules          | 12 ++++++++++++
 debian/source/format  |  1 +
 debian/source/options |  1 +
 debian/tests/control  | 13 +++++++++++++
 debian/watch          |  3 +++
 10 files changed, 104 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eb25275
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+flake8-polyfill (1.0.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #864526)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Fri, 09 Jun 2017 17:53:12 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5f50846
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: flake8-polyfill
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               dpkg-dev (>= 1.17.14),
+               python3-all,
+               python3-flake8 <!nocheck>,
+               python3-mock <!nocheck>,
+               python3-pep8 <!nocheck>,
+               python3-pycodestyle <!nocheck>,
+               python3-pytest <!nocheck>,
+               python3-setuptools
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/flake8-polyfill.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/flake8-polyfill.git
+Homepage: https://gitlab.com/pycqa/flake8-polyfill
+X-Python3-Version: >= 3.4
+
+Package: python3-flake8-polyfill
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: polyfill package for Flake8 plugins
+ Flake8-polyfill is a package that provides some compatibility helpers for
+ Flake8 plugins that intend to support Flake8 2.x and 3.x simultaneously.
+ .
+ This package provides the modules for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..71bee89
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: flake8-polyfill
+Upstream-Contact: Ian Cordasco <graffatcolmingov at gmail.com>
+Source: https://pypi.python.org/pypi/flake8-polyfill
+
+Files: *
+Copyright: 2016 Ian Cordasco <graffatcolmingov at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Ghislain Antony Vaillant <ghisvail 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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..f53906f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+upstream-branch = upstream
+debian-branch = master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+sign-tags = True
+pristine-tar = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bb2dd1c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME = flake-polyfill
+ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+export PYBUILD_DISABLE = test
+endif
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
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..b2b7b88
--- /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..ee86a48
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,13 @@
+Test-Command: set -e
+ ; cp -r tests "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m pytest -v
+ ; done
+Depends: python3-all,
+         python3-flake8-polyfill,
+         python3-mock,
+         python3-pep8,
+         python3-pycodestyle,
+         python3-pytest,
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..887f5d3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@

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



More information about the Python-modules-commits mailing list