forked from pool/python-nagiosplugin
Accepting request 789784 from home:pgajdos:python
- version update to 1.3.2
- Include `doc` and `tests` directories in source distribution to support
Gentoo package building tests (#22)
- Update official python support to 2.7, 3.4+ in README
- Fixed a packaging bug
- New maintainer/contributor information and project home
- Updated tests and package metadata for recent Python 3 versions
- Newer tooling for tests/documentation
OBS-URL: https://build.opensuse.org/request/show/789784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nagiosplugin?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
3d531ee936
commit
f0ba375dfd
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b020aca516f3643ad02378866d382f0296bf378fa3874d9b2e1d3cc6135f8bb
|
||||
size 38290
|
||||
3
nagiosplugin-1.3.2.tar.gz
Normal file
3
nagiosplugin-1.3.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db8a5993288d8e53486d55495db616080bfdc8ee3f206709c3796df781ff23ef
|
||||
size 54262
|
||||
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 30 12:47:51 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.3.2
|
||||
- Include `doc` and `tests` directories in source distribution to support
|
||||
Gentoo package building tests (#22)
|
||||
- Update official python support to 2.7, 3.4+ in README
|
||||
- Fixed a packaging bug
|
||||
- New maintainer/contributor information and project home
|
||||
- Updated tests and package metadata for recent Python 3 versions
|
||||
- Newer tooling for tests/documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 2 06:17:11 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-nagiosplugin
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,9 +18,8 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-nagiosplugin
|
||||
Version: 1.2.4
|
||||
Version: 1.3.2
|
||||
Release: 0
|
||||
Summary: Class library for writing Nagios (Icinga) plugins
|
||||
License: ZPL-2.1
|
||||
@@ -32,6 +31,10 @@ 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
|
||||
@@ -60,10 +63,8 @@ and default logic commonly found in Nagios checks, including:
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
||||
Reference in New Issue
Block a user