!4 Update package

From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-12-13 07:37:03 +00:00 committed by Gitee
commit eb915766fe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 20 additions and 7 deletions

View File

@ -1,33 +1,34 @@
%global _empty_manifest_terminate_build 0
Name: python-statsd
Version: 3.3.0
Version: 4.0.1
Release: 1
Summary: A simple statsd client.
License: MIT
URL: https://github.com/jsocol/pystatsd
Source0: https://files.pythonhosted.org/packages/2d/f2/48ffc8d0051849e4417e809dc9420e76084c8a62749b3442915402127caa/statsd-3.3.0.tar.gz
Source0: https://files.pythonhosted.org/packages/27/29/05e9f50946f4cf2ed182726c60d9c0ae523bb3f180588c574dd9746de557/statsd-4.0.1.tar.gz
Source1: setup.py
BuildArch: noarch
%description
statsd is a friendly front-end to Graphite.
%package -n python3-statsd
Summary: A simple statsd client.
Provides: python-statsd
Provides: python-statsd = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-statsd
statsd is a friendly front-end to Graphite.
%package help
Summary: Development documents and examples for statsd
Provides: python3-statsd-doc
%description help
statsd is a friendly front-end to Graphite.
%prep
%autosetup -n statsd-3.3.0
%autosetup -n statsd-%{version}
cp %{SOURCE1} ./
%build
%py3_build
@ -67,5 +68,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Wed Dec 07 2022 liqiuyu <liqiuyu@kylinos.cn> - 4.0.1-1
- Update package to version 4.0.1
* Sat Nov 21 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated

9
setup.py Normal file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env python
import setuptools
if __name__ == "__main__":
setuptools.setup(
name='statsd',
version='4.0.1',
)

Binary file not shown.

BIN
statsd-4.0.1.tar.gz Normal file

Binary file not shown.