File python-monasca-statsd.spec of Package python-monasca-statsd
#
# spec file for package python-monasca-statsd
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
Name: python-monasca-statsd
Version: 2.7.0
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: https://files.pythonhosted.org/packages/source/m/monasca-statsd/monasca-statsd-%{version}.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-pbr
BuildRequires: python3-six
BuildRequires: python3-stestr
BuildArch: noarch
%description
Python Statsd library for sending statsd messages via the Monasca Agent
%package -n python3-monasca-statsd
Summary: Python Statsd library for sending statsd messages via the Monasca Agent
Requires: python3-six
%description -n python3-monasca-statsd
Python Statsd library for sending statsd messages via the Monasca Agent
This package contains the Python 3.x module.
%prep
%autosetup -p1 -n monasca-statsd-2.7.0
%py_req_cleanup
%build
export LC_ALL=en_US.utf-8
%{py3_build}
%install
export LC_ALL=en_US.utf-8
%{py3_install}
%check
export LC_ALL=en_US.utf-8
%{openstack_stestr_run}
%files -n python3-monasca-statsd
%license LICENSE
%doc README.rst ChangeLog
%{python3_sitelib}/monascastatsd
%{python3_sitelib}/*.egg-info
%changelog