python-paste-deploy/python-paste-deploy.spec
2020-08-24 15:19:09 +08:00

51 lines
1.5 KiB
RPMSpec

Name: python-paste-deploy
Version: 2.1.0
Release: 1
Summary: Load, configure, and compose WSGI applications and servers
License: MIT
URL: http://pythonpaste.org/deploy
Source0: http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel, python3-setuptools
%description
This tool provides code to load WSGI applications and servers
from URIs; these URIs can refer to Python Eggs for INI-style
configuration files. PasteScript provides commands to serve
applications based on this configuration file.
%package -n python3-paste-deploy
%{?python_provide:%python_provide python3-paste-deploy}
Summary: Load, configure, and compose WSGI applications and servers
Requires: python3-paste, python3-setuptools
%description -n python3-paste-deploy
This tool provides code to load WSGI applications and servers
from URIs; these URIs can refer to Python Eggs for INI-style
configuration files. PasteScript provides commands to serve
applications based on this configuration file.
%prep
%autosetup -n PasteDeploy-%{version} -p1
rm -rf *.egg-info
mv docs/license.txt license.txt
%build
%py3_build
%install
%py3_install
%files -n python3-paste-deploy
%license license.txt
%doc docs/*
%{python3_sitelib}/*
%changelog
* Jul Thu 16 2020 yanglongkang <yanglongkang@huawei.com> - 2.1.0-1
- update package to 2.1.0
* Fri Feb 14 2020 Ruijun Ge <geruijun@huawei.com> - 1.5.2-18
- init package