Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added support for Debian packaging
Signed-off-by: Davide Madrisan <[email protected]>
  • Loading branch information
madrisan committed Aug 17, 2018
commit fbb93c1fb779ddaa91d04e849ff094511f752b23
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
py-zabbix (1.1.3-1) unstable; urgency=low

* Initial release.

-- Davide Madrisan <[email protected]> Tue, 14 Aug 2018 10:03:50 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
33 changes: 33 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Source: py-zabbix
Maintainer: Alexey Dubkov
Section: python
Priority: optional
Build-Depends:
debhelper (>= 9),
dh-python,
python-all (>= 2.6.6-3),
python-setuptools,
python3-all,
python3-setuptools
Standards-Version: 3.9.8
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.3
Homepage: https://github.com/adubkov/py-zabbix.git

Package: python-pyzabbix
Architecture: all
Depends:
${misc:Depends},
${python:Depends},
python-requests
Description: Zabbix module for Python.

Package: python3-pyzabbix
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
python3-requests,
Description: Zabbix module for Python.
.
This package contains the Python 3 version of the library.
31 changes: 31 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: py-zabbix
Upstream-Contact: https://github.com/adubkov
Source: https://github.com/adubkov/py-zabbix
Comment:
The overall licence of the py-zabbix upstream code amounts to GPL-2.0.

Files: *
Copyright: 2018, Alexey Dubkov

License: GPL-2.0
This program 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 program 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 package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
11 changes: 11 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/make -f

export PYBUILD_NAME=pyzabbix

%:
dh $@ --with python2,python3 --buildsystem=pybuild

# The test suite currently requires external network access, so we
# can't enable it.
#
override_dh_auto_test:
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)