File python-monasca-statsd.spec of Package python-monasca-statsd
#
# spec file for package python-monasca-statsd
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%global sname monasca-statsd
Name: python-monasca-statsd
Version: 1.7.1~dev4
Release: 0
Summary: Python Statsd library for sending statsd messages via the Monasca Agent
License: Apache-2.0
Group: Development/Languages/Python
Url: https://wiki.openstack.org/wiki/Monasca
Source0: monasca-statsd-stable-pike.tar.gz
BuildRequires: openstack-macros
BuildRequires: python-mock >= 2.0
BuildRequires: python-nose
BuildRequires: python-setuptools >= 16.0
BuildRequires: python-six >= 1.9.0
Requires: python-six >= 1.9.0
BuildArch: noarch
%description
Python Statsd library for sending statsd messages via the Monasca Agent
%prep
%autosetup -n %{sname}-1.7.1.dev4
%py_req_cleanup
%build
%{py2_build}
%install
%{py2_install}
%check
nosetests monascastatsd --verbose
%files
%license LICENSE
%doc README.md ChangeLog
%{python2_sitelib}/monascastatsd
%{python2_sitelib}/*.egg-info
%changelog