[Python-modules-commits] [celery-haystack] 02/02: Initial release (Closes: #795168).

Michael Fladischer fladi at moszumanska.debian.org
Tue Aug 11 11:21:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository celery-haystack.

commit 6a9ff3531699c2344a8a5bf5d3d8cb7da51890b6
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue Aug 11 13:14:51 2015 +0200

    Initial release (Closes: #795168).
---
 debian/changelog                               |  5 +++
 debian/compat                                  |  1 +
 debian/control                                 | 60 ++++++++++++++++++++++++++
 debian/copyright                               | 38 ++++++++++++++++
 debian/patches/django1.7_test_middleware.patch | 20 +++++++++
 debian/patches/series                          |  1 +
 debian/python-django-celery-haystack.docs      |  1 +
 debian/python3-django-celery-haystack.docs     |  1 +
 debian/rules                                   | 16 +++++++
 debian/source/format                           |  1 +
 debian/watch                                   |  4 ++
 11 files changed, 148 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ed2db96
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+celery-haystack (0.9-1) unstable; urgency=low
+
+  * Initial release (Closes: #795168).
+
+ -- Michael Fladischer <fladi at debian.org>  Tue, 11 Aug 2015 12:49:37 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..aa495fb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,60 @@
+Source: celery-haystack
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-appconf,
+               python-celery,
+               python-d2to1,
+               python-django,
+               python-django-celery,
+               python-django-celery-transactions,
+               python-django-haystack,
+               python-setuptools,
+               python-whoosh,
+               python3-all,
+               python3-celery,
+               python3-d2to1,
+               python3-django,
+               python3-django-celery,
+               python3-django-celery-transactions,
+               python3-django-haystack,
+               python3-setuptools,
+               python3-whoosh
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/celery-haystack.git
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/celery-haystack.git
+Homepage: https://github.com/django-haystack/celery-haystack
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+
+Package: python-django-celery-haystack
+Architecture: all
+Depends: python-appconf,
+         python-django,
+         python-django-celery-transactions,
+         python-django-haystack,
+         ${misc:Depends},
+         ${python:Depends}
+Description: utilize Celery for automatic haystack index updates
+ This Django app allows you to utilize Celery for automatically updating and
+ deleting objects in a Haystack search index. It provides a SearchIndex
+ subclass and a signal processor to trigger the updates.
+
+Package: python3-django-celery-haystack
+Architecture: all
+Depends: python3-appconf,
+         python3-django,
+         python3-django-celery-transactions,
+         python3-django-haystack,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: utilize Celery for automatic haystack index updates (Python3 version)
+ This Django app allows you to utilize Celery for automatically updating and
+ deleting objects in a Haystack search index. It provides a SearchIndex
+ subclass and a signal processor to trigger the updates.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7d08fa9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: celery-haystack
+Upstream-Contact: Jannis Leidel <jannis at leidel.info>
+Source: https://github.com/django-haystack/celery-haystack
+
+Files: *
+Copyright: 2011-2013, Jannis Leidel and contributors.
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2015, Fladischer Michael <fladi at debian.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+     1. Redistributions of source code must retain the above copyright notice,
+        this list of conditions and the following disclaimer.
+ .
+     2. Redistributions in binary form must reproduce the above copyright
+        notice, this list of conditions and the following disclaimer in the
+        documentation and/or other materials provided with the distribution.
+ .
+     3. Neither the name of celery-haystack nor the names of its contributors may
+        be used to endorse or promote products derived from this software without
+        specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/patches/django1.7_test_middleware.patch b/debian/patches/django1.7_test_middleware.patch
new file mode 100644
index 0000000..b181c0f
--- /dev/null
+++ b/debian/patches/django1.7_test_middleware.patch
@@ -0,0 +1,20 @@
+Description: Add the recommended minimum MIDDLEWARE_CLASSES.
+ This silences warnings while running the tests.
+Forwarded: no
+Author: Michael Fladischer <fladi at debian.org>
+Last-Update: 2015-08-11
+Index: celery-haystack/celery_haystack/test_settings.py
+===================================================================
+--- celery-haystack.orig/celery_haystack/test_settings.py	2015-08-11 12:02:19.680979687 +0200
++++ celery-haystack/celery_haystack/test_settings.py	2015-08-11 12:28:19.052790585 +0200
+@@ -28,6 +28,10 @@
+ 
+ SECRET_KEY = 'really-not-secret'
+ 
++MIDDLEWARE_CLASSES = (
++    'django.middleware.common.CommonMiddleware',
++)
++
+ BROKER_TRANSPORT = "memory"
+ CELERY_ALWAYS_EAGER = True
+ CELERY_IGNORE_RESULT = True
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cb83ec9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+django1.7_test_middleware.patch
diff --git a/debian/python-django-celery-haystack.docs b/debian/python-django-celery-haystack.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-django-celery-haystack.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-django-celery-haystack.docs b/debian/python3-django-celery-haystack.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-django-celery-haystack.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..207b74c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-celery-haystack
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=. HAYSTACK=v2 python2.7 /usr/bin/django-admin test --settings=celery_haystack.test_settings" dh_auto_test
+
+override_dh_clean:
+	rm -rf celery_haystack/tests/whoosh_index
+	dh_clean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c8fbefc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.+\/v([\d\.]+)\.tar\.gz/celery-haystack-$1.tar.gz/ \
+https://github.com/django-haystack/celery-haystack/releases \
+/django-haystack/celery-haystack/archive/v([\d\.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/celery-haystack.git



More information about the Python-modules-commits mailing list