[Python-modules-commits] [python-zeroconf] 01/01: Added debian folder

Ruben Undheim rubund-guest at moszumanska.debian.org
Mon May 25 08:51:40 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-zeroconf.

commit c4718d44a78ee3ae9ebd28b8351ffbd411740d88
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Mon May 25 10:48:47 2015 +0200

    Added debian folder
---
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 29 +++++++++++++++++++++++++++++
 debian/copyright                | 38 ++++++++++++++++++++++++++++++++++++++
 debian/gbp.conf                 |  2 ++
 debian/python-zeroconf.docs     |  1 +
 debian/python-zeroconf.install  |  2 ++
 debian/python3-zeroconf.docs    |  1 +
 debian/python3-zeroconf.install |  1 +
 debian/rules                    | 23 +++++++++++++++++++++++
 debian/source/format            |  1 +
 11 files changed, 104 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6c83458
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-zeroconf (0.17.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #786729)
+
+ -- Ruben Undheim <ruben.undheim at gmail.com>  Mon, 25 May 2015 10:46:56 +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..5e53df5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: python-zeroconf
+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-zeroconf
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: <insert up to 60 chars description>
+ <insert long description, indented with spaces>
+
+Package: python3-zeroconf
+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/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-zeroconf.docs b/debian/python-zeroconf.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-zeroconf.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-zeroconf.install b/debian/python-zeroconf.install
new file mode 100644
index 0000000..948618a
--- /dev/null
+++ b/debian/python-zeroconf.install
@@ -0,0 +1,2 @@
+usr/lib/python2*/
+
diff --git a/debian/python3-zeroconf.docs b/debian/python3-zeroconf.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-zeroconf.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-zeroconf.install b/debian/python3-zeroconf.install
new file mode 100644
index 0000000..5b790f6
--- /dev/null
+++ b/debian/python3-zeroconf.install
@@ -0,0 +1 @@
+usr/lib/python3*/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bc22ac9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+#DH_VERBOSE = 1
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+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
+
+
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-zeroconf.git



More information about the Python-modules-commits mailing list