[Python-modules-commits] [python-pygerrit2] 04/09: Add debian directory

Filip Pytloun fpytloun-guest at moszumanska.debian.org
Wed Jan 10 18:33:01 UTC 2018


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

fpytloun-guest pushed a commit to branch master
in repository python-pygerrit2.

commit 3f8ca1e192e9a9e64e8880b974800144a115ef4a
Author: Filip Pytloun <filip at pytloun.cz>
Date:   Wed Jan 10 17:44:33 2018 +0100

    Add debian directory
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 44 ++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright     | 33 +++++++++++++++++++++++++++++++++
 debian/rules         |  9 +++++++++
 debian/source/format |  1 +
 debian/watch         |  3 +++
 7 files changed, 96 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..91bf04d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-pygerrit2 (2.0.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #886838)
+
+ -- Filip Pytloun <filip at pytloun.cz>  Wed, 10 Jan 2018 17:33:35 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cafc310
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+Source: python-pygerrit2
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders:
+ Filip Pytloun <filip at pytloun.cz>,
+Build-Depends:
+ debhelper (>=11),
+ dh-python,
+ python-all,
+ python-pbr (>= 0.8.2),
+ python-setuptools,
+ python3-all,
+ python3-pbr (>= 0.8.2),
+ python3-setuptools,
+Standards-Version: 4.1.3
+Testsuite: autopkgtest-pkg-python
+Homepage: https://github.com/dpursehouse/pygerrit2
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-pygerrit2.git/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-pygerrit2.git
+
+Package: python-pygerrit2
+Architecture: all
+Multi-Arch: foreign
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: client library to interact with Gerrit Code Review via the REST API
+ pygerrit2 is simple Python library to provide interface to interact with
+ Gerrit Code Review via it's REST API.
+  .
+ This package contains the Python 2.7 module.
+
+Package: python3-pygerrit2
+Architecture: all
+Multi-Arch: foreign
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Description: client library to interact with Gerrit Code Review via the REST API
+ pygerrit2 is simple Python library to provide interface to interact with
+ Gerrit Code Review via it's REST API.
+ .
+ This package contains the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7c27018
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pygerrit2
+Source: https://github.com/dpursehouse/pygerrit2
+
+Files:     *
+Copyright: 2011 Sony Ericsson Mobile Communications
+           2012 Sony Mobile Communications
+           2016 David Pursehouse
+License:   Expat
+
+Files:     debian/*
+Copyright: 2018 Filip Pytloun <filip at pytloun.cz>
+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..268e37d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
+# Parse version from debian changelog (or pbr will try to use Git commit)
+export PBR_VERSION=$(DEB_VERSION_UPSTREAM)
+export PYBUILD_NAME=pygerrit2
+
+%:
+	dh $@ --with python2,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/watch b/debian/watch
new file mode 100644
index 0000000..82f17d2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+#opts=pgpsigurlmangle=s/$/.asc/ \
+https://pypi.debian.net/pygerrit2/pygerrit2-(.+)\.(?: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/python-pygerrit2.git



More information about the Python-modules-commits mailing list