From d581ebb9e08339af973a13d6f4425787da830a5da5f5fda3714df01c463821ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 24 Dec 2017 15:47:37 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + Cheetah3-3.0.0.tar.gz | 3 ++ python-Cheetah3.changes | 13 +++++++++ python-Cheetah3.spec | 63 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Cheetah3-3.0.0.tar.gz create mode 100644 python-Cheetah3.changes create mode 100644 python-Cheetah3.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Cheetah3-3.0.0.tar.gz b/Cheetah3-3.0.0.tar.gz new file mode 100644 index 0000000..ebc1e25 --- /dev/null +++ b/Cheetah3-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53be5db7419e08d71b5b10c9cf0a722c4fd2f5f3aff63976fc22bd20db29f877 +size 874174 diff --git a/python-Cheetah3.changes b/python-Cheetah3.changes new file mode 100644 index 0000000..7143bf0 --- /dev/null +++ b/python-Cheetah3.changes @@ -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 diff --git a/python-Cheetah3.spec b/python-Cheetah3.spec new file mode 100644 index 0000000..f332ec6 --- /dev/null +++ b/python-Cheetah3.spec @@ -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