[Python-modules-commits] r28257 - in packages/nagiosplugin/trunk/debian (7 files)

jordanm-guest at users.alioth.debian.org jordanm-guest at users.alioth.debian.org
Thu Mar 20 04:42:41 UTC 2014


    Date: Thursday, March 20, 2014 @ 04:42:36
  Author: jordanm-guest
Revision: 28257

* New upstream release
* Update watch file to use the tarball instead of the zip archive
* Switch from python_distutils to pybuild
* Build the python3 version of the library

Added:
  packages/nagiosplugin/trunk/debian/python-nagiosplugin.docs
    (from rev 28256, packages/nagiosplugin/trunk/debian/docs)
  packages/nagiosplugin/trunk/debian/python3-nagiosplugin.docs
    (from rev 28256, packages/nagiosplugin/trunk/debian/docs)
Modified:
  packages/nagiosplugin/trunk/debian/changelog
  packages/nagiosplugin/trunk/debian/control
  packages/nagiosplugin/trunk/debian/rules
  packages/nagiosplugin/trunk/debian/watch
Deleted:
  packages/nagiosplugin/trunk/debian/docs

Modified: packages/nagiosplugin/trunk/debian/changelog
===================================================================
--- packages/nagiosplugin/trunk/debian/changelog	2014-03-19 22:59:21 UTC (rev 28256)
+++ packages/nagiosplugin/trunk/debian/changelog	2014-03-20 04:42:36 UTC (rev 28257)
@@ -1,3 +1,12 @@
+nagiosplugin (1.2.1-1) unstable; urgency=medium
+
+  * New upstream release
+  * Update watch file to use the tarball instead of the zip archive
+  * Switch from python_distutils to pybuild
+  * Build the python3 version of the library
+
+ -- Jordan Metzmeier <jmetzmeier01 at gmail.com>  Wed, 19 Mar 2014 22:45:52 -0500
+
 nagiosplugin (1.2-1) unstable; urgency=low
 
   * Initial release (Closes: #733822).

Modified: packages/nagiosplugin/trunk/debian/control
===================================================================
--- packages/nagiosplugin/trunk/debian/control	2014-03-19 22:59:21 UTC (rev 28256)
+++ packages/nagiosplugin/trunk/debian/control	2014-03-20 04:42:36 UTC (rev 28257)
@@ -4,17 +4,24 @@
 Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
+               dh-python,
                python-all (>= 2.6.6-3),
-               python-setuptools (>= 0.6b3)
+               python-argparse,
+               python-setuptools (>= 0.6b3),
+               python-unittest2,
+               python3-all (>= 3.2),
+               python3-setuptools
 Standards-Version: 3.9.5
 Homepage: https://projects.gocept.com/projects/nagiosplugin
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/nagiosplugin/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/nagiosplugin/trunk/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 
 Package: python-nagiosplugin
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
-Description: Python class library for writing Nagios (Icinga) plugins
+Description: Python class library for writing Nagios (Icinga) plugins (Python 2)
  nagiosplugin is a Python class library which helps writing Nagios
  (or Icinga) compatible plugins easily in Python. It cares for much of
  the boilerplate code and default logic commonly found in Nagios
@@ -30,3 +37,27 @@
   - Persistent "cookies" to retain state information between check runs
   - Resume log file processing at the point where the last run left
   - No dependencies beyond the Python standard library (except for Python 2.6).
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-nagiosplugin
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python class library for writing Nagios (Icinga) plugins (Python 3)
+ nagiosplugin is a Python class library which helps writing Nagios
+ (or Icinga) compatible plugins easily in Python. It cares for much of
+ the boilerplate code and default logic commonly found in Nagios
+ checks, including:
+ .
+  - Nagios 3 Plugin API compliant parameters and output formatting
+  - Full Nagios range syntax support
+  - Automatic threshold checking
+  - Multiple independend measures
+  - Custom status line to communicate the main point quickly
+  - Long output and performance data
+  - Timeout handling
+  - Persistent "cookies" to retain state information between check runs
+  - Resume log file processing at the point where the last run left
+  - No dependencies beyond the Python standard library (except for Python 2.6).
+ .
+ This is the Python 3 version of the package.

Deleted: packages/nagiosplugin/trunk/debian/docs
===================================================================
--- packages/nagiosplugin/trunk/debian/docs	2014-03-19 22:59:21 UTC (rev 28256)
+++ packages/nagiosplugin/trunk/debian/docs	2014-03-20 04:42:36 UTC (rev 28257)
@@ -1 +0,0 @@
-src/nagiosplugin/examples/

Copied: packages/nagiosplugin/trunk/debian/python-nagiosplugin.docs (from rev 28256, packages/nagiosplugin/trunk/debian/docs)
===================================================================
--- packages/nagiosplugin/trunk/debian/python-nagiosplugin.docs	                        (rev 0)
+++ packages/nagiosplugin/trunk/debian/python-nagiosplugin.docs	2014-03-20 04:42:36 UTC (rev 28257)
@@ -0,0 +1 @@
+src/nagiosplugin/examples/

Copied: packages/nagiosplugin/trunk/debian/python3-nagiosplugin.docs (from rev 28256, packages/nagiosplugin/trunk/debian/docs)
===================================================================
--- packages/nagiosplugin/trunk/debian/python3-nagiosplugin.docs	                        (rev 0)
+++ packages/nagiosplugin/trunk/debian/python3-nagiosplugin.docs	2014-03-20 04:42:36 UTC (rev 28257)
@@ -0,0 +1 @@
+src/nagiosplugin/examples/
\ No newline at end of file

Modified: packages/nagiosplugin/trunk/debian/rules
===================================================================
--- packages/nagiosplugin/trunk/debian/rules	2014-03-19 22:59:21 UTC (rev 28256)
+++ packages/nagiosplugin/trunk/debian/rules	2014-03-20 04:42:36 UTC (rev 28257)
@@ -1,14 +1,14 @@
 #!/usr/bin/make -f
 
-# This file was automatically generated by stdeb 0.6.0+git at
-# Tue, 31 Dec 2013 13:30:19 -0600
+export PYBUILD_NAME=nagiosplugin
 
 %:
-	dh $@ --with python2 --buildsystem=python_distutils
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_install:
-	dh_auto_install -O--buildsystem=python_distutils
-	rm -rf debian/python-nagiosplugin/usr/lib/python*/dist-packages/nagiosplugin/examples/
+	dh_auto_install -O--buildsystem=pybuild
+	rm -rf debian/python*-nagiosplugin/usr/lib/python*/dist-packages/nagiosplugin/examples/
 
-override_dh_auto_test: $(PYVERS:%=test%)
-	python$* setup.py test
+override_dh_installdocs:
+	rm -rf src/nagiosplugin/examples/__pycache__ src/nagiosplugin/examples/*.pyc
+	dh_installdocs -O--buildsystem=pybuild
\ No newline at end of file

Modified: packages/nagiosplugin/trunk/debian/watch
===================================================================
--- packages/nagiosplugin/trunk/debian/watch	2014-03-19 22:59:21 UTC (rev 28256)
+++ packages/nagiosplugin/trunk/debian/watch	2014-03-20 04:42:36 UTC (rev 28257)
@@ -1,2 +1,2 @@
 version=3
-https://pypi.python.org/packages/source/n/nagiosplugin/nagiosplugin-([0-9.]+).zip
+https://pypi.python.org/packages/source/n/nagiosplugin/nagiosplugin-([0-9.]+).tar.gz




More information about the Python-modules-commits mailing list