|
|
0a46a2e |
%global modname pyramid_mako
|
|
|
acd37ce |
%global srcname pyramid-mako
|
|
|
0a46a2e |
|
|
|
acd37ce |
Name: python-%{srcname}
|
|
|
acd37ce |
Version: 1.0.2
|
|
|
87a20ba |
Release: 16%{?dist}
|
|
|
0a46a2e |
Summary: Mako template bindings for the Pyramid web framework
|
|
|
0a46a2e |
|
|
|
0a46a2e |
License: BSD
|
|
|
acd37ce |
URL: http://pypi.python.org/pypi/%{modname}
|
|
|
acd37ce |
Source0: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
|
|
0a46a2e |
|
|
|
0a46a2e |
BuildArch: noarch
|
|
|
0a46a2e |
|
|
|
acd37ce |
BuildRequires: python3-devel
|
|
|
acd37ce |
BuildRequires: python3-setuptools
|
|
|
acd37ce |
BuildRequires: python3-pyramid
|
|
|
0a46a2e |
|
|
|
ed991b7 |
# For the test suite
|
|
|
acd37ce |
BuildRequires: python3-webtest
|
|
|
acd37ce |
BuildRequires: python3-nose
|
|
|
acd37ce |
BuildRequires: python3-mako
|
|
|
0a46a2e |
|
|
|
0a46a2e |
%description
|
|
|
0a46a2e |
These are bindings for the Mako templating system for the Pyramid web
|
|
|
0a46a2e |
framework.
|
|
|
0a46a2e |
|
|
|
acd37ce |
|
|
|
acd37ce |
%package -n python3-%{srcname}
|
|
|
acd37ce |
Summary: %{summary}
|
|
|
acd37ce |
Requires: python3-mako
|
|
|
acd37ce |
Requires: python3-pyramid
|
|
|
acd37ce |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
acd37ce |
|
|
|
acd37ce |
%description -n python3-%{srcname}
|
|
|
acd37ce |
These are bindings for the Mako templating system for the Pyramid web
|
|
|
acd37ce |
framework.
|
|
|
acd37ce |
|
|
|
acd37ce |
|
|
|
0a46a2e |
%prep
|
|
|
0a46a2e |
%setup -q -n %{modname}-%{version}
|
|
|
0a46a2e |
|
|
|
0a46a2e |
# Remove bundled egg-info in case it exists
|
|
|
0a46a2e |
rm -rf %{modname}.egg-info
|
|
|
5802e71 |
awk 'NR==3{print "import __main__; __main__.__requires__ = __requires__ = [\"WebTest>=1.3.1\", \"WebOb>=1.3.1\", \"zope.interface>=3.8.0\", \"Mako>=0.3.6\"]; import pkg_resources"}3' setup.py > tempfile
|
|
|
4ec880c |
mv tempfile setup.py
|
|
|
0a46a2e |
|
|
|
f2ca4d4 |
# Remove lingering .gitignore file and hidden static folder
|
|
|
0a46a2e |
rm docs/.gitignore
|
|
|
f2ca4d4 |
rm -rf docs/.static
|
|
|
0a46a2e |
|
|
|
acd37ce |
|
|
|
0a46a2e |
%build
|
|
|
acd37ce |
%py3_build
|
|
|
acd37ce |
|
|
|
0a46a2e |
|
|
|
0a46a2e |
%install
|
|
|
acd37ce |
%py3_install
|
|
|
acd37ce |
|
|
|
0a46a2e |
|
|
|
ed991b7 |
%check
|
|
|
acd37ce |
%{__python3} setup.py test
|
|
|
acd37ce |
|
|
|
0a46a2e |
|
|
|
acd37ce |
%files -n python3-%{srcname}
|
|
|
acd37ce |
%doc README.rst COPYRIGHT.txt CONTRIBUTORS.txt CHANGES.txt docs/
|
|
|
acd37ce |
%license LICENSE.txt
|
|
|
acd37ce |
%{python3_sitelib}/%{modname}/
|
|
|
acd37ce |
%{python3_sitelib}/%{modname}-%{version}*
|
|
|
acd37ce |
|
|
|
acd37ce |
|
|
|
0a46a2e |
%changelog
|
|
|
87a20ba |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-16
|
|
|
87a20ba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
87a20ba |
|
|
|
51c61b2 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-15
|
|
|
51c61b2 |
- Rebuilt for Python 3.9
|
|
|
51c61b2 |
|
|
|
02ab172 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-14
|
|
|
02ab172 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
02ab172 |
|
|
|
b73d676 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-13
|
|
|
b73d676 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
b73d676 |
|
|
|
6b0f5de |
* Thu Aug 22 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-12
|
|
|
6b0f5de |
- Subpackage python2-pyramid-mako has been removed
|
|
|
6b0f5de |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
6b0f5de |
|
|
|
e0ea46f |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-11
|
|
|
e0ea46f |
- Rebuilt for Python 3.8
|
|
|
e0ea46f |
|
|
|
5ab6db0 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
|
|
|
5ab6db0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5ab6db0 |
|
|
|
d0acd54 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
|
|
|
d0acd54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
d0acd54 |
|
|
|
b758ffb |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
|
|
|
b758ffb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b758ffb |
|
|
|
686086a |
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-7
|
|
|
686086a |
- Rebuilt for Python 3.7
|
|
|
686086a |
|
|
|
5776b01 |
* Tue Feb 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.2-6
|
|
|
5776b01 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
5776b01 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
5776b01 |
|
|
|
3b47fda |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
|
|
3b47fda |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3b47fda |
|
|
|
84e6f31 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
|
|
84e6f31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
84e6f31 |
|
|
|
4178d78 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
|
|
4178d78 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4178d78 |
|
|
|
bd8cfec |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-2
|
|
|
bd8cfec |
- Rebuild for Python 3.6
|
|
|
bd8cfec |
|
|
|
acd37ce |
* Thu Aug 18 2016 Dominika Krejci <dkrejci@redhat.com> - 1.0.2-1
|
|
|
acd37ce |
- Update to 1.0.2
|
|
|
acd37ce |
- Add Python 3
|
|
|
acd37ce |
|
|
|
41f109c |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0a3-8
|
|
|
41f109c |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
41f109c |
|
|
|
e85efa2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0a3-7
|
|
|
e85efa2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e85efa2 |
|
|
|
5802e71 |
* Mon Dec 14 2015 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0a3-6
|
|
|
5802e71 |
- Fix WebOb dependency for EPEL (#1270297)
|
|
|
5802e71 |
|
|
|
49f753f |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0a3-5
|
|
|
49f753f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
49f753f |
|
|
|
85affe7 |
* Thu Nov 13 2014 Ralph Bean <rbean@redhat.com> - 1.0a3-4
|
|
|
85affe7 |
- Fix rhel conditional.
|
|
|
85affe7 |
|
|
|
f7c7f3d |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0a3-3
|
|
|
f7c7f3d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f7c7f3d |
|
|
|
4ec880c |
* Thu Mar 27 2014 Ralph Bean <rbean@redhat.com> - 1.0a3-2
|
|
|
4ec880c |
- Fix test deps for el6.
|
|
|
4ec880c |
|
|
|
ed991b7 |
* Thu Mar 27 2014 Ralph Bean <rbean@redhat.com> - 1.0a3-1
|
|
|
ed991b7 |
- Latest upstream includes a fixed test suite.
|
|
|
ed991b7 |
- Reenabled the test suite.
|
|
|
ed991b7 |
|
|
|
f2ca4d4 |
* Thu Mar 20 2014 Ralph Bean <rbean@redhat.com> - 1.0a2-2
|
|
|
f2ca4d4 |
- Remove hidden folder as per review.
|
|
|
f2ca4d4 |
|
|
|
0a46a2e |
* Wed Mar 19 2014 Ralph Bean <rbean@redhat.com> - 1.0a2-1
|
|
|
0a46a2e |
- Initial packaging for Fedora
|