[Python-modules-commits] [django-celery-transactions] 02/02: Initial release (Closes: #791675).

Michael Fladischer fladi at moszumanska.debian.org
Tue Jul 7 14:35:06 UTC 2015


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

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

commit a410fbb8939e49f51327421da1a999e7ef12776a
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue Jul 7 16:34:43 2015 +0200

    Initial release (Closes: #791675).
---
 debian/changelog                               |  5 +++
 debian/compat                                  |  1 +
 debian/control                                 | 61 ++++++++++++++++++++++++++
 debian/copyright                               | 33 ++++++++++++++
 debian/python-django-celery-transactions.docs  |  1 +
 debian/python3-django-celery-transactions.docs |  1 +
 debian/rules                                   | 15 +++++++
 debian/source/format                           |  1 +
 debian/watch                                   |  4 ++
 9 files changed, 122 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3ba93e5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+django-celery-transactions (0.3.2-1) unstable; urgency=low
+
+  * Initial release (Closes: #791675).
+
+ -- Michael Fladischer <fladi at debian.org>  Tue, 07 Jul 2015 16:09:46 +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..8e8203d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
+Source: django-celery-transactions
+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 (>= 9),
+               dh-python,
+               python-all,
+               python-django,
+               python-celery,
+               python-setuptools,
+               python3-all,
+               python3-django,
+               python3-celery,
+               python3-setuptools
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+Homepage: https://github.com/fellowshipofone/django-celery-transactions
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-celery-transactions.git
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/django-celery-transactions.git
+
+Package: python-django-celery-transactions
+Architecture: all
+Depends: python-django,
+         python-celery,
+         ${misc:Depends},
+         ${python:Depends}
+Description: Django transaction support for Celery tasks
+ django-celery-transactions holds on to Celery tasks until the current database
+ transaction is committed, avoiding potential race conditions as described in
+ Celery's user guide.
+ .
+ Features:
+  * If the transaction is rolled back, the tasks are discarded. Django's
+    transaction middleware does this if an exception is raised.
+  * If transactions aren't being managed, tasks are sent as normal. This means
+    that sending tasks from within Django's shell will work as expected, as
+    will the various transaction decorators commit_manually, commit_on_success,
+    etc.
+
+Package: python3-django-celery-transactions
+Architecture: all
+Depends: python3-django,
+         python3-celery,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Django transaction support for Celery tasks (Python3 version)
+ django-celery-transactions holds on to Celery tasks until the current database
+ transaction is committed, avoiding potential race conditions as described in
+ Celery's user guide.
+ .
+ Features:
+  * If the transaction is rolled back, the tasks are discarded. Django's
+    transaction middleware does this if an exception is raised.
+  * If transactions aren't being managed, tasks are sent as normal. This means
+    that sending tasks from within Django's shell will work as expected, as
+    will the various transaction decorators commit_manually, commit_on_success,
+    etc.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0087994
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: django-celery-transactions
+Upstream-Contact: Nicolas Grasset <nicolas.grasset at gmail.com>
+Source: https://github.com/fellowshipofone/django-celery-transactions
+
+Files: *
+Copyright: 2012, Chris Doble
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2015, Fladischer Michael <fladi at debian.org>
+License: BSD-2-clause
+
+License: BSD-2-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.
+ .
+ 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/python-django-celery-transactions.docs b/debian/python-django-celery-transactions.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/python-django-celery-transactions.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/python3-django-celery-transactions.docs b/debian/python3-django-celery-transactions.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/python3-django-celery-transactions.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1a1a6b6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-celery-transactions
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_installchangelogs:
+	dh_installchangelogs -- CHANGELOG
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="python{version} runtests.py" dh_auto_test
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..e534132
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.+\/([\d\.]+)\.tar\.gz/django-celery-transactions-$1.tar.gz/ \
+https://github.com/fellowshipofone/django-celery-transactions/releases \
+/fellowshipofone/django-celery-transactions/archive/([\d\.]+)\.tar\.gz

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



More information about the Python-modules-commits mailing list