[Python-modules-commits] [locket] 03/03: Initial packaging
Diane Trout
diane at moszumanska.debian.org
Wed Dec 14 05:13:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
diane pushed a commit to branch master
in repository locket.
commit 0d9fe6df788064373ae8ed075c12dddba0e12026
Author: Diane Trout <diane at ghic.org>
Date: Tue Dec 13 21:06:00 2016 -0800
Initial packaging
---
debian/.git-dpm | 3 +++
debian/README.source | 4 ++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 26 ++++++++++++++++++++++++++
debian/copyright | 36 ++++++++++++++++++++++++++++++++++++
debian/rules | 5 +++++
debian/tests/control | 3 +++
debian/watch | 4 ++++
9 files changed, 87 insertions(+)
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 47c653c..95f8897 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
locket_0.2.0.orig.tar.gz
1d2eb4e3ddbade7414429d5ba9813e8e586e744a
5598
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
\ No newline at end of file
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..826bc6c
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,4 @@
+The package uses the GitHub repository for the upstream source as the
+version on PyPi lacks the tests.
+
+ -- Diane Trout <diane at ghic.org>, Tue, 13 Dec 2016 20:58:43 -0800
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..362d272
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+locket (0.2.0-1) unstable; urgency=low
+
+ * Initial packaging (Closes: #847522)
+
+ -- Diane Trout <diane at ghic.org> Mon, 05 Dec 2016 13:50:51 -0800
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..8fc054d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: locket
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Diane Trout <diane at ghic.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python3-all,
+ python3-nose,
+ python3-spur
+Standards-Version: 3.9.8
+Homepage: http://github.com/mwilliamson/locket.py
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/locket.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/locket.git
+Testsuite: autopkgtest-pkg-python
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python3-locket
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: File-based locks for Python 3 for Linux and Windows
+ Locket implements a lock that can be used by multiple processes
+ provided they use the same path.
+ .
+ This contains the Python 3 version
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..bf03abc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: locket.py
+Source: https://github.com/mwilliamson/locket.py
+
+Files: *
+Copyright: Copyright (c) 2012, Michael Williamson
+License: BSD-2-Clause
+
+Files: debian/*
+Copyright: 2016 Diane Trout <diane at ghic.org>
+License: BSD-2-Clause
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ 2. 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.
+ .
+ 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.
+ .
+ The views and conclusions contained in the software and documentation are those
+ of the authors and should not be interpreted as representing official policies,
+ either expressed or implied, of the FreeBSD Project.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b2768fd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=locket
+%:
+ dh $@ --with python3 --buildsystem=pybuild
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..627795b
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import locket; print(locket)" ; done
+Depends: python3-all, python3-locket
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a218050
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%locket-$1.tar.gz%" \
+ https://github.com/mwilliamson/locket.py/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/locket.git
More information about the Python-modules-commits
mailing list