[pystache] Initial import (#749099)
Ankur Sinha
ankursinha at fedoraproject.org
Mon Oct 31 13:58:17 UTC 2011
commit ff26b9a56b4306529283c21eac988d31ff8fe9aa
Author: Ankur Sinha <sanjay.ankur at gmail.com>
Date: Mon Oct 31 19:28:10 2011 +0530
Initial import (#749099)
.gitignore | 1 +
pystache.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..68e9491 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pystache-0.3.1.tar.gz
diff --git a/pystache.spec b/pystache.spec
new file mode 100644
index 0000000..8cb5a52
--- /dev/null
+++ b/pystache.spec
@@ -0,0 +1,43 @@
+Name: pystache
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: Mustache for Python
+
+License: MIT
+URL: http://pypi.python.org/pypi/%{name}/
+Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python-devel
+
+%description
+Inspired by ctemplate and et, Mustache is a framework-agnostic way to render
+logic-free views.
+
+As ctemplates says, "It emphasizes separating logic from presentation: it is
+impossible to embed application logic in this template language."
+
+Pystache is a Python implementation of Mustache. It has been tested with Python
+2.6.1.
+
+%prep
+%setup -q
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc PKG-INFO HISTORY.rst README.rst
+%{python_sitelib}/%{name}/
+%{python_sitelib}/%{name}-%{version}-py?.?.egg-info
+
+%changelog
+* Wed Oct 26 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.1-1
+Initial rpmbuild
diff --git a/sources b/sources
index e69de29..af3a9fa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f37d4420f00039843f29a4900ff52131 pystache-0.3.1.tar.gz
More information about the scm-commits
mailing list