Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:PowerPC
python-nagiosplugin
python-nagiosplugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-nagiosplugin.spec of Package python-nagiosplugin
# # spec file for package python-nagiosplugin # # Copyright (c) 2020 SUSE LLC # Copyright (c) 2017, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-nagiosplugin Version: 1.3.2 Release: 0 Summary: Class library for writing Nagios (Icinga) plugins License: ZPL-2.1 Group: Development/Languages/Python URL: https://bitbucket.org/flyingcircus/nagiosplugin Source: https://files.pythonhosted.org/packages/source/n/nagiosplugin/nagiosplugin-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages %description nagiosplugin is a Python class library which helps writing Nagios (or Icinga) compatible plugins 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 independent 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 - Resumption of log file processing at the point where the last run left off - No dependencies beyond the Python standard library %prep %setup -q -n nagiosplugin-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %license LICENSE.txt %doc README.txt %{python_sitelib}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor