debian/0000755000000000000000000000000012001501354007155 5ustar debian/rules0000755000000000000000000000141312001501264010234 0ustar #!/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.sgml0000644000000000000000000001637611676373632014027 0ustar 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; DESCRIPTION This 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. OPTIONS This 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 ALSO celerycam (1). AUTHOR This 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/compat0000644000000000000000000000000211676160276010400 0ustar 7 debian/control0000644000000000000000000000515611761442003010576 0ustar 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/clean0000644000000000000000000000012111676373632010203 0ustar djcelerymon.1 django_celery.egg-info/PKG-INFO django_celery.egg-info/SOURCES.txt debian/python-django-celery.install0000644000000000000000000000000511676160276014627 0ustar usr/ debian/watch0000644000000000000000000000013511676160276010232 0ustar version=3 http://pypi.python.org/packages/source/d/django-celery/django-celery-(.*)\.tar\.gz debian/python-django-celery-doc.doc-base0000644000000000000000000000072311676160276015410 0ustar 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.docs0000644000000000000000000000001411676160276014654 0ustar .build/html debian/copyright0000644000000000000000000000341111761442003011116 0ustar 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.manpages0000644000000000000000000000001611676160276014756 0ustar djcelerymon.1 debian/patches/0000755000000000000000000000000012001501354010604 5ustar debian/patches/series0000644000000000000000000000007012001501264012016 0ustar skip_tests.patch fix_dependencies.patch no-issues.patch debian/patches/no-issues.patch0000644000000000000000000000132512001501264013553 0ustar 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.patch0000644000000000000000000000261611761442003014031 0ustar 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.patch0000644000000000000000000000270711676373632015156 0ustar 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.docs0000644000000000000000000000002011676160276014106 0ustar FAQ TODO README debian/changelog0000644000000000000000000000161012001501264011025 0ustar 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/0000755000000000000000000000000012001501354010455 5ustar debian/source/format0000644000000000000000000000001411676160276011710 0ustar 3.0 (quilt)