diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..91bf04ddc492e4ebd0a41a297d05fee658886cc4 --- /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@pytloun.cz> Wed, 10 Jan 2018 17:33:35 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..cafc310bb197aaae9f72ec2ccc6bd9552a820279 --- /dev/null +++ b/debian/control @@ -0,0 +1,44 @@ +Source: python-pygerrit2 +Section: python +Priority: optional +Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org> +Uploaders: + Filip Pytloun <filip@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 0000000000000000000000000000000000000000..7c270189f804df04528f0a4dbae8ad22174db6a2 --- /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@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 0000000000000000000000000000000000000000..268e37daa0e34057cfe519ded0d2397292b2c45e --- /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 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /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 0000000000000000000000000000000000000000..82f17d20e9487a0946ceb8318a052d4e66babd8c --- /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)))