[Python-modules-commits] [python-spur] 01/01: Added debian folder
Ruben Undheim
rubund-guest at moszumanska.debian.org
Sat May 2 10:39:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository python-spur.
commit c6729c6bf0eab8583f7693f258d8945dd7274460
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Sat May 2 12:17:37 2015 +0200
Added debian folder
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 29 +++++++++++++++++++++++++++++
debian/copyright | 38 ++++++++++++++++++++++++++++++++++++++
debian/docs | 2 ++
debian/gbp.conf | 2 ++
debian/python-spur.docs | 1 +
debian/python-spur.install | 2 ++
debian/python3-spur.docs | 1 +
debian/python3-spur.install | 1 +
debian/rules | 26 ++++++++++++++++++++++++++
debian/source/format | 1 +
12 files changed, 109 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..06cc82c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-spur (0.3.13-1) unstable; urgency=low
+
+ * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+
+ -- Ruben Undheim <ruben.undheim at gmail.com> Sat, 02 May 2015 12:15:15 +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..6257f7e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: python-spur
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ruben Undheim <ruben.undheim at gmail.com>
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools
+Standards-Version: 3.9.6
+X-Python-Version: all
+X-Python3-Version: >= 3.1
+Homepage: <insert the upstream URL, if relevant>
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-spur.git
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-spur.git
+
+Package: python-spur
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+
+Package: python3-spur
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b3a6c15
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: spur
+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: 2015 Ruben <ruben.undheim at gmail.com>
+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 <http://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 to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..55fee7e
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.rst
+test-requirements.txt
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/python-spur.docs b/debian/python-spur.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-spur.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-spur.install b/debian/python-spur.install
new file mode 100644
index 0000000..948618a
--- /dev/null
+++ b/debian/python-spur.install
@@ -0,0 +1,2 @@
+usr/lib/python2*/
+
diff --git a/debian/python3-spur.docs b/debian/python3-spur.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-spur.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-spur.install b/debian/python3-spur.install
new file mode 100644
index 0000000..5b790f6
--- /dev/null
+++ b/debian/python3-spur.install
@@ -0,0 +1 @@
+usr/lib/python3*/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..96aa53a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+#DH_VERBOSE = 1
+
+%:
+ dh $@ --with python2,python3 --buildsystem=python_distutils
+
+override_dh_auto_clean:
+ $(RM) -r build
+ dh_auto_clean
+
+override_dh_auto_build:
+ dh_auto_build
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py build; \
+ done
+
+override_dh_auto_install:
+ dh_auto_install
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp; \
+ done
+
+
+override_dh_installchangelogs:
+ dh_installchangelogs -k CHANGES
+
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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-spur.git
More information about the Python-modules-commits
mailing list