代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-decorator 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%global _name decorator
%global _description The goal of the decorator module is to make it easy to define signature-preserving \
function decorators and decorator factories. It also includes an implementation of multiple dispatch and \
other niceties (please check the docs).
Name: python-%{_name}
Version: 4.3.0
Release: 3
Summary: Simplify the signature-preserving function decorators and decorator factories
License: BSD
URL: https://github.com/micheles/decorator
Source0: https://github.com/micheles/decorator/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
BuildArch: noarch
%description
%{_description}
%package -n python2-decorator
Summary: %{summary} in python2
BuildRequires: python2-devel python2-setuptools
%{?python_provide:%python_provide python2-decorator}
%description -n python2-decorator
%{_description}
%package -n python3-decorator
Summary: %{summary} in python3
BuildRequires: python3-devel python3-setuptools
%{?python_provide:%python_provide python3-decorator}
%description -n python3-decorator
%{_description}
%package_help
%prep
%autosetup -n %{_name}-%{version} -p1
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
%{__python2} setup.py test
%{__python3} setup.py test
%files -n python2-%{_name}
%doc docs/README.rst
%license LICENSE.txt
%{python2_sitelib}/*
%files -n python3-%{_name}
%doc docs/README.rst
%license LICENSE.txt
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/*info/
%{python3_sitelib}/*.py
%files help
%doc CHANGES.md
%changelog
* Tue Dec 31 2019 Yeqing Peng<pengyeqing@huawei.com> - 4.3.0-3
- Type:enhancement
- ID:NA
- SUG:restart
- DESC:update source code
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.3.0-2
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。