[python-flask-whooshee] Initial import (#950624).

Robert Kuska rkuska at fedoraproject.org
Mon Apr 22 05:23:48 UTC 2013


commit 0c373d12d1f291b928b0c9980912b07e5249be0e
Author: Robert Kuska <rkuska at localhost.localdomain>
Date:   Mon Apr 22 07:23:30 2013 +0200

    Initial import (#950624).

 .gitignore                             |    1 +
 python-flask-whooshee-0.0.5-test.patch |   10 ++++++
 python-flask-whooshee.spec             |   55 ++++++++++++++++++++++++++++++++
 sources                                |    1 +
 4 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9c9abda 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/flask-whooshee-0.0.5.tar.gz
diff --git a/python-flask-whooshee-0.0.5-test.patch b/python-flask-whooshee-0.0.5-test.patch
new file mode 100644
index 0000000..e4755c6
--- /dev/null
+++ b/python-flask-whooshee-0.0.5-test.patch
@@ -0,0 +1,10 @@
+--- setup.py.orig	2013-04-10 12:56:26.677356121 +0200
++++ setup.py	2013-04-10 12:56:54.922707644 +0200
+@@ -22,6 +22,7 @@
+                       'whoosh',
+                      ],
+     setup_requires = [],
++    test_suite= 'test',
+     classifiers = ['Development Status :: 3 - Alpha',
+                    'Environment :: Web Environment',
+                    'Intended Audience :: Developers',
diff --git a/python-flask-whooshee.spec b/python-flask-whooshee.spec
new file mode 100644
index 0000000..1ad63ba
--- /dev/null
+++ b/python-flask-whooshee.spec
@@ -0,0 +1,55 @@
+%global mod_name flask-whooshee
+
+Name:           python-flask-whooshee
+Version:        0.0.5
+Release:        2%{?dist}
+Summary:        Whoosh integration
+
+License:        GPLv2+
+URL:            https://github.com/bkabrda/flask-whooshee
+Source0:        https://pypi.python.org/packages/source/f/%{mod_name}/%{mod_name}-%{version}.tar.gz
+# Adds test_suite line into setup.py
+Patch1:         python-flask-whooshee-0.0.5-test.patch
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+# Test build requires
+BuildRequires:  python-whoosh
+BuildRequires:  python-flask
+BuildRequires:  python-flask-sqlalchemy
+BuildRequires:  python-blinker
+
+Requires:       python-flask-sqlalchemy
+Requires:       python-whoosh
+Requires:       python-blinker
+Requires:       python-flask
+
+%description
+Whoosh integration that allows to create and search custom indexes.
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+%patch1
+
+%build
+%{__python} setup.py build
+
+%check
+%{__python} setup.py test
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc LICENSE README.md
+%{python_sitelib}/flask_whooshee.py*
+%{python_sitelib}/*.egg-info
+
+
+%changelog
+* Thu Apr 11 2013 Robert Kuska <rkuska at redhat.com> 0.0.5-2
+- Review fixes
+
+* Wed Apr 10 2013 Robert Kuska <rkuska at redhat.com> 0.0.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..333c736 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ed526115c1caebcac92f61e2d424b882  flask-whooshee-0.0.5.tar.gz


More information about the scm-commits mailing list