python-paste/python-paste.spec

106 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

2019-11-06 19:49:43 +08:00
Name: python-paste
2024-01-15 06:16:46 +00:00
Version: 3.7.1
2024-05-08 20:00:51 +08:00
Release: 2
2019-11-06 19:49:43 +08:00
Summary: Tools for using a Web Server Gateway Interface stack
2022-07-28 02:36:09 +00:00
License: MIT and ZPLv2.0 and Python and (AFL-2.1 or MIT) and (MIT or ASL 2.0)
2020-12-16 16:18:39 +08:00
URL: https://pythonpaste.readthedocs.io/en/latest/
2024-01-15 06:16:46 +00:00
Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
2019-11-06 19:49:43 +08:00
BuildArch: noarch
2022-05-06 14:24:43 +08:00
BuildRequires: python3-devel
2019-11-06 19:49:43 +08:00
BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita
2024-05-08 20:00:51 +08:00
Patch0001: backport-python3-socke-use-SocketIO.patch
2019-11-06 19:49:43 +08:00
%description
Paste provides several pieces of "middleware" (or filters) that can be nested
to build web applications. Each piece of middleware uses the WSGI (PEP 333)
interface, and should be compatible with other middleware based on those interfaces.
%package -n python3-paste
Summary: Tools for using a Web Server Gateway Interface stack
%{?python_provide:%python_provide python3-paste}
2024-05-08 20:00:51 +08:00
Requires: python3-pyOpenSSL python3-setuptools
2019-11-06 19:49:43 +08:00
Requires: python3-six python3-tempita
%description -n python3-paste
Paste provides several pieces of "middleware" (or filters) that can be nested
to build web applications. Each piece of middleware uses the WSGI (PEP 333)
interface, and should be compatible with other middleware based on those interfaces.
%package_help
%prep
2024-01-15 06:16:46 +00:00
%autosetup -n Paste-%{version} -p1
2019-11-06 19:49:43 +08:00
find . -name "*.orig" -delete
%{__sed} -i -e '/^#!.*/,1 d' paste/util/scgiserver.py paste/debug/doctest_webapp.py
pushd docs
rm StyleGuide.txt
popd
%build
%{__python3} setup.py build
%install
%{__python3} setup.py install --skip-build --root %{buildroot}
%check
2020-06-24 22:24:48 +08:00
#export PYTHONPATH=$(pwd)
#nosetests-%{python3_version} -e '.*test_paste_website'
2019-11-06 19:49:43 +08:00
%files -n python3-paste
%defattr(-,root,root)
%license docs/license.txt
%{python3_sitelib}/paste
%{python3_sitelib}/Paste-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/Paste-%{version}-py%{python3_version}-nspkg.pth
%files help
%defattr(-,root,root)
%doc docs/*
%changelog
2024-05-08 20:00:51 +08:00
* Tue May 7 2024 tenglei <tenglei@kylinos.cn> - 3.7.1-2
- python3 socke use SocketIO
2024-01-15 06:16:46 +00:00
* Mon Jan 15 2024 zhangpan <zhangpan103@h-partners.com> - 3.7.1-1
- update to 3.7.1
2022-11-20 21:04:42 -05:00
* Mon Nov 21 2022 lvfei <lvfei@kylinos.cn> - 3.5.2-1
- update to 3.5.2
2022-07-28 03:36:26 +00:00
* Thu Jul 28 2022 Chenyx <chenyixiong3@huawei.com> - 3.5.0-3
2022-07-28 02:36:09 +00:00
- License compliance rectification
2022-05-06 14:24:43 +08:00
* Fri May 6 2022 wuchaochao <cyanrose@yeah.net> - 3.5.0-2
- remove BuildRequires python-nose
2021-01-27 17:47:12 +08:00
* Wed Jan 27 2021 zhanzhimin <zhanzhimin@huawei.com> - 3.5.0-1
- update to 3.5.0
2020-12-16 16:18:39 +08:00
* Wed Dec 16 2020 hanhui <hanhui15@huawei.com> - 2.0.3-13
- modify url
2020-10-29 19:34:47 +08:00
* Fri Oct 30 2020 jinzhimin <jinzhimin2@huawei.com> - 2.0.3-12
- remove python2-paste subpackage
2020-06-24 22:24:48 +08:00
* Wed Jun 24 2020 wangye <wangye70@huawei.com> - 2.0.3-11
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:no make check
2019-11-06 19:49:43 +08:00
* Wed Oct 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.3-10
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:add the provides for python-paste
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.3-9
- Package init