Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
python-Mako
python-Mako.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Mako.spec of Package python-Mako
# # spec file for package python-Mako # # Copyright (c) 2017 SUSE LINUX 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 oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Mako Version: 1.0.7 Release: 0 Summary: A Python templating language License: MIT Group: Development/Languages/Python Url: http://www.makotemplates.org/ Source: https://pypi.io/packages/source/M/Mako/Mako-%{version}.tar.gz BuildRequires: %{python_module MarkupSafe} BuildRequires: %{python_module devel} BuildRequires: %{python_module mock} BuildRequires: %{python_module pbr} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-MarkupSafe Recommends: python-Beaker >= 1.1 %ifpython2 Provides: %{oldpython}-mako = %{version} Obsoletes: %{oldpython}-mako < %{version} %endif %ifpython3 Provides: python3-mako = %{version} Obsoletes: python3-mako < %{version} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description Mako is a template library written in Python. It provides a non-XML syntax which compiles into Python modules for performance. Mako's syntax and API borrows from Django templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server Page) language, which refines the ideas of componentized layout and inheritance, while maintaining close ties to Python calling and scoping semantics. %prep %setup -q -n Mako-%{version} %build %python_build %install %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %python_exec setup.py test %files %{python_files} %defattr(-,root,root,-) %doc CHANGES LICENSE README.rst %doc examples %python3_only %{_bindir}/mako-render %{python_sitelib}/mako/ %{python_sitelib}/Mako-%{version}-py*.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor