[Tizen-submit] 3295: New package Tizen:2.1:Base/python-cheetah

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:58:52 GMT 2013


Hi,
Adding new package python-cheetah in project Tizen:2.1:Base. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/python-cheetah
Tag: submit/tizen_2.1/20130424.235907
Commit: f387674 Tizen 2.1 base

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3295

  submit:       Tizen:2.1:Base:build/python-cheetah(cleanup) -> Tizen:2.1:Base


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: toolchains/python-cheetah
Tag: submit/tizen_2.1/20130424.235907
Commit: f387674 Tizen 2.1 base

State:   new        2013-04-24T16:29:30 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- python-cheetah.changes
+++ python-cheetah.changes
@@ -0,0 +1,19 @@
+* Mon Feb 20 2012 Jian-feng Ding <jian-feng.ding at intel.com> - 2.4.4
+- Update to 2.4.4
+
+* Fri Apr 02 2010 Priya Vijayan <priya.vijayan at intel.com> - 2.4.2.1
+- Update to 2.4.2.1
+
+* Sat Feb 13 2010 Anas Nashif <anas.nashif at intel.com> - 2.4.1
+- build for other distros
+
+* Wed Dec 23 2009 Anas Nashif <anas.nashif at intel.com> - 2.4.1
+- rename to python-cheetah and comply with python module naming
+- Update to 2.4.1
+
+* Wed Nov 04 2009 Priya Vijayan <priya.vijayan at intel.com> 2.4.0
+- Update to 2.4.0
+
+* Tue Jul 28 2009 Priya Vijayan <priya.vijayan at intel.com> 2.2.1
+- Initial Import to Moblin
+

new:
----
  Cheetah-2.4.4.tar.gz
  python-cheetah.changes
  python-cheetah.manifest
  python-cheetah.spec

spec files:
-----------

++++++ new spec file:
--- python-cheetah.spec
+++ python-cheetah.spec
@@ -0,0 +1,106 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Name:           python-cheetah
+Version:        2.4.4
+Release:        1
+VCS:        toolchains/python-cheetah#2.1_release-0-gf387674
+Summary:        Template engine and code-generator
+
+Group:          Development/Libraries
+License:        MIT
+URL:            http://cheetahtemplate.org/
+Source:         http://pypi.python.org/packages/source/C/Cheetah/Cheetah-%{version}.tar.gz
+Source1001: packaging/python-cheetah.manifest 
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires:  python-devel
+%if 0%{?suse_version}
+BuildRequires:  python-setuptools
+%else
+BuildRequires:  python-setuptools-devel
+%endif
+BuildRequires:  python-lxml, python-pygments, python-markdown
+
+%description
+Cheetah is an open source template engine and code generation tool,
+written in Python. 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.
+
+%prep
+%setup -q -n Cheetah-%{version}
+
+%build
+cp %{SOURCE1001} .
+export CHEETAH_USE_SETUPTOOLS=1
+%{__python} setup.py build
+
+%install
+export CHEETAH_USE_SETUPTOOLS=1
+%if 0%{?suse_version}
+%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES  
+%else
+%{__python} setup.py install --skip-build --root %{buildroot} --prefix=%{_prefix}

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list