[Python-modules-commits] [django-fsm] 02/02: Initial release (Closes: #789755).

Michael Fladischer fladi at moszumanska.debian.org
Wed Jun 24 07:53:38 UTC 2015


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

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

commit dc0551b8ee2d87cbe81e152656049ef517baf215
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Wed Jun 24 09:40:03 2015 +0200

    Initial release (Closes: #789755).
---
 debian/changelog                           |  5 ++++
 debian/clean                               |  1 +
 debian/compat                              |  1 +
 debian/control                             | 45 ++++++++++++++++++++++++++++++
 debian/copyright                           | 31 ++++++++++++++++++++
 debian/patches/remove_django_jenkins.patch | 28 +++++++++++++++++++
 debian/patches/series                      |  1 +
 debian/python-django-fsm.docs              |  1 +
 debian/python3-django-fsm.docs             |  1 +
 debian/rules                               | 17 +++++++++++
 debian/source/format                       |  1 +
 debian/watch                               |  4 +++
 12 files changed, 136 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2aa42c8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+django-fsm (2.2.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #789755).
+
+ -- Michael Fladischer <fladi at debian.org>  Wed, 24 Jun 2015 09:10:10 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6d10dce
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+changelog
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..4b97269
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: django-fsm
+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 (>= 1.6),
+               python-setuptools,
+               python3-all,
+               python3-django,
+               python3-setuptools
+Standards-Version: 3.9.6
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.0
+Homepage: https://github.com/kmmbvnr/django-fsm
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-fsm/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-fsm/trunk/
+
+Package: python-django-fsm
+Architecture: all
+Depends: python-django (>= 1.6),
+         ${misc:Depends},
+         ${python:Depends}
+Recommends: python-pygraphviz
+Description: Django friendly finite state machine support
+ django-fsm adds declarative states management for django models. Instead of
+ adding some state field to a django model, and managing its values by hand,
+ you could use FSMState field and mark model methods with the transition
+ decorator. Your method could contain the side-effects of the state change.
+
+Package: python3-django-fsm
+Architecture: all
+Depends: python3-django,
+         ${misc:Depends},
+         ${python3:Depends}
+Recommends: python3-pygraphviz
+Description: Django friendly finite state machine support (Python3 version)
+ django-fsm adds declarative states management for django models. Instead of
+ adding some state field to a django model, and managing its values by hand,
+ you could use FSMState field and mark model methods with the transition
+ decorator. Your method could contain the side-effects of the state change.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..efac9d1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: django-fsm
+Upstream-Contact: Mikhail Podgurskiy <kmmbvnr at gmail.com>
+Source: https://github.com/kmmbvnr/django-fsm
+
+Files: *
+Copyright: 2010, Mikhail Podgurskiy <kmmbvnr at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2015, Fladischer Michael <fladi at debian.org>
+License: Expat
+
+License: Expat
+ 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.
diff --git a/debian/patches/remove_django_jenkins.patch b/debian/patches/remove_django_jenkins.patch
new file mode 100644
index 0000000..723f3e7
--- /dev/null
+++ b/debian/patches/remove_django_jenkins.patch
@@ -0,0 +1,28 @@
+Description: Remove django-jenkins from test dependencies
+ Upstream uses django-jenkins for test integration but it is optional in just
+ running the tests. This patch removes django-jenkins from the test
+ settings.py file.
+Author: Michael Fladischer <fladi at debian.org>
+Last-Update: 2015-06-24
+Forwarded: not-needed
+
+Index: django-fsm/tests/settings.py
+===================================================================
+--- django-fsm.orig/tests/settings.py	2015-06-22 16:34:03.000000000 +0200
++++ django-fsm/tests/settings.py	2015-06-22 17:29:41.337936140 +0200
+@@ -1,5 +1,5 @@
+ PROJECT_APPS = ('django_fsm', 'testapp',)
+-INSTALLED_APPS = ('django.contrib.contenttypes', 'django.contrib.auth', 'django_jenkins',) + PROJECT_APPS
++INSTALLED_APPS = ('django.contrib.contenttypes', 'django.contrib.auth') + PROJECT_APPS
+ DATABASE_ENGINE = 'sqlite3'
+ SECRET_KEY = 'nokey'
+ MIDDLEWARE_CLASSES = ()
+@@ -8,8 +8,3 @@
+         'ENGINE': 'django.db.backends.sqlite3',
+         }
+ }
+-
+-JENKINS_TASKS = (
+-    'django_jenkins.tasks.run_pep8',
+-    'django_jenkins.tasks.run_pyflakes'
+-)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4ff4c59
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove_django_jenkins.patch
diff --git a/debian/python-django-fsm.docs b/debian/python-django-fsm.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/python-django-fsm.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/python3-django-fsm.docs b/debian/python3-django-fsm.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/python3-django-fsm.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..0fc4850
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-fsm
+export PYBUILD_TEST="{interpreter} tests/manage.py"
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} tests/manage.py" dh_auto_test
+
+override_dh_installchangelogs:
+	awk '/Changelog/,EOF { print $0 }' README.md >changelog
+	dh_installchangelogs -- changelog
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..78cdd17
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.+\/([\d\.]+)\.tar\.gz/django-fsm-$1.tar.gz/ \
+https://github.com/kmmbvnr/django-fsm/releases \
+/kmmbvnr/django-fsm/archive/([\d\.]+)\.tar\.gz

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



More information about the Python-modules-commits mailing list