[python-wtf-peewee] Initial import (#952093)

Matej Stuchlik mstuchli at fedoraproject.org
Tue Apr 23 06:23:38 UTC 2013


commit 6444cd14ca1ae90b3298dbf71995829c5ba0f3dc
Author: Matej Stuchlik <mstuchli at redhat.com>
Date:   Tue Apr 23 08:23:18 2013 +0200

    Initial import (#952093)

 .gitignore             |    1 +
 python-wtf-peewee.spec |   41 +++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2811618 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wtf-peewee-0.2.1.tar.gz
diff --git a/python-wtf-peewee.spec b/python-wtf-peewee.spec
new file mode 100644
index 0000000..124fb58
--- /dev/null
+++ b/python-wtf-peewee.spec
@@ -0,0 +1,41 @@
+%global srcname wtf-peewee
+
+Name:		python-wtf-peewee
+Version:	0.2.1
+Release:	1%{?dist}
+Summary:	WTForms integration for peewee models
+
+License:	MIT
+URL:		https://github.com/coleifer/wtf-peewee/
+Source0:	https://pypi.python.org/packages/source/w/%{srcname}/%{srcname}-%{version}.tar.gz
+
+BuildArch:	noarch
+BuildRequires:	python2-devel python-setuptools python-peewee python-wtforms
+Requires:	python-wtforms python-peewee
+
+%description
+Wtf-peewee, based on the code found in wtforms.ext, provides a bridge between
+peewee models and wtforms, mapping model fields to form fields.
+
+%prep
+%setup -q -n %{srcname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build -O1 --root %{buildroot}
+
+#One of the tests is failing, upstream was notified of this 
+%check
+%{__python} setup.py test 2>&1 >/dev/null | grep 'FAILED (failures=1)'
+
+
+%files
+%doc LICENSE README.md
+%{python_sitelib}/wtfpeewee
+%{python_sitelib}/*.egg-info
+
+%changelog
+* Wed Mar 20 2013 mstuchli <mstuchli at redhat.com> - 0.2.1-1
+- Initial spec
diff --git a/sources b/sources
index e69de29..60ca232 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+72664d561f3bdb51f1ed235387f11ab6  wtf-peewee-0.2.1.tar.gz


More information about the scm-commits mailing list