14
0

Accepting request 559738 from home:pluskalm:branches:devel:languages:python

add me as maintainer

OBS-URL: https://build.opensuse.org/request/show/559738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2017-12-24 15:47:37 +00:00
committed by Git OBS Bridge
commit d581ebb9e0
5 changed files with 103 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
Cheetah3-3.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53be5db7419e08d71b5b10c9cf0a722c4fd2f5f3aff63976fc22bd20db29f877
size 874174

13
python-Cheetah3.changes Normal file
View File

@@ -0,0 +1,13 @@
-------------------------------------------------------------------
Sun Dec 24 15:45:04 UTC 2017 - mpluskal@suse.com
- Cleanup spec file
* Run spec-cleaner
* Remove text that does not belong to describtions
* Install license
- Build only python3 version
-------------------------------------------------------------------
Thu Dec 7 22:00:04 UTC 2017 - boris@steki.net
- initial packaging

63
python-Cheetah3.spec Normal file
View File

@@ -0,0 +1,63 @@
#
# spec file for package python-Cheetah3
#
# 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 skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Cheetah3
Version: 3.0.0
Release: 0
Summary: Cheetah is a template engine and code generation tool
License: MIT
Group: Development/Languages/Python
URL: http://cheetahtemplate.org/
Source: https://files.pythonhosted.org/packages/source/C/Cheetah3/Cheetah3-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: Cheetah3 = %{version}
%python_subpackages
%description
Cheetah3 is a free (BSD-style) and open source template engine and code
generation tool.
It can be used standalone or combined with other tools and frameworks. Web
development is its principle use, but Cheetah is very flexible and is also being
used to generate C++ game code, Java, sql, form emails and even Python code.
It's a fork of the original CheetahTemplate library.
%prep
%setup -q -n Cheetah3-%{version}
%build
%python_build
%install
%python_install
%fdupes %{buildroot}
%files %{python_files}
%doc ANNOUNCE.rst LICENSE README.rst BUGS
%python3_only %{_bindir}/cheetah
%python3_only %{_bindir}/cheetah-analyze
%python3_only %{_bindir}/cheetah-compile
%{python_sitearch}/*
%changelog