[Python-modules-commits] [python-bugzilla] 03/04: Initial release of python-bugzilla.

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Fri Jun 24 21:34:16 UTC 2016


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

sergiodj-guest pushed a commit to branch master
in repository python-bugzilla.

commit 2955d2e887a0720b6f4d194daaadbe7258c4bb5b
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Thu Jun 23 20:24:07 2016 -0400

    Initial release of python-bugzilla.
    
    Closes: #827875
---
 debian/.git-dpm              |  3 +++
 debian/bugzilla-cli.install  |  1 +
 debian/bugzilla-cli.manpages |  1 +
 debian/changelog             |  5 ++++
 debian/compat                |  1 +
 debian/control               | 62 ++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright             | 28 ++++++++++++++++++++
 debian/rules                 | 21 +++++++++++++++
 debian/watch                 |  3 +++
 9 files changed, 125 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 4649f31..0a37ee6 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 python-bugzilla_1.2.2.orig.tar.gz
 2301759a81a9b243ad49c0d248c8aef7ee649e7d
 76026
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/bugzilla-cli.install b/debian/bugzilla-cli.install
new file mode 100644
index 0000000..852a2b1
--- /dev/null
+++ b/debian/bugzilla-cli.install
@@ -0,0 +1 @@
+debian/python3-bugzilla/usr/bin/bugzilla usr/bin/
diff --git a/debian/bugzilla-cli.manpages b/debian/bugzilla-cli.manpages
new file mode 100644
index 0000000..2a450aa
--- /dev/null
+++ b/debian/bugzilla-cli.manpages
@@ -0,0 +1 @@
+bugzilla.1
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ec78307
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-bugzilla (1.2.2-1) unstable; urgency=medium
+
+  * Initial release of python-bugzilla. (Closes: #827875)
+
+ -- Sergio Durigan Junior <sergiodj at sergiodj.net>  Thu, 23 Jun 2016 20:22:17 -0400
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..bb39da3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,62 @@
+Source: python-bugzilla
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Build-Depends: debhelper (>=9),
+	       dh-python,
+	       python-all (>= 2.6.6-3~),
+	       python-setuptools,
+	       python3-all,
+	       python3-setuptools,
+	       python-requests,
+	       python3-requests,
+	       python-coverage,
+	       python3-coverage,
+	       python-pep8,
+	       python3-pep8
+Standards-Version: 3.9.8
+Homepage: https://pypi.python.org/pypi/python-bugzilla
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-bugzilla.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-bugzilla.git
+
+Package: python-bugzilla
+Architecture: all
+Depends: ${python:Depends},
+	 ${misc:Depends},
+	 python-requests
+Description: Python library for interacting with Bugzilla (Python 2)
+ python-bugzilla is a Python library for interacting with Bugzilla
+ instances over XML-RPC.  You may also be interested in the
+ command-line tool 'bugzilla-cli', which can be used to interact with
+ Bugzilla from shell scripts.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-bugzilla
+Architecture: all
+Depends: ${python3:Depends},
+	 ${misc:Depends},
+	 python3-requests
+Description: Python library for interacting with Bugzilla (Python 3)
+ python-bugzilla is a Python library for interacting with Bugzilla
+ instances over XML-RPC.  You may also be interested in the
+ command-line tool 'bugzilla-cli', which can be used to interact with
+ Bugzilla from shell scripts.
+ .
+ This package installs the library for Python 3.
+
+Package: bugzilla-cli
+Section: devel
+Architecture: all
+Depends: ${python3:Depends},
+	 ${misc:Depends},
+	 python3-bugzilla
+Description: Python tool for interacting with Bugzilla (Python 3)
+ bugzilla-cli is a Python tool for interacting with Bugzilla instances
+ from shell scripts.  It uses the 'python-bugzilla' library behind the
+ scenes.
+ .
+ This package installs the tool for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..50279d3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-bugzilla
+Source: https://pypi.python.org/pypi/python-bugzilla
+
+Files: *
+Copyright: 2007-2014 Red Hat, Inc.
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2016 Sergio Durigan Junior <sergiodj at sergiodj.net>
+License: GPL-2+
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f4a05f0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME = bugzilla
+export PYBUILD_AFTER_INSTALL_python2 = $(RM) -rv {destdir}/usr/bin {destdir}/usr/share/man
+
+%:
+	dh $@  --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+# Setting $HOME here is needed because some tests use
+# 'os.path.expanduser'.
+	HOME=/tmp/ python setup.py test
+	HOME=/tmp/ python3 setup.py test
+
+override_dh_install:
+	dh_install
+# We have a dedicated package for the CLI part of the package, so here
+# we delete the files under /usr/bin.
+	rm -rf debian/python3-bugzilla/usr/bin
+# We also ship the CLI manpage within the appropriate package.
+	rm -rf debian/python3-bugzilla/usr/share/man
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..d0928a1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/python-bugzilla/python-bugzilla-(.+)\.(?: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-bugzilla.git



More information about the Python-modules-commits mailing list