[python-peewee] Initial import (#929083)

Matej Stuchlik mstuchli at fedoraproject.org
Wed Apr 3 06:10:59 UTC 2013


commit 89b198e9d3391ed1bdc28e28c48afbc7029e0739
Author: Matej Stuchlik <mstuchli at redhat.com>
Date:   Wed Apr 3 08:08:03 2013 +0200

    Initial import (#929083)

 .gitignore         |    1 +
 python-peewee.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b465724 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/peewee-2.0.9.tar.gz
diff --git a/python-peewee.spec b/python-peewee.spec
new file mode 100644
index 0000000..b14099e
--- /dev/null
+++ b/python-peewee.spec
@@ -0,0 +1,47 @@
+%global pypi_name peewee
+
+Name:		python-%{pypi_name}
+Version:	2.0.9
+Release:	2%{?dist}
+Summary:	A small, expressive orm
+
+License:	MIT
+URL:		http://github.com/coleifer/peewee/
+Source0:	https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+
+BuildArch:	noarch
+BuildRequires:	python2-devel python-setuptools
+
+%description
+A small, expressive ORM written in python with built-in support for sqlite,
+mysql and postgresql and special extensions like hstore. For flask
+integration, including an admin interface and RESTful API, check out
+flask-peewee.
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install --skip-build -O1 --root %{buildroot}
+rm %{buildroot}%{python_sitelib}/pwiz.*
+mv %{buildroot}%{_bindir}/{pwiz.py,pwiz} 
+
+%check
+%{__python} setup.py test
+
+%files
+%doc LICENSE README.rst
+%{python_sitelib}/peewee.py*
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/playhouse
+%{_bindir}/*
+
+%changelog
+* Tue Apr 02 2013 Matej Stuchlik <mstuchli at redhat.com> - 2.0.9-2
+- Review fixes
+
+* Fri Mar 29 2013 mstuchli <mstuchli at redhat.com> - 2.0.9-1
+- Initial spec
diff --git a/sources b/sources
index e69de29..4f4f77c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+609c7c0df3306557222b6b8da9b07ae3  peewee-2.0.9.tar.gz


More information about the scm-commits mailing list