Add debian packaging
authorEd Bartosh <eduard.bartosh@intel.com>
Sun, 1 Feb 2015 12:08:52 +0000 (14:08 +0200)
committerEd Bartosh <eduard.bartosh@intel.com>
Sat, 14 Feb 2015 23:38:30 +0000 (01:38 +0200)
Debian and Ubuntu 12.04 LTS don't have this package yet and repa fails to
install. So, adding .deb packaging to solve this.

Change-Id: Ibd38a453df670fa6dc90aecc38a4fc28dbbd05ef
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..eddb199
--- /dev/null
@@ -0,0 +1,55 @@
+python-jenkinsapi (0.2.26-1) unstable; urgency=low
+
+  * Upgraded to 0.2.26
+
+ -- Ed Bartosh <eduard.bartosh@intel.com>  Sun, 01 Feb 2015 12:40:25 +0200
+
+python-jenkinsapi (0.2.16-2) unstable; urgency=medium
+
+  * Closes: #734433 -- "Python-Versions" not "Python-Verions".
+
+ -- Al Stone <ahs3@debian.org>  Tue, 07 Jan 2014 10:54:52 -0700
+
+python-jenkinsapi (0.2.16-1) unstable; urgency=medium
+
+  * Update to latest upstream.
+  * Closes: #725589 -- FTBS due to unexpected upstream changes
+
+ -- Al Stone <ahs3@debian.org>  Mon, 06 Jan 2014 18:12:26 -0700
+
+python-jenkinsapi (0.1.11-5) unstable; urgency=low
+
+  * Correct Build-Depends for dh addon.
+  * Correct Depends for pkg_resources module.
+
+ -- Al Stone <ahs3@debian.org>  Sun, 26 Aug 2012 18:13:53 -0600
+
+python-jenkinsapi (0.1.11-4) unstable; urgency=low
+
+  * Closes: #684304 -- managed to depend on python 2.6 and 2.7 at
+    the same time with overzealous use of ${python:Versions} in the
+    control file.
+
+ -- Al Stone <ahs3@debian.org>  Wed, 08 Aug 2012 10:40:55 -0600
+
+python-jenkinsapi (0.1.11-3) unstable; urgency=low
+
+  * Closes: #684145 -- dumb mistake, forgot a build-dep 
+  * Change package to 'all', not 'any' architecture.
+
+ -- Al Stone <ahs3@debian.org>  Tue, 07 Aug 2012 11:52:19 -0600
+
+python-jenkinsapi (0.1.11-2) unstable; urgency=low
+
+  * Replace usage of python-support with dh_python2
+  * Closes: #683458 -- now that dh_python2 is being used, package is
+    being built correctly and is no longer empty on rebuild
+  * Closes: #683460 -- corrected package dependencies
+
+ -- Al Stone <ahs3@debian.org>  Mon, 06 Aug 2012 20:30:56 -0600
+
+python-jenkinsapi (0.1.11-1) unstable; urgency=low
+
+  * Initial release (Closes: #682114)
+
+ -- Al Stone <ahs3@debian.org>  Tue, 24 Jul 2012 16:40:44 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..45a4fb7
--- /dev/null
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..29e7825
--- /dev/null
@@ -0,0 +1,27 @@
+Source: python-jenkinsapi
+Section: python
+Priority: optional
+Maintainer: Al Stone <ahs3@debian.org>
+Build-Depends: debhelper (>= 8.0.0), python-all-dev, python-lxml, python-setuptools
+XS-Python-Version: current
+Standards-Version: 3.9.5
+Homepage: http://pypi.python.org/pypi/jenkinsapi
+
+Package: python-jenkinsapi
+Architecture: all
+Depends: python-lxml, python-bs4, python-pkg-resources, python-requests,
+ ${python:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+XB-Python-Versions: ${python:Versions}
+Description: bindings for Python usage of the Jenkins remote API
+ Jenkins is the market leading continuous integration system, originally
+ created by Kohsuke Kawaguchi. This API makes Jenkins even easier to use
+ by providing an easy to use conventional Python interface.
+ .
+ Jenkins (and its predecessor Hudson) are useful projects for automating
+ common development tasks (e.g., unit-testing, production batches) - but
+ they are somewhat Java-centric. Thankfully the designers have provided
+ an excellent and complete REST interface. This library wraps up that
+ interface as more conventional Python objects in order to make most
+ Jenkins-oriented tasks simpler.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..a87ad0d
--- /dev/null
@@ -0,0 +1,52 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-jenkinsapi
+Source: https://github.com/salimfadhley/jenkinsapi
+
+Files: *
+Copyright: 2011 Salim Fadhley <sal@stodge.org>
+           2011 Ramon van Alteren <ramon@vanalteren.nl>
+           2011 Ruslan Lutsenko <ruslan.lutcenko@gmail.com>
+           2011 Cleber J Santos <cleber@simplesconsultoria.com.br>
+           2011 William Zhang <jollychang@douban.com>
+License: MIT
+ The MIT License (MIT): 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.
+
+Files: debian/*
+Copyright: 2012 Al Stone <ahs3@debian.org>
+License: MIT
+ The MIT License (MIT): 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/docs b/debian/docs
new file mode 100644 (file)
index 0000000..a1320b1
--- /dev/null
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..2ebce13
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh $@ --with python2
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..4a21be0
--- /dev/null
@@ -0,0 +1,4 @@
+# Compulsory line, this is a version 3 file
+version=3
+http://pypi.python.org/pypi/jenkinsapi \
+(?:|.*/)(?:python-jenkinsapi|jenkinsapi)[_\-]v?(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)