Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
8d25f327b6
!13 修复python-setuptools升级导致python-logutils构建失败
From: @starlet-dx 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-05-23 11:56:13 +00:00
starlet-dx
449ec1efd5 Fix compilation failure due to python-setuptools update to 66.0 2023-05-23 19:15:24 +08:00
openeuler-ci-bot
6dedbc700b !4 Provides python-logutils
From: @caodongxia
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
2021-09-28 06:32:20 +00:00
caodongxia
438cbe22d7 Provides python-logutils 2021-09-27 11:42:36 +08:00
openeuler-ci-bot
e628cfc912 !3 remove python2 of package python-logutils
From: @wang--ge
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 10:27:02 +08:00
root
591ad00a54 remove python2 2020-10-29 11:21:59 +08:00
openeuler-ci-bot
c603ab8f8a !2 python-logutils
Merge pull request !2 from wangef/master
2020-05-19 14:47:31 +08:00
wwx913452
cf6f545ac4 added python-logutils.yaml 2020-05-07 14:41:20 +08:00
openeuler-ci-bot
f3b95eb48a !1 Package Init
Merge pull request !1 from 窃格瓦拉/master
2020-03-12 18:17:34 +08:00
qiegewala
39dcaf338a Package Init 2020-03-12 18:07:07 +08:00
3 changed files with 78 additions and 0 deletions

BIN
logutils-0.3.5.tar.gz Normal file

Binary file not shown.

74
python-logutils.spec Normal file
View File

@ -0,0 +1,74 @@
%global _description\
This package provides many handlers which beyond the scope of standard library\
or are ported from newer Python releases for using in older versions of Python.\
These handlers are designed for Python standard library's logging package.
Name: python-logutils
Version: 0.3.5
Release: 10
License: BSD
Summary: Handlers for Python library's logging package
URL: https://pypi.io/project/logutils
Source0: https://pypi.io/packages/source/l/logutils/logutils-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-redis
BuildRequires: redis
%description %_description
%package -n python3-logutils
Summary: Handlers for Python library's logging package
%{?python_provide:%python_provide python3-logutils}
%description -n python3-logutils
%_description
%package -n help
Summary: Documentation for python-logutils
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description -n help
Documentation for python-logutils
%prep
%autosetup -n logutils-%{version}
rm -rf logutils.egg-info
rm -rf %{py2dir}
%build
%{__python3} setup.py build
%install
%{__python3} setup.py install -O1 --skip-build --root=%{buildroot}
%check
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} -m unittest discover -v tests
%files -n python3-logutils
%license LICENSE.txt
%doc README.rst NEWS.txt
%{python3_sitelib}/logutils/
%{python3_sitelib}/logutils-%{version}-*
%files -n help
%doc doc/
%changelog
* Tue May 23 2023 yaoxin <yao_xin001@hoperun.com> - 0.3.5-10
- Fix compilation failure due to python-setuptools update to 66.0
* Mon Sep 27 2021 caodongxia <caodongxia@huawei.com> - 0.3.5-9
- Provides python-logutils
* Wed Oct 21 2020 Ge Wang <wangge20@huawei.com> - 0.3.5-8
- remove python2
* Thu Mar 12 2020 lihao <lihao129@huawei.com> - 0.3.5-7
- Package Init

4
python-logutils.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: logutils
tag_prefix: ^v
seperator: .