|
Parag Nemade |
0a50306 |
%global srcname bottle-sqlite
|
|
Parag Nemade |
0a50306 |
Name: python-%{srcname}
|
|
|
32acef3 |
Version: 0.2.0
|
|
|
93f3cf3 |
Release: 6%{?dist}
|
|
Parag Nemade |
0a50306 |
Summary: SQLite3 integration for Bottle WSGI framework
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
License: MIT
|
|
Parag Nemade |
0a50306 |
URL: http://bottlepy.org
|
|
|
a293c09 |
Source0: https://files.pythonhosted.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
BuildArch: noarch
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
%description
|
|
|
a293c09 |
Bottle-sqlite is a plugin that integrates SQLite3 with your Bottle application.
|
|
|
a293c09 |
It automatically connects to a database at the beginning of a request, passes
|
|
|
a293c09 |
the database handle to the route callback and closes the connection afterwards.
|
|
|
a293c09 |
|
|
|
a293c09 |
To automatically detect routes that need a database connection, the plugin
|
|
|
a293c09 |
searches for route callbacks that require a db keyword argument (configurable)
|
|
|
a293c09 |
and skips routes that do not. This removes any overhead for routes that don't
|
|
|
a293c09 |
need a database connection.
|
|
|
a293c09 |
|
|
|
a293c09 |
%package -n python3-%{srcname}
|
|
|
a293c09 |
Summary: SQLite3 integration for Bottle WSGI framework
|
|
|
a293c09 |
|
|
|
a293c09 |
BuildRequires: python3-devel
|
|
|
a293c09 |
BuildRequires: python3-setuptools
|
|
|
a293c09 |
|
|
|
a293c09 |
Requires: python3-bottle
|
|
|
a293c09 |
|
|
|
a293c09 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
a293c09 |
|
|
|
a293c09 |
%description -n python3-%{srcname}
|
|
|
a293c09 |
Bottle-sqlite is a plugin that integrates SQLite3 with your Bottle application.
|
|
|
a293c09 |
It automatically connects to a database at the beginning of a request, passes
|
|
Parag Nemade |
0a50306 |
the database handle to the route callback and closes the connection afterwards.
|
|
Parag Nemade |
0a50306 |
|
|
|
a293c09 |
To automatically detect routes that need a database connection, the plugin
|
|
|
a293c09 |
searches for route callbacks that require a db keyword argument (configurable)
|
|
|
a293c09 |
and skips routes that do not. This removes any overhead for routes that don't
|
|
Parag Nemade |
0a50306 |
need a database connection.
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
%prep
|
|
Parag Nemade |
0a50306 |
%setup -q -n %{srcname}-%{version}
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
%build
|
|
|
a293c09 |
%py3_build
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
%install
|
|
|
a293c09 |
%py3_install
|
|
Parag Nemade |
0a50306 |
|
|
|
a293c09 |
%files -n python3-%{srcname}
|
|
|
32acef3 |
%doc PKG-INFO README.rst
|
|
|
a293c09 |
%{python3_sitelib}/bottle_sqlite.py*
|
|
|
a293c09 |
%{python3_sitelib}/__pycache__/bottle_sqlite*
|
|
|
a293c09 |
%{python3_sitelib}/bottle_sqlite*.egg-info
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
|
|
Parag Nemade |
0a50306 |
%changelog
|
|
|
93f3cf3 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-6
|
|
|
93f3cf3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
93f3cf3 |
|
|
|
5b0b570 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
|
|
|
5b0b570 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
5b0b570 |
|
|
|
57edb3a |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
|
|
|
57edb3a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
57edb3a |
|
|
|
6defbd2 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.2.0-3
|
|
|
6defbd2 |
- Rebuilt for Python 3.12
|
|
|
6defbd2 |
|
|
|
c18bf40 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
|
|
c18bf40 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
c18bf40 |
|
|
|
32acef3 |
* Mon Dec 12 2022 Federico Pellegrin <fede@evolware.org> - 0.2.0-1
|
|
|
32acef3 |
- Update to 0.2.0
|
|
|
32acef3 |
|
|
|
6de687d |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-21
|
|
|
6de687d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
6de687d |
|
|
|
f505b45 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.1.3-20
|
|
|
f505b45 |
- Rebuilt for Python 3.11
|
|
|
f505b45 |
|
|
|
589bb6c |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-19
|
|
|
589bb6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
589bb6c |
|
|
|
15e70d4 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-18
|
|
|
15e70d4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
15e70d4 |
|
|
|
f14cae1 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1.3-17
|
|
|
f14cae1 |
- Rebuilt for Python 3.10
|
|
|
f14cae1 |
|
|
|
091fe66 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-16
|
|
|
091fe66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
091fe66 |
|
|
|
e5b150d |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-15
|
|
|
e5b150d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e5b150d |
|
|
|
0da81db |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.3-14
|
|
|
0da81db |
- Rebuilt for Python 3.9
|
|
|
0da81db |
|
|
|
494b94f |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-13
|
|
|
494b94f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
494b94f |
|
|
|
83edfe0 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.3-12
|
|
|
83edfe0 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
83edfe0 |
|
|
|
08f4fc6 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.3-11
|
|
|
08f4fc6 |
- Rebuilt for Python 3.8
|
|
|
08f4fc6 |
|
|
|
595559b |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-10
|
|
|
595559b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
595559b |
|
|
|
8ae65ca |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-9
|
|
|
8ae65ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8ae65ca |
|
|
|
7663fd2 |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1.3-8
|
|
|
7663fd2 |
- Subpackage python2-bottle-sqlite has been removed
|
|
|
7663fd2 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
7663fd2 |
|
|
|
5c7532d |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-7
|
|
|
5c7532d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
5c7532d |
|
|
|
31b174e |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.3-6
|
|
|
31b174e |
- Rebuilt for Python 3.7
|
|
|
31b174e |
|
|
|
a0a2ac9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-5
|
|
|
a0a2ac9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a0a2ac9 |
|
|
|
c35c3ba |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-4
|
|
|
c35c3ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
c35c3ba |
|
|
|
65daa22 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-3
|
|
|
65daa22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
65daa22 |
|
|
|
8069e32 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1.3-2
|
|
|
8069e32 |
- Rebuild for Python 3.6
|
|
|
8069e32 |
|
|
|
a293c09 |
* Tue Jul 19 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.1.3-1
|
|
|
a293c09 |
- Update to 0.1.3
|
|
|
a293c09 |
- Modernize SPEC
|
|
|
a293c09 |
- Provide python 3 subpackage
|
|
|
a293c09 |
|
|
|
f3b6b85 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7
|
|
|
f3b6b85 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
f3b6b85 |
|
|
|
170f8d1 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-6
|
|
|
170f8d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
170f8d1 |
|
|
|
51026e0 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
|
|
|
51026e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
51026e0 |
|
|
|
4c627dd |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
|
|
|
4c627dd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4c627dd |
|
|
|
93d04a1 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
|
|
93d04a1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
93d04a1 |
|
|
|
05d64e5 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-2
|
|
|
05d64e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
05d64e5 |
|
|
Parag Nemade |
0a50306 |
* Mon Jul 18 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1-1
|
|
Parag Nemade |
0a50306 |
- Initial spec
|