python-flask-restful/python-flask-restful.spec

56 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-11-19 11:53:49 +08:00
Name: python-flask-restful
2021-02-02 11:10:26 +08:00
Version: 0.3.8
Release: 1
2019-11-19 11:53:49 +08:00
Summary: Framework for creating REST APIs
License: BSD
2020-02-18 15:11:43 +08:00
URL: https://www.github.com/flask-restful/flask-restful/
2019-11-19 11:53:49 +08:00
Source0: https://github.com/flask-restful/flask-restful/archive/%{version}.tar.gz
Patch0: python-flask-restful.remove_q0_testcase.patch
BuildArch: noarch
2020-10-29 10:48:10 +08:00
BuildRequires: git gcc python3-pytz python3-setuptools python3-nose python3-mock python3-blinker
2019-11-19 11:53:49 +08:00
BuildRequires: python3-flask python3-six python3-aniso8601 python3-pytz python3-devel python3-crypto
%description
Flask-RESTful provides the building blocks for creating a REST API.
%package -n python3-flask-restful
Summary: Framework for creating REST APIs
2020-02-18 15:11:43 +08:00
Requires: python3-flask python3-six python3-aniso8601 python3-pytz
2019-11-19 11:53:49 +08:00
%{?python_provide:%python_provide python3-flask-restful}
%description -n python3-flask-restful
Flask-RESTful is Python 3 extension for Flask that adds support
for quickly building REST APIs.
%prep
2020-02-18 15:11:43 +08:00
%autosetup -n flask-restful-%{version} -p0
2019-11-19 11:53:49 +08:00
rm -rf docs/_themes/.gitignore
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-flask-restful
%doc AUTHORS.md README.md examples/ docs/
%license LICENSE
%{python3_sitelib}/*
%changelog
2021-02-02 11:10:26 +08:00
* Tue Feb 2 2021 liudabo <liudabo1@huawei.com> - 0.3.8-1
- upgrade version to 0.3.8
2020-10-29 10:48:10 +08:00
* Thu Oct 20 2020 tianwei <tianwei12@huawei.com> - 0.3.6-11
- delete python2
2020-02-18 15:11:43 +08:00
* Tue Feb 18 2020 Buildteam <buildteam@openeuler.org> - 0.3.6-10
- Fixbug in patching
2019-11-19 11:53:49 +08:00
* Fri Nov 8 2019 Buildteam <buildteam@openeuler.org> - 0.3.6-9
- Package Initialization