From 81fe48e801ad9eeb8c6e2364f5a7845dda1ed1f9 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 13 Apr 2017 10:25:24 +0900 Subject: [PATCH] Bump to python-mako 1.0.6 [Model] All [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] Bump to python-mako 1.0.6 [Cause & Measure] Bump to python-mako 1.0.6 [Checking Method] N/A [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I3871b4b919f3ba59569ab8d96c15d754ba009704 Signed-off-by: DongHun Kwak --- packaging/python-mako.manifest | 5 +++ packaging/python-mako.spec | 76 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 packaging/python-mako.manifest create mode 100644 packaging/python-mako.spec diff --git a/packaging/python-mako.manifest b/packaging/python-mako.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python-mako.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python-mako.spec b/packaging/python-mako.spec new file mode 100644 index 0000000..da637ad --- /dev/null +++ b/packaging/python-mako.spec @@ -0,0 +1,76 @@ +# +# spec file for package python-Mako +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +%define debug_package %{nil} + +Name: python-mako +Version: 1.0.6 +Release: 0 +Url: http://www.makotemplates.org/ +Summary: A super-fast Python templating language +License: MIT +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/M/Mako/Mako-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: python-MarkupSafe +BuildRequires: python-devel +BuildRequires: python-mock +BuildRequires: python-setuptools +BuildRequires: python-nose + +Suggests: python-Beaker >= 1.1 +Requires: python-MarkupSafe + +Provides: python-mako = %{version} +Obsoletes: python-mako < %{version} + +%description +Mako is a template library written in Python. It provides a familiar, non-XML +syntax which compiles into Python modules for maximum performance. Mako's +syntax and API borrows from the best ideas of many others, including Django +templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded +Python (i.e. Python Server Page) language, which refines the familiar ideas +of componentized layout and inheritance to produce one of the most +straightforward and flexible models available, while also maintaining close +ties to Python calling and scoping semantics. + +%prep +%setup -q -n Mako-%{version} + +%build +cp %{SOURCE1001} . +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +python setup.py test + +%remove_docs + +%files +%manifest %{name}.manifest +%defattr(-,root,root,-) +%license LICENSE +%{_bindir}/mako-render +%{python_sitelib}/mako/ +%{python_sitelib}/Mako-%{version}-py%{py_ver}.egg-info + +%changelog + -- 2.7.4