debian/ 0000755 0000000 0000000 00000000000 12001501354 007155 5 ustar debian/rules 0000755 0000000 0000000 00000001413 12001501264 010234 0 ustar #!/usr/bin/make -f
%:
dh $@ --with python2,sphinxdoc
.PHONY: override_dh_installman
override_dh_installman:
set -e ; \
for doc in djcelerymon; do \
docbook-to-man debian/manpage.$$doc.sgml > $$doc.1; \
done
dh_installman
.PHONY: override_dh_auto_build
override_dh_auto_build:
PYTHONPATH=. DEB_BUILD_ISSUES=disabled sphinx-build -b html -d .build/.doctrees -N docs .build/html
dh_auto_build
.PHONY: override_dh_compress
override_dh_compress:
dh_compress -X .js -X .html
.PHONY: override_dh_auto_test
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e; \
for python in $(shell pyversions -r); do \
DEB_NETWORK_TESTS=disabled $$python setup.py test ; \
done
endif
.PHONY: override_dh_clean
override_dh_clean:
rm -rf .build
dh_clean
debian/manpage.djcelerymon.sgml 0000644 0000000 0000000 00000016376 11676373632 014027 0 ustar manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
Michael">
Fladischer">
11 March 2010">
1">
FladischerMichael@fladi.at">
DJCELERYMON">
Debian">
GNU">
GPL">
]>
&dhemail;
&dhfirstname;
&dhsurname;
2010&dhusername;
&dhdate;
&dhucpackage;
&dhsection;
&dhpackage;Django Admin Monitor&dhpackage;DESCRIPTIONThis manual page documents briefly the
&dhpackage; command.This manual page was written for the &debian; distribution
because the original program does not have a manual page.&dhpackage; is a program that can be used by
non-Django users, and it runs both a web server and a snapshot camera by
starting a Django Admin instance and celerycam in the same process.OPTIONSThis program follows the usual &gnu; command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.Verbosity level; 0=minimal output, 1=normal output,2=all
output.The Python path to a settings module, e.g.
"myproject.settings.main". If this isn't provided, the
DJANGO_SETTINGS_MODULE environment variable will be used.A directory to add to the Python path, e.g.
"/home/djangoprojects/myproject".Print traceback on exception.Tells Django to NOT use the auto-reloader.Specifies the directory from which to serve admin media.Dump events to stdout.Camera class to take event snapshots with.Recording: Snapshot frequency.Recording: Shutter rate limit (e.g. 10/m).Loglevel. Default is WARNING.Log file. Default is <stderr>.Show program's version number and exit.Show help message and exit.SEE ALSOcelerycam (1).AUTHORThis manual page was written by &dhusername; &dhemail; for
the &debian; system (and may be used by others). Permission is
granted to copy, distribute and/or modify this document under
the terms of the &gnu; General Public License, Version 2 any
later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
debian/compat 0000644 0000000 0000000 00000000002 11676160276 010400 0 ustar 7
debian/control 0000644 0000000 0000000 00000005156 11761442003 010576 0 ustar Source: django-celery
Section: python
Priority: optional
Maintainer: Debian Python Modules Team
Uploaders: Michael Fladischer
Build-Depends: debhelper (>= 7.0.50~),
docbook-to-man,
python-all (>= 2.7),
python-celery (>=2.5.2),
python-django (>= 1.2),
python-django-nose,
python-django-picklefield (>= 0.2.0),
python-mock,
python-setuptools,
python-sphinx (>= 1.0.7+dfsg),
python-sphinxcontrib.issuetracker,
python-unittest2
Standards-Version: 3.9.3
X-Python-Version: >= 2.7
Homepage: http://pypi.python.org/pypi/django-celery/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/django-celery/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/django-celery/trunk/
Package: python-django-celery
Architecture: all
Depends: python-celery (>= 2.5.2),
python-django (>= 1.2),
python-django-picklefield (>= 0.2.0),
python-pkg-resources,
${misc:Depends},
${python:Depends}
Description: Celery integration for Django
Celery is an open source asynchronous task queue/job queue based on
distributed message passing. It is focused on real-time operation,
but supports scheduling as well.
.
django-celery provides Celery integration for Django using the Django ORM and
cache backend for storing results, autodiscovery of task modules for
applications listed in INSTALLED_APPS, and integration of task monitoring
through the Django admin interface.
.
Using it in a Django project provides a way to distribute asynchronous tasks
like sending emails or batch-processing larger datasets to one or more
separate worker nodes.
Package: python-django-celery-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
Description: Celery integration for Django (Documentation)
Celery is an open source asynchronous task queue/job queue based on
distributed message passing. It is focused on real-time operation,
but supports scheduling as well.
.
django-celery provides Celery integration for Django using the Django ORM and
cache backend for storing results, autodiscovery of task modules for
applications listed in INSTALLED_APPS, and integration of task monitoring
through the Django admin interface.
.
Using it in a Django project provides a way to distribute asynchronous tasks
like sending emails or batch-processing larger datasets to one or more
separate worker nodes.
.
This package contains the documentation.
debian/clean 0000644 0000000 0000000 00000000121 11676373632 010203 0 ustar djcelerymon.1
django_celery.egg-info/PKG-INFO
django_celery.egg-info/SOURCES.txt
debian/python-django-celery.install 0000644 0000000 0000000 00000000005 11676160276 014627 0 ustar usr/
debian/watch 0000644 0000000 0000000 00000000135 11676160276 010232 0 ustar version=3
http://pypi.python.org/packages/source/d/django-celery/django-celery-(.*)\.tar\.gz
debian/python-django-celery-doc.doc-base 0000644 0000000 0000000 00000000723 11676160276 015410 0 ustar Document: python-django-celery
Title: Python Django Celery Documentation
Author: Ask Solem
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-django-celery-doc/html/index.html
Files: /usr/share/doc/python-django-celery-doc/html/*.html
/usr/share/doc/python-django-celery-doc/html/cookbook/*.html
/usr/share/doc/python-django-celery-doc/html/reference/*.html
/usr/share/doc/python-django-celery-doc/html/getting-started/*.html
debian/python-django-celery-doc.docs 0000644 0000000 0000000 00000000014 11676160276 014654 0 ustar .build/html
debian/copyright 0000644 0000000 0000000 00000003411 11761442003 011116 0 ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: django-celery
Upstream-Contact: Ask Solem
Source: http://pypi.python.org/pypi/django-celery
Files: *
Copyright: 2009-2012, Ask Solem
License: BSD-solem
Files: debian/*
Copyright: 2012, Michael Fladischer
License: BSD-solem
License: BSD-solem
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* 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.
.
Neither the name of Ask Solem 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.
debian/python-django-celery.manpages 0000644 0000000 0000000 00000000016 11676160276 014756 0 ustar djcelerymon.1
debian/patches/ 0000755 0000000 0000000 00000000000 12001501354 010604 5 ustar debian/patches/series 0000644 0000000 0000000 00000000070 12001501264 012016 0 ustar skip_tests.patch
fix_dependencies.patch
no-issues.patch
debian/patches/no-issues.patch 0000644 0000000 0000000 00000001325 12001501264 013553 0 ustar Description: Do not build issues if DEB_BUILD_ISSUES=disabled
Building the issues via sphinxcontrib.issuetracker requires
a network connection which is not available on Debian
buildds.
Author: Evgeni Golov
Bug-Debian: http://bugs.debian.org/681379
--- django-celery-2.5.5.orig/docs/conf.py
+++ django-celery-2.5.5/docs/conf.py
@@ -77,6 +77,7 @@ html_sidebars = {
}
### Issuetracker
-issuetracker = "github"
-issuetracker_project = "ask/django-celery"
-issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'
+if os.environ.get("DEB_BUILD_ISSUES", False) != "disabled":
+ issuetracker = "github"
+ issuetracker_project = "ask/django-celery"
+ issuetracker_issue_pattern = r'[Ii]ssue #(\d+)'
debian/patches/skip_tests.patch 0000644 0000000 0000000 00000002616 11761442003 014031 0 ustar Description: disable certain unittests by environment
This patch allows to set the environment variable DEB_NETWORK_TESTS to
"disabled" which will cause certain tests that rely on networking
(loopback interface) to be skipped. This is used for the webhook tests
by now.
Author: Michael Fladischer
Last-Update: 2012-05-20
Forwarded: not-needed
--- a/djcelery/tests/test_views.py
+++ b/djcelery/tests/test_views.py
@@ -1,12 +1,14 @@
from __future__ import absolute_import
import sys
+import os
from functools import partial
from django.core.urlresolvers import reverse
from django.http import HttpResponse
from django.test.testcases import TestCase as DjangoTestCase
+from django.utils.unittest import skipIf
from django.template import TemplateDoesNotExist
from anyjson import deserialize
@@ -120,6 +122,7 @@
class test_webhook_task(ViewTestCase):
+ @skipIf(os.environ.get("DEB_NETWORK_TESTS", False) == "disabled", "network tests disabled by environment")
def test_successful_request(self):
@task_webhook
@@ -133,6 +136,7 @@
self.assertDictContainsSubset({"status": "success", "retval": 20},
deserialize(response.content))
+ @skipIf(os.environ.get("DEB_NETWORK_TESTS", False) == "disabled", "network tests disabled by environment")
def test_failed_request(self):
@task_webhook
debian/patches/fix_dependencies.patch 0000644 0000000 0000000 00000002707 11676373632 015156 0 ustar Description: Remove pretty-printing nose-cover3 from build.
nose-cover3 is not essential to the build-proccess and is not packaged
for Debian. Thus removing it from the sources.
Author: Michael Fladischer
Forwarded: not-needed
Last-Update: 2011-11-28
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -26,10 +26,7 @@
)
NOSE_ARGS = [os.path.join(here, os.pardir, "djcelery", "tests"),
- os.environ.get("NOSE_VERBOSE") and "--verbose" or "",
- "--cover3-package=djcelery",
- "--cover3-branch",
- "--cover3-exclude=%s" % ",".join(COVERAGE_EXCLUDE_MODULES)]
+ os.environ.get("NOSE_VERBOSE") and "--verbose" or ""]
BROKER_HOST = "localhost"
BROKER_PORT = 5672
--- a/requirements/test.txt
+++ b/requirements/test.txt
@@ -1,7 +1,6 @@
unittest2>=0.4.0
coverage>=3.0
nose
-nose-cover3
mock
django
django-nose
--- a/setup.py
+++ b/setup.py
@@ -102,16 +102,9 @@
def extra_args(self):
toxinidir = os.environ.get("TOXINIDIR", "")
return [
- "--with-coverage3",
- "--cover3-xml",
- "--cover3-xml-file=%s" % (
- os.path.join(toxinidir, "coverage.xml"), ),
"--with-xunit",
"--xunit-file=%s" % (
os.path.join(toxinidir, "nosetests.xml"), ),
- "--cover3-html",
- "--cover3-html-dir=%s" % (
- os.path.join(toxinidir, "cover"), ),
]
debian/python-django-celery.docs 0000644 0000000 0000000 00000000020 11676160276 014106 0 ustar FAQ
TODO
README
debian/changelog 0000644 0000000 0000000 00000001610 12001501264 011025 0 ustar django-celery (2.5.5-2) unstable; urgency=low
* Do not build issues by default, they need a network connection. Thanks to
Evgeni Golov for the patch! (Closes: #681379)
-- Michael Fladischer Wed, 18 Jul 2012 10:14:52 +0200
django-celery (2.5.5-1) unstable; urgency=low
* New upstream release.
* Modify PYTHONPATH for sphinx-build.
* Add patch to skip webhooks tests (Closes: #669473).
* Bump dependency on python-celery to (>= 2.5.2).
* Bump dependency on python-django-picklefield to (>= 0.2.0).
* Bump Standards-Version to 3.9.3.
* Update DEP-5 URL to 1.0.
* Update years in d/copyright.
-- Michael Fladischer Wed, 30 May 2012 11:33:34 +0200
django-celery (2.4.2-1) unstable; urgency=low
* Initial release (Closes: #588229)
-- Michael Fladischer Tue, 27 Dec 2011 15:03:32 +0100
debian/source/ 0000755 0000000 0000000 00000000000 12001501354 010455 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11676160276 011710 0 ustar 3.0 (quilt)