diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3edf7f3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +swh.icingaplugins (0.0.2-1+swh1) unstable-swh; urgency=medium + + * Initial packaging for swh.icingaplugins + + -- Antoine R. Dumont (@ardumont) Mon, 20 Jan 2020 18:48:41 +0100 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..7fc314d --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: swh.icingaplugins +Maintainer: Software Heritage developers +Section: python +Priority: optional +Build-Depends: curl, + debhelper (>= 9), + dh-python (>= 2), + python3-all, + python3-psycopg2, + python3-pytest, + python3-pytest-django, + python3-pytest-mock, + python3-requests, + python3-requests-mock, + python3-setuptools, + python3-swh.core, + python3-swh.deposit.client, + python3-swh.storage (>= 0.0.162~), + python3-swh.vault, +Standards-Version: 3.9.6 +Homepage: https://forge.softwareheritage.org/source/swh-icinga-plugins/ + +Package: python3-swh.icingaplugins +Architecture: all +Depends: python3-swh.core, + python3-swh.deposit.client, + python3-swh.storage (>= 0.0.162~), + python3-swh.vault, + ${misc:Depends}, + ${python3:Depends} +Description: Scripts for end-to-end monitoring of the SWH infrastructure diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2a636de --- /dev/null +++ b/debian/copyright @@ -0,0 +1,19 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ + +Files: * +Copyright: 2020 The Software Heritage developers +License: AGPL-3+ + +License: AGPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 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 Affero General Public License for more details. + . + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..7f63e3e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +upstream-branch=debian/upstream +upstream-tag=debian/upstream/%(version)s +debian-branch=debian/unstable-swh +pristine-tar=True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cdbc07e --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=swh.icingaplugins + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_install: + dh_install + rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)