import debian packaging

This commit is contained in:
Kilian Krause 2019-12-10 10:38:03 +01:00
parent b4bbd6c250
commit bb6a3b73ba
8 changed files with 111 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-prometheus-client-rus (0.1.0) stable; urgency=medium
* Initial release
-- Kilian Krause <krause@rus.uni-stuttgart.de> Thu, 10 Dec 2019 12:24:12 +0000

59
debian/control vendored Normal file
View File

@ -0,0 +1,59 @@
Source: python-prometheus-client-rus
Maintainer: Kilian Krause <krause@rus.uni-stuttgart.de>
Uploaders: Stefan Bühler <stefan.buehler@tik.uni-stuttgart.de>
Section: python
Priority: optional
Build-Depends: debhelper-compat (= 12),
Build-Depends-Indep: dh-python,
python-all,
python-concurrent.futures,
python-decorator (>= 4.0.10),
python-pytest,
python-setuptools,
python3-all,
python3-decorator (>= 4.0.10),
python3-pytest,
python3-setuptools,
Standards-Version: 4.4.1
Package: python-prometheus-client-rus
Architecture: all
Depends: python-decorator (>= 4.0.10-1),
${misc:Depends},
${python:Depends},
Description: Python 2 client for the Prometheus monitoring system
This library provides an API for exporting metrics from a Python application.
It provides classes for the metric types, and an HTTP server to expose the
metrics to Prometheus.
.
When using Linux, the process CPU, RAM, file descriptor usage and start time
will also be exported.
.
Along with the HTTP server to expose metrics, you can also write the metrics
to a text file to be exported by the prometheus-node-exporter, or push them to
the prometheus-pushgateway.
.
This library also includes support for re-exporting Graphite metrics to
Prometheus, custom collectors to proxy metrics for other systems and a parser
for the Prometheus text format.
Package: python3-prometheus-client-rus
Architecture: all
Depends: python3-decorator (>= 4.0.10-1),
${misc:Depends},
${python3:Depends},
Description: Python 3 client for the Prometheus monitoring system
This library provides an API for exporting metrics from a Python 3 application
It provides classes for the metric types, and an HTTP server to expose the
metrics to Prometheus.
.
When using Linux, the process CPU, RAM, file descriptor usage and start time
will also be exported.
.
Along with the HTTP server to expose metrics, you can also write the metrics
to a text file to be exported by the prometheus-node-exporter, or push them to
the prometheus-pushgateway.
.
This library also includes support for re-exporting Graphite metrics to
Prometheus, custom collectors to proxy metrics for other systems and a parser
for the Prometheus text format.

27
debian/copyright vendored Normal file
View File

@ -0,0 +1,27 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Prometheus Python Client (Uni Stuttgart version)
Source: https://github.tik.uni-stuttgart.de/NKS/python-prometheus
Files: *
Copyright: 2019 Stefan Bühler <stefan.buehler@tik.uni-stuttgart.de
License: Apache-2.0
Files: debian/*
Copyright: 2019 Kilian Krause <krause@rus.uni-stuttgart.de>
License: Apache-2.0
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache version 2.0 license
can be found in "/usr/share/common-licenses/Apache-2.0".

6
debian/gbp.conf vendored Normal file
View File

@ -0,0 +1,6 @@
[DEFAULT]
debian-branch = master
[buildpackage]
dist = DEP14
upstream-tag = upstream/%(version)s

View File

@ -0,0 +1 @@
README.md

View File

@ -0,0 +1 @@
README.md

11
debian/rules vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
export PYBUILD_NAME=prometheus-client-rus
# Set these, such that pybuild does not set them
export http_proxy=
export https_proxy=
%:
dh $@ --with python2,python3 --buildsystem=pybuild

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)