!1 init package

Merge pull request !1 from geruijun/master
This commit is contained in:
openeuler-ci-bot 2020-02-18 09:35:48 +08:00 committed by Gitee
commit e9e61bfaa7
2 changed files with 65 additions and 0 deletions

BIN
PasteDeploy-1.5.2.tar.gz Normal file

Binary file not shown.

65
python-paste-deploy.spec Normal file
View File

@ -0,0 +1,65 @@
Name: python-paste-deploy
Version: 1.5.2
Release: 18
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: python2-devel > 2.4, python2-setuptools, 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 python2-paste-deploy
%{?python_provide:%python_provide python2-paste-deploy}
Summary: Load, configure, and compose WSGI applications and servers
Requires: python2-paste, python2-setuptools
%description -n python2-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.
%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
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-paste-deploy
%license license.txt
%doc docs/*
%{python2_sitelib}/*
%files -n python3-paste-deploy
%license license.txt
%doc docs/*
%{python3_sitelib}/*
%changelog
* Fri Feb 14 2020 Ruijun Ge <geruijun@huawei.com> - 1.5.2-18
- init package