[Python-modules-commits] [django-q] 03/03: Add Debian packaging files

Jonas Meurer mejo at moszumanska.debian.org
Sat Sep 16 09:18:39 UTC 2017


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

mejo pushed a commit to branch master
in repository django-q.

commit c5bc3c3b49da37aa6c9169005178c12ca03b05a8
Author: Jonas Meurer <jonas at freesources.org>
Date:   Sat Sep 16 02:59:14 2017 +0200

    Add Debian packaging files
---
 debian/changelog                         |   5 ++
 debian/compat                            |   1 +
 debian/control                           | 121 +++++++++++++++++++++++++++++++
 debian/copyright                         |  46 ++++++++++++
 debian/patches/0001_doc_strip_cdns.patch |  20 +++++
 debian/patches/series                    |   1 +
 debian/python-django-q-doc.doc-base      |   8 ++
 debian/python-django-q-doc.docs          |   1 +
 debian/python-django-q-doc.links         |   1 +
 debian/rules                             |  24 ++++++
 debian/watch                             |   3 +
 11 files changed, 231 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..93a4a91
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+django-q (0.8.0-1) unstable; urgency=medium
+
+  * Initial release. (closes: #875923)
+
+ -- Jonas Meurer <mejo at debian.org>  Sat, 16 Sep 2017 03:00:13 +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..a8765dc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,121 @@
+Source: django-q
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Jonas Meurer <mejo at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-arrow,
+               python-blessed,
+               python-django,
+               python-django-picklefield,
+               python-django-redis,
+               python-future,
+               python-pytest,
+               python-pytest-django,
+               python-setuptools,
+               python3-all,
+               python3-arrow,
+               python3-blessed,
+               python3-django,
+               python3-django-picklefield,
+               python3-django-redis,
+               python3-future,
+               python3-pytest,
+               python3-pytest-django,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 4.1.0
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-q.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-q.git
+Homepage: https://github.com/Koed00/django-q
+Testsuite: autopkgtest-pkg-python
+X-Python-Version: >=2.7
+X-Python3-Version: >=3.4
+
+Package: python-django-q
+Architecture: all
+Depends: python-arrow,
+         python-blessed,
+         python-django,
+         python-django-picklefield,
+         python-future,
+         ${misc:Depends},
+         ${python:Depends}
+Suggests: python-django-q-doc,
+         python-boto3,
+         python-hiredis,
+         python-psutil,
+         python-pymongo,
+         python-redis
+Description: Django multiprocessing distributed task queue (Python 2 version)
+ A multiprocessing distributed task queue for Django with following features:
+ .
+  * Multiprocessing worker pool
+  * Asynchronous tasks
+  * Scheduled and repeated tasks
+  * Encrypted and compressed packages
+  * Failure and success database or cache
+  * Result hooks, groups and chains
+  * Django Admin integration
+  * PaaS compatible with multiple instances
+  * Multi cluster monitor
+  * Redis, Disque, IronMQ, SQS, MongoDB or ORM
+  * Rollbar support
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-django-q
+Architecture: all
+Depends: python3-arrow,
+         python3-blessed,
+         python3-django,
+         python3-django-picklefield,
+         python3-future,
+         ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-django-q-doc,
+         python3-boto3,
+         python3-hiredis,
+         python3-psutil,
+         python3-pymongo,
+         python3-redis
+Description: Django multiprocessing distributed task queue (Python 3 version)
+ A multiprocessing distributed task queue for Django with following features:
+ .
+  * Multiprocessing worker pool
+  * Asynchronous tasks
+  * Scheduled and repeated tasks
+  * Encrypted and compressed packages
+  * Failure and success database or cache
+  * Result hooks, groups and chains
+  * Django Admin integration
+  * PaaS compatible with multiple instances
+  * Multi cluster monitor
+  * Redis, Disque, IronMQ, SQS, MongoDB or ORM
+  * Rollbar support
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-django-q-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Description: Django multiprocessing distributed task queue (Documentation)
+ A multiprocessing distributed task queue for Django with following features:
+ .
+  * Multiprocessing worker pool
+  * Asynchronous tasks
+  * Scheduled and repeated tasks
+  * Encrypted and compressed packages
+  * Failure and success database or cache
+  * Result hooks, groups and chains
+  * Django Admin integration
+  * PaaS compatible with multiple instances
+  * Multi cluster monitor
+  * Redis, Disque, IronMQ, SQS, MongoDB or ORM
+  * Rollbar support
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e652f2d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/Koed00/django-q
+Author: Ilan Steemers <koed0 at gmail.com>
+
+Files: *
+Copyright: © 2015 Ilan Steemers <koed0 at gmail.com>
+License: MIT
+
+Files: debian/*
+Copyright: © 2017 Jonas Meurer <mejo at debian.org>
+License: GPL-2
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+
+License: GPL-2
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, version 2.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in the /usr/share/common-licenses/GPL-2 file.
diff --git a/debian/patches/0001_doc_strip_cdns.patch b/debian/patches/0001_doc_strip_cdns.patch
new file mode 100644
index 0000000..bc51341
--- /dev/null
+++ b/debian/patches/0001_doc_strip_cdns.patch
@@ -0,0 +1,20 @@
+From: Jonas Meurer <mejo at debian.org>
+Date: Sat, 16 Sep 2017 11:07:12 +0200
+Subject: strip embedded tracking stuff from HTML documentation files
+
+---
+ docs/conf.py |    3 ---
+ 1 file changed, 3 deletions(-)
+
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -135,9 +135,6 @@ html_theme_options = {
+     'github_repo': 'django-q',
+     'gittip_user': 'koed00',
+     'gratipay_user': 'koed00',
+-    'github_banner': True,
+-    'travis_button': True,
+-    'analytics_id': 'UA-64807059-1'
+ }
+ html_sidebars = {
+     '**': [
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..45fe284
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001_doc_strip_cdns.patch
diff --git a/debian/python-django-q-doc.doc-base b/debian/python-django-q-doc.doc-base
new file mode 100644
index 0000000..884c649
--- /dev/null
+++ b/debian/python-django-q-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-django-q-doc
+Title: Django Q Documentation
+Author: Ilan Steemers
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-q-doc/html/index.html
+Files: /usr/share/doc/python-django-q-doc/html/*.html
diff --git a/debian/python-django-q-doc.docs b/debian/python-django-q-doc.docs
new file mode 100644
index 0000000..2981a3c
--- /dev/null
+++ b/debian/python-django-q-doc.docs
@@ -0,0 +1 @@
+docs/.build/html
diff --git a/debian/python-django-q-doc.links b/debian/python-django-q-doc.links
new file mode 100644
index 0000000..9e38e60
--- /dev/null
+++ b/debian/python-django-q-doc.links
@@ -0,0 +1 @@
+usr/share/doc/python-django-q-doc/html/_sources usr/share/doc/python-django-q-doc/rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ec59732
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=django-q
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+#override_dh_install:
+#	dh_install
+
+override_dh_auto_build:
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
+	dh_auto_build
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	set -e; \
+	for python in $(shell pyversions -r) $(shell py3versions -r); do \
+		PYTHONPATH="." DJANGO_SETTINGS_MODULE=django_q.tests.settings $$python $(shell which django-admin) test django_q.tests;\
+	done
+endif
+
+get-orig-source:
+	uscan --verbose --rename
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..543e354
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+https://github.com/Koed00/django-q/releases \
+.*[^n]/(?:|v|version-|r|REL_|rel-|(?:django-q)(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

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



More information about the Python-modules-commits mailing list