|
|
946c84d |
%global mod_name Flask-Script
|
|
|
946c84d |
|
|
|
946c84d |
Name: python-flask-script
|
|
|
946c84d |
Version: 2.0.6
|
|
|
5c58754 |
Release: 9%{?dist}
|
|
|
946c84d |
Summary: Scripting support for Flask
|
|
|
946c84d |
|
|
|
946c84d |
License: BSD
|
|
|
946c84d |
URL: http://flask-script.readthedocs.org/en/latest/
|
|
|
946c84d |
Source0: https://pypi.python.org/packages/source/F/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
|
|
946c84d |
|
|
|
946c84d |
# using flask_script everywhere instead of flask.ext.script
|
|
|
946c84d |
# adjusted https://github.com/smurfix/flask-script/commit/fcf894b6e4d0ad17489480b722c870aaea600db1
|
|
|
946c84d |
Patch0: fix-imports.patch
|
|
|
946c84d |
|
|
|
946c84d |
BuildArch: noarch
|
|
|
946c84d |
|
|
|
946c84d |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
946c84d |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
946c84d |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
946c84d |
BuildRequires: python%{python3_pkgversion}-flask
|
|
|
946c84d |
BuildRequires: python%{python3_pkgversion}-sphinx
|
|
|
946c84d |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
946c84d |
|
|
|
946c84d |
%global _description\
|
|
|
946c84d |
The Flask-Script extension provides support for writing external scripts in\
|
|
|
946c84d |
Flask.This includes running a development server, a customized Python shell,\
|
|
|
946c84d |
scripts to set up your database, cronjobs, and other command-line tasks that\
|
|
|
946c84d |
belong outside the web application itself.
|
|
|
946c84d |
|
|
|
946c84d |
%description %_description
|
|
|
946c84d |
|
|
|
946c84d |
%package -n python%{python3_pkgversion}-flask-script
|
|
|
946c84d |
Summary: Scripting support for flask in python3-flask
|
|
|
946c84d |
|
|
|
946c84d |
Requires: python%{python3_pkgversion}-flask
|
|
|
946c84d |
|
|
|
946c84d |
%description -n python%{python3_pkgversion}-flask-script
|
|
|
946c84d |
The Flask-Script extension provides support for writing external scripts in
|
|
|
946c84d |
Flask.This includes running a development server, a customized Python shell,
|
|
|
946c84d |
scripts to set up your database, cronjobs, and other command-line tasks that
|
|
|
946c84d |
belong outside the web application itself.
|
|
|
946c84d |
|
|
|
946c84d |
%prep
|
|
|
946c84d |
%autosetup -p1 -n %{mod_name}-%{version}
|
|
|
946c84d |
# delete the mac's .ds_store file
|
|
|
946c84d |
rm -f docs/.DS_Store
|
|
|
946c84d |
|
|
|
946c84d |
%build
|
|
|
946c84d |
%py3_build
|
|
|
946c84d |
|
|
|
946c84d |
# generate sphinx documentation
|
|
|
946c84d |
cd docs && make SPHINXBUILD=sphinx-build-3 html
|
|
|
946c84d |
# deleting unneeded buildinfo, we dont expect users to change html docs
|
|
|
946c84d |
rm -f _build/html/.buildinfo
|
|
|
946c84d |
|
|
|
946c84d |
|
|
|
946c84d |
%check
|
|
|
946c84d |
py.test-3 tests.py
|
|
|
946c84d |
|
|
|
946c84d |
%install
|
|
|
946c84d |
%py3_install
|
|
|
946c84d |
|
|
|
946c84d |
|
|
|
946c84d |
%files -n python%{python3_pkgversion}-flask-script
|
|
|
946c84d |
%doc docs/_build/html README.rst LICENSE
|
|
|
946c84d |
%{python3_sitelib}/*.egg-info/
|
|
|
946c84d |
%{python3_sitelib}/flask_script/
|
|
|
946c84d |
|
|
|
946c84d |
%changelog
|
|
|
5c58754 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-9
|
|
|
5c58754 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5c58754 |
|
|
|
4438629 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.6-8
|
|
|
4438629 |
- Rebuilt for Python 3.9
|
|
|
4438629 |
|
|
|
5bd0100 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-7
|
|
|
5bd0100 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5bd0100 |
|
|
|
0812114 |
* Thu Sep 12 2019 Lubomír Sedlář <lsedlar@redhat.com> - 2.0.6-6
|
|
|
0812114 |
- Drop python 2 subpackage
|
|
|
0812114 |
|
|
|
946c84d |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.6-5
|
|
|
946c84d |
- Rebuilt for Python 3.8
|
|
|
946c84d |
|
|
|
946c84d |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-4
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-3
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.6-2
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Tue Jun 26 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.6-1
|
|
|
946c84d |
- Update to 2.0.6
|
|
|
946c84d |
- Clean spec
|
|
|
946c84d |
- Add upstream patch for new Flask compatibility (#1595388)
|
|
|
946c84d |
|
|
|
946c84d |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.5-13
|
|
|
946c84d |
- Rebuilt for Python 3.7
|
|
|
946c84d |
|
|
|
946c84d |
* Fri Feb 16 2018 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.0.5-12
|
|
|
946c84d |
- make spec file compatible with epel7
|
|
|
946c84d |
- always build for python 3
|
|
|
946c84d |
|
|
|
946c84d |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-11
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Thu Jan 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.5-10
|
|
|
946c84d |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
946c84d |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
946c84d |
|
|
|
946c84d |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.5-9
|
|
|
946c84d |
- Python 2 binary package renamed to python2-flask-script
|
|
|
946c84d |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
946c84d |
|
|
|
946c84d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-8
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-7
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.0.5-6
|
|
|
946c84d |
- Rebuild for Python 3.6
|
|
|
946c84d |
|
|
|
946c84d |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-5
|
|
|
946c84d |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
946c84d |
|
|
|
946c84d |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-4
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-3
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
946c84d |
|
|
|
946c84d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-2
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Thu Jul 03 2014 Robert Kuska <rkuska@redhat.com> - 2.0.5-1
|
|
|
946c84d |
- Updated to 2.0.5
|
|
|
946c84d |
|
|
|
946c84d |
* Thu Jul 03 2014 Robert Kuska <rkuska@redhat.com> - 0.6.7-4
|
|
|
946c84d |
- Move Python 3 Requires into correct place
|
|
|
946c84d |
|
|
|
946c84d |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-3
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Fri May 16 2014 Robert Kuska <rkuska@redhat.com> - 0.6.7-2
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
946c84d |
|
|
|
946c84d |
* Mon Apr 28 2014 Robert Kuska <rkuska@redhat.com> - 0.6.7-1
|
|
|
946c84d |
- Update to 0.6.7
|
|
|
946c84d |
|
|
|
946c84d |
* Wed Sep 25 2013 Robert Kuska <rkuska@redhat.com> - 0.6.2-1
|
|
|
946c84d |
- Updated source to latest upstream version and added python3 support
|
|
|
946c84d |
|
|
|
946c84d |
* Tue Aug 06 2013 Robert Kuska <rkuska@redhat.com> - 0.5.3-4
|
|
|
946c84d |
- Fix BuildRequires
|
|
|
946c84d |
|
|
|
946c84d |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-3
|
|
|
946c84d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
946c84d |
|
|
|
946c84d |
* Tue Apr 02 2013 Robert Kuska <rkuska@redhat.com> - 0.5.3-2
|
|
|
946c84d |
- Review fixes
|
|
|
946c84d |
|
|
|
946c84d |
* Thu Mar 21 2013 Robert Kuska <rkuska@redhat.com> - 0.5.3-1
|
|
|
946c84d |
- Initial package
|