[Python-modules-commits] [zict] 03/03: Initial packaging.

Diane Trout diane at moszumanska.debian.org
Wed Dec 14 06:09:45 UTC 2016


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

diane pushed a commit to branch master
in repository zict.

commit dd51915dfdde1ec6defd7000aed6426b39f79e17
Author: Diane Trout <diane at ghic.org>
Date:   Tue Dec 13 22:09:29 2016 -0800

    Initial packaging.
---
 debian/.git-dpm       |  3 +++
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 34 +++++++++++++++++++++++++++++
 debian/copyright      | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules          |  8 +++++++
 debian/source/options |  1 +
 debian/tests/control  |  3 +++
 debian/watch          |  4 ++++
 9 files changed, 118 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index ffe104f..1c6040d 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 zict_0.1.0.orig.tar.gz
 1ac6809fab70b86b1607e6091b4987cbe2a2f612
 9669
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..80e54a9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+zict (0.1.0-1) unstable; urgency=low
+
+  * Initial packaging. (Closes: #847518)
+
+ -- Diane Trout <diane at ghic.org>  Mon, 05 Dec 2016 16:30:07 -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..bb6e385
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: zict
+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-heapdict,
+               python3-pytest,
+               python3-setuptools
+Standards-Version: 3.9.8
+Homepage: http://github.com/mrocklin/zict/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/zict.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/zict.git
+Testsuite: autopkgtest-pkg-python
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
+
+Package: python3-zict
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Mutable mapping tools for Python 3
+ The dictionary / mutable mapping interface is powerful and
+ multi-faceted.
+ .
+  * stores data in different locations such as in-memory, on disk, in
+    archive files, etc..
+  * manage old data with different policies like LRU, random eviction,
+    etc..
+  * might encode or transform data as it arrives or departs the
+    dictionary through compression, encoding, etc..
+ .
+ This contains the Python 3 version
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6793b87
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,59 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: zict
+Source: https://github.com/dask/zict
+
+Files: *
+Copyright: Copyright (c) 2016 Matthew Rocklin
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2016 Diane Trout <diane at ghic.org>
+License: Expat
+
+License: BSD-3-Clause
+  Copyright (c) 2016 Matthew Rocklin
+  .
+  All rights reserved.
+  .
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are met:
+  .
+    a. Redistributions of source code must retain the above copyright notice,
+       this list of conditions and the following disclaimer.
+    b. 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.
+    c. Neither the name of toolz nor the names of its contributors
+       may 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 REGENTS 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.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e42e692
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=zict
+%:
+	dh $@ --with python3 --buildsystem=pybuild
+
+# Run tests on installed package with autopkgtest
+.PHONY: override_dh_auto_test
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b2b7b88
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..e63a9b0
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do pushd zict/tests ; echo "Testing with $py:" ; $py $(which py.test-3) ; popd ; done
+Depends: python3-all, python3-zict, python3-pytest, python3-lmdb
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1ca5429
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# please also check http://pypi.debian.net/zict/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/zict/zict-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
\ No newline at end of file

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



More information about the Python-modules-commits mailing list