Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a 'debian' directory in order to produce debian packages #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
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'.
14 changes: 14 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/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:

override_dh_installchangelogs:
dh_installchangelogs CHANGELOG.rst
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)