[Python-modules-commits] [python-django-adminsortable] 02/02: Imported Debian patch 2.0.10-1
Joost van Baal
joostvb at moszumanska.debian.org
Tue Mar 1 08:39:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
joostvb pushed a commit to branch master
in repository python-django-adminsortable.
commit ab09a0bbb5ae5bb66d83cbfa0d98ea5f5b3fdefb
Author: Joost van Baal-Ilić <joostvb at debian.org>
Date: Tue Feb 16 14:46:49 2016 +0000
Imported Debian patch 2.0.10-1
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 30 ++++++++++++++++++++++++++++++
debian/copyright | 38 ++++++++++++++++++++++++++++++++++++++
debian/postinst | 39 +++++++++++++++++++++++++++++++++++++++
debian/prerm | 38 ++++++++++++++++++++++++++++++++++++++
debian/rules | 18 ++++++++++++++++++
debian/source/format | 1 +
debian/watch | 18 ++++++++++++++++++
9 files changed, 188 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8116e77
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-django-adminsortable (2.0.10-1) unstable; urgency=medium
+
+ * Initial release (Closes: #814532).
+
+ -- Joost van Baal-Ilić <joostvb at debian.org> Tue, 16 Feb 2016 14:46:49 +0000
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..b376db0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: python-django-adminsortable
+Section: python
+Priority: optional
+Maintainer: Joost van Baal-Ilić <joostvb at debian.org>
+Build-Depends: debhelper (>=9), dh-python, python-all (>= 2.6.6-3~), python-setuptools, python3-all, python3-setuptools
+Standards-Version: 3.9.6
+Homepage: https://github.com/iambrandontaylor/django-admin-sortable
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+#Vcs-Git: git://anonscm.debian.org/collab-maint/python-django-adminsortable.git
+#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/python-django-adminsortable.git
+
+Package: python-django-adminsortable
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-python-django-adminsortable-doc
+Description: drag-and-drop ordering for objects in Django Admin (Python 2)
+ Generic drag-and-drop ordering for objects and tabular inlines in Django Admin.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-django-adminsortable
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-python-django-adminsortable-doc
+Description: drag-and-drop ordering for objects in Django Admin (Python 3)
+ Generic drag-and-drop ordering for objects and tabular inlines in Django Admin.
+ .
+ This package installs the library for Python 3.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ff4d1da
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-django-adminsortable
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+ <years> <likewise for another author>
+License: <special license>
+ <Put the license of the package here indented by 1 space>
+ <This follows the format of Description: lines in control file>
+ .
+ <Including paragraphs>
+
+# If you want to use GPL v2 or later for the /debian/* files use
+# the following clauses, or change it to suit. Delete these two lines
+Files: debian/*
+Copyright: 2016 Joost van Baal-Ilić <joostvb at debian.org>
+License: GPL-2+
+ This package 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; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..e841d43
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postinst script for python-django-adminsortable
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see https://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ configure)
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..9f76765
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,38 @@
+#!/bin/sh
+# prerm script for python-django-adminsortable
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see https://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ ;;
+
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ecb318a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=django-adminsortable
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+
+# If you need to rebuild the Sphinx documentation
+# Add spinxdoc to the dh --with line
+#override_dh_auto_build:
+# dh_auto_build
+# PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator
+# PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator
+
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..171b5b9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,18 @@
+# watch control file for uscan
+# you can run the "uscan" command to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 4 file
+version=4
+
+# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig
+#opts="pgpsigurlmangle=s%$%.sig%"
+
+# GitHub hosted projects
+#opts="filenamemangle="s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+# https://github.com/<user>/python-django-adminsortable/tags \
+# (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+
+# PyPI
+https://pypi.python.org/packages/source/<initial>/python-django-adminsortable/ \
+ python-django-adminsortable-(.+)\.tar\.gz debian uupdate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-adminsortable.git
More information about the Python-modules-commits
mailing list