summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-24 03:38:11 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-02-24 03:38:11 +0000
commitcac9034ce84746b5f14d8d508a007394d160b737 (patch)
tree2f05d30817a645a5a8f8fd4c7959bf00e95c1798
parent901990063e45a5a7814ea8e33be3f8288ef7d980 (diff)
automatic import of python3-chameleonopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-chameleon.spec89
-rw-r--r--sources1
3 files changed, 91 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..410f02b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Chameleon-3.10.2.tar.gz
diff --git a/python-chameleon.spec b/python-chameleon.spec
new file mode 100644
index 0000000..4f44095
--- /dev/null
+++ b/python-chameleon.spec
@@ -0,0 +1,89 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Chameleon
+Version: 3.10.2
+Release: 1
+Summary: Fast HTML/XML Template Compiler.
+License: BSD-like (http://repoze.org/license.html)
+URL: https://chameleon.readthedocs.io
+Source0: https://files.pythonhosted.org/packages/a2/7c/3e9fcc8fbea27a930835ac13d4d448bd0ce9fc29bd06d3cba95807ac0276/Chameleon-3.10.2.tar.gz
+BuildArch: noarch
+
+
+%description
+Chameleon is an HTML/XML template engine for `Python
+<http://www.python.org>`_. It uses the *page templates* language.
+You can use it in any Python web application with just about any
+version of Python (2.7 and up, including 3.4+ and `pypy
+<http://pypy.org>`_).
+Visit the `documentation <https://chameleon.readthedocs.io/en/latest/>`_
+for more information.
+
+%package -n python3-Chameleon
+Summary: Fast HTML/XML Template Compiler.
+Provides: python-Chameleon
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+%description -n python3-Chameleon
+Chameleon is an HTML/XML template engine for `Python
+<http://www.python.org>`_. It uses the *page templates* language.
+You can use it in any Python web application with just about any
+version of Python (2.7 and up, including 3.4+ and `pypy
+<http://pypy.org>`_).
+Visit the `documentation <https://chameleon.readthedocs.io/en/latest/>`_
+for more information.
+
+%package help
+Summary: Development documents and examples for Chameleon
+Provides: python3-Chameleon-doc
+%description help
+Chameleon is an HTML/XML template engine for `Python
+<http://www.python.org>`_. It uses the *page templates* language.
+You can use it in any Python web application with just about any
+version of Python (2.7 and up, including 3.4+ and `pypy
+<http://pypy.org>`_).
+Visit the `documentation <https://chameleon.readthedocs.io/en/latest/>`_
+for more information.
+
+%prep
+%autosetup -n Chameleon-3.10.2
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-Chameleon -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Feb 24 2023 Python_Bot <Python_Bot@openeuler.org> - 3.10.2-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..d5f11a2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+3731d1833b1645abffb10d9d5e26bd49 Chameleon-3.10.2.tar.gz