0.3.4 release, fix python3 requires, misc cleanups
This commit is contained in:
parent
c06d6d2231
commit
1390f0d41d
@ -1 +1 @@
|
|||||||
Mako-0.3.3.tar.gz
|
Mako-0.3.4.tar.gz
|
||||||
|
@ -1,24 +1,28 @@
|
|||||||
|
%if 0%{?fedora} > 12 || 0%{?rhel} > 6
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
|
%else
|
||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: python-mako
|
Name: python-mako
|
||||||
Version: 0.3.3
|
Version: 0.3.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Mako template library for Python
|
Summary: Mako template library for Python
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: MIT
|
# Mostly MIT, but _ast_util.py is Python licensed.
|
||||||
|
License: MIT and Python
|
||||||
URL: http://www.makotemplates.org/
|
URL: http://www.makotemplates.org/
|
||||||
Source0: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz
|
Source0: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-setuptools-devel python-nose
|
BuildRequires: python-setuptools-devel python-nose python-markupsafe
|
||||||
Requires: python-beaker
|
Requires: python-beaker python-markupsafe
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-markupsafe
|
||||||
BuildRequires: /usr/bin/2to3
|
BuildRequires: /usr/bin/2to3
|
||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
|
|
||||||
@ -36,6 +40,7 @@ calling and scoping semantics.
|
|||||||
%package -n python3-mako
|
%package -n python3-mako
|
||||||
Summary: Mako template library for Python 3
|
Summary: Mako template library for Python 3
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
|
Requires: python3-beaker python3-markupsafe
|
||||||
|
|
||||||
%description -n python3-mako
|
%description -n python3-mako
|
||||||
Mako is a template library written in Python. It provides a familiar, non-XML
|
Mako is a template library written in Python. It provides a familiar, non-XML
|
||||||
@ -79,6 +84,10 @@ popd
|
|||||||
|
|
||||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
# These are supporting files for building the docs. Also, they
|
||||||
|
# contain files licensed GPLv2 or BSD which confuses the licensing
|
||||||
|
# situation. Just don't ship them.
|
||||||
|
rm -rf doc/build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
PYTHONPATH=$(pwd) nosetests
|
PYTHONPATH=$(pwd) nosetests
|
||||||
@ -102,6 +111,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jun 27 2010 Kyle VanderBeek <kylev@kylev.com> - 0.3.4-1
|
||||||
|
- Update to 0.3.4 security fix release
|
||||||
|
- Fix missing python3-beaker dependency
|
||||||
|
|
||||||
* Sat Jun 5 2010 Kyle VanderBeek <kylev@kylev.com> - 0.3.3-1
|
* Sat Jun 5 2010 Kyle VanderBeek <kylev@kylev.com> - 0.3.3-1
|
||||||
- Update to upstream 0.3.3
|
- Update to upstream 0.3.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user