[Python-modules-commits] [python-django-celery-results] 02/02: Initial release (Closes: #871640).

Michael Fladischer fladi at moszumanska.debian.org
Thu Aug 10 09:35:48 UTC 2017


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

fladi pushed a commit to branch debian/master
in repository python-django-celery-results.

commit 4c4529296d9e3221a38c41d108160c46ae386e9f
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Thu Aug 10 11:29:40 2017 +0200

    Initial release (Closes: #871640).
---
 debian/changelog                                   |  5 +++
 debian/clean                                       |  7 +++
 debian/compat                                      |  1 +
 debian/control                                     | 50 ++++++++++++++++++++++
 debian/copyright                                   | 39 +++++++++++++++++
 debian/gbp.conf                                    |  2 +
 .../0001-Disable-intersphinx-mapping-for-now.patch | 23 ++++++++++
 debian/patches/series                              |  1 +
 debian/python-django-celery-results-doc.doc-base   |  9 ++++
 debian/python-django-celery-results-doc.docs       |  1 +
 debian/python3-django-celery-results.docs          |  1 +
 debian/rules                                       | 20 +++++++++
 debian/source/format                               |  1 +
 debian/watch                                       |  4 ++
 14 files changed, 164 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f396726
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-django-celery-results (1.0.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #871640).
+
+ -- Michael Fladischer <fladi at debian.org>  Wed, 09 Aug 2017 07:28:31 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..044e5b8
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,7 @@
+django_celery_results.egg-info/PKG-INFO
+django_celery_results.egg-info/SOURCES.txt
+django_celery_results.egg-info/dependency_links.txt
+django_celery_results.egg-info/entry_points.txt
+django_celery_results.egg-info/not-zip-safe
+django_celery_results.egg-info/requires.txt
+django_celery_results.egg-info/top_level.txt
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8cd07ae
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: python-django-celery-results
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python3-all,
+               python3-case,
+               python3-celery (>= 4.1.0),
+               python3-django,
+               python3-pytest,
+               python3-pytest-django,
+               python3-setuptools,
+               python3-sphinx,
+               python3-sphinx-celery
+Standards-Version: 4.0.0
+X-Python3-Version: >= 3.4
+Homepage: https://github.com/celery/django-celery-results/
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-django-celery-results.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-django-celery-results.git
+
+Package: python3-django-celery-results
+Architecture: all
+Depends: python3-django,
+         ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-django-celery-results-doc
+Description: Celery result backends for Django (Python3 version)
+ This extension enables you to store Celery task results using the Django ORM.
+ .
+ It defines a single model (django_celery_results.models.TaskResult) used to
+ store task results, and you can query this database table like any other Django
+ model.
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-django-celery-results-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Description: Celery result backends for Django (Documentation)
+ This extension enables you to store Celery task results using the Django ORM.
+ .
+ It defines a single model (django_celery_results.models.TaskResult) used to
+ store task results, and you can query this database table like any other Django
+ model.
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..54c5051
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,39 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-django-celery-results
+Upstream-Contact: Ask Solem <ask at celeryproject.org>
+Source: https://github.com/celery/django-celery-results/
+
+Files: *
+Copyright:
+ 2015-2016, Ask Solem <ask at celeryproject.org>
+ 2012-2014, GoPivotal, Inc.
+ 2009-2012, Ask Solem <ask at celeryproject.org>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2017, Michael Fladischer <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:
+     * 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 Ask Solem 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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..3879982
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+debian-branch=debian/master
diff --git a/debian/patches/0001-Disable-intersphinx-mapping-for-now.patch b/debian/patches/0001-Disable-intersphinx-mapping-for-now.patch
new file mode 100644
index 0000000..1868e41
--- /dev/null
+++ b/debian/patches/0001-Disable-intersphinx-mapping-for-now.patch
@@ -0,0 +1,23 @@
+From: Michael Fladischer <FladischerMichael at fladi.at>
+Date: Thu, 10 Aug 2017 10:35:00 +0200
+Subject: Disable intersphinx mapping for now.
+
+The best way to fix network requests when building the documenation would be to
+patch INTERSPHINX_MAPPING in sphinx_celery.conf in src:sphinx-celery.
+---
+ docs/conf.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/docs/conf.py b/docs/conf.py
+index 8896a3d..0664f87 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -15,7 +15,7 @@ globals().update(conf.build_config(
+     github_project='celery/django-celery-results',
+     copyright='2009-2016',
+     django_settings='proj.settings',
+-    include_intersphinx={'python', 'sphinx', 'django', 'celery'},
++    intersphinx_mapping={},
+     path_additions=[os.path.join(os.pardir, 't')],
+     extra_extensions=['sphinx.ext.napoleon'],
+     html_logo='images/logo.png',
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fca64b4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Disable-intersphinx-mapping-for-now.patch
diff --git a/debian/python-django-celery-results-doc.doc-base b/debian/python-django-celery-results-doc.doc-base
new file mode 100644
index 0000000..62014f6
--- /dev/null
+++ b/debian/python-django-celery-results-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-django-celery-results-doc
+Title: django-celery-results Documentation
+Author: Ask Solem <ask at celeryproject.org>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-celery-results-doc/html/index.html
+Files: /usr/share/doc/python-django-celery-results-doc/html/*.html
+       /usr/share/doc/python-django-celery-results-doc/html/reference/*.html
diff --git a/debian/python-django-celery-results-doc.docs b/debian/python-django-celery-results-doc.docs
new file mode 100644
index 0000000..2981a3c
--- /dev/null
+++ b/debian/python-django-celery-results-doc.docs
@@ -0,0 +1 @@
+docs/.build/html
diff --git a/debian/python3-django-celery-results.docs b/debian/python3-django-celery-results.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-django-celery-results.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f51d23e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-celery-results
+
+%:
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
+
+override_dh_clean:
+	rm -rf docs/.build
+	dh_clean
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest"
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..ce404b7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.*\/v([\d\.]+.*)$/python-django-celery-results-$1/ \
+https://github.com/celery/django-celery-results/releases \
+/celery/django-celery-results/archive/v([\d\.]+)\.tar\.gz

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



More information about the Python-modules-commits mailing list