[Python-modules-commits] [python-django-ordered-model] 03/06: Initial release (Closes: #830570).

Michael Fladischer fladi at moszumanska.debian.org
Sat Jul 9 17:29:43 UTC 2016


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

fladi pushed a commit to branch master
in repository python-django-ordered-model.

commit db66c1128fa38c233f7e8b8c820a847335cb24e7
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Sat Jul 9 17:16:06 2016 +0200

    Initial release (Closes: #830570).
---
 debian/changelog                         |  5 ++++
 debian/compat                            |  1 +
 debian/control                           | 46 ++++++++++++++++++++++++++++++++
 debian/copyright                         | 35 ++++++++++++++++++++++++
 debian/python-django-ordered-model.docs  |  1 +
 debian/python3-django-ordered-model.docs |  1 +
 debian/rules                             | 19 +++++++++++++
 debian/watch                             |  3 +++
 8 files changed, 111 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..39231e3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-django-ordered-model (1.2.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #830570).
+
+ -- Michael Fladischer <fladi at debian.org>  Sat, 09 Jul 2016 16:09:51 +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..4cae1fd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: python-django-ordered-model
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-babel,
+               python-django,
+               python-setuptools,
+               python3-all,
+               python3-django,
+               python3-setuptools
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-django-ordered-model.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-django-ordered-model.git
+Homepage: https://github.com/bfirsh/django-ordered-model
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.4
+
+Package: python-django-ordered-model
+Architecture: all
+Depends: python-django (>= 1.8),
+         ${misc:Depends},
+         ${python:Depends}
+Description: Allows Django models to be ordered (Python2 version)
+ django-ordered-model allows models to be ordered and provides a simple admin
+ interface for reordering them. Model instances have a set of methods to move
+ them relative to each other. It is also possible to order only within a subset
+ of objects.
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-django-ordered-model
+Architecture: all
+Depends: python3-django (>= 1.8),
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Allows Django models to be ordered (Python3 version)
+ django-ordered-model allows models to be ordered and provides a simple admin
+ interface for reordering them. Model instances have a set of methods to move
+ them relative to each other. It is also possible to order only within a subset
+ of objects.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..80e537d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-django-ordered-model
+Upstream-Contact: Ben Firshman <ben at firshman.co.uk>
+Source: https://github.com/bfirsh/django-ordered-model
+
+Files: *
+Copyright: 2009, Ben Firshman <ben at firshman.co.uk>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016, 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.
+  * The names of its contributors may not 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.
diff --git a/debian/python-django-ordered-model.docs b/debian/python-django-ordered-model.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/python-django-ordered-model.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/python3-django-ordered-model.docs b/debian/python3-django-ordered-model.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/python3-django-ordered-model.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c013331
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-ordered-model
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_build:
+	set -e; \
+	for loc in ordered_model/locale/*; do \
+		python setup.py compile_catalog --directory ordered_model/locale/ --locale $$(basename $$loc) --domain django; \
+	done
+	dh_auto_build
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="{interpreter} /usr/bin/django-admin test --pythonpath=. --settings=ordered_model.tests.settings"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..edf1ba3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/django-ordered-model/django-ordered-model-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list