[Python-modules-commits] [python-motor] 03/03: Initial release. (Closes: #816969)

Ondřej Nový onovy at moszumanska.debian.org
Fri Nov 11 16:32:50 UTC 2016


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

onovy pushed a commit to branch master
in repository python-motor.

commit e9e82aa6b9834f2a9b4022d99e160b4073fb4bd4
Author: Ondřej Nový <onovy at debian.org>
Date:   Fri Nov 11 17:31:43 2016 +0100

    Initial release. (Closes: #816969)
---
 debian/.git-dpm  |  3 +++
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules     |  9 +++++++++
 debian/watch     |  3 +++
 7 files changed, 117 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index b9572eb..3067315 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@ a5e8d2d79f1968dfd8f7bba511c4a7fa872e7a8b
 python-motor_1.0.orig.tar.gz
 0f509f228c9ea46b6f17137427156af8e8083c67
 220290
+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..68209a8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-motor (1.0-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #816969)
+
+ -- Ondřej Nový <onovy at debian.org>  Fri, 11 Nov 2016 17:29:13 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ced14ca
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: python-motor
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ondřej Nový <onovy at debian.org>,
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-futures,
+               python-setuptools,
+               python-pymongo (>= 3.3),
+               python-mockupdb,
+               python-tornado,
+               python3-all,
+               python3-setuptools,
+               python3-pymongo (>= 3.3),
+               python3-mockupdb,
+               python3-tornado,
+Standards-Version: 3.9.8
+Homepage: https://github.com/mongodb/motor
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-motor.git/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-motor.git
+Testsuite: autopkgtest-pkg-python
+
+Package: python-motor
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+Description: full-featured, non-blocking MongoDB driver - Python 2.x
+ Motor presents a callback- or Future-based API for non-blocking access to
+ MongoDB from Tornado or asyncio.
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-motor
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: full-featured, non-blocking MongoDB driver - Python 3.x
+ Motor presents a callback- or Future-based API for non-blocking access to
+ MongoDB from Tornado or asyncio.
+ .
+ This package contains the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d5cce14
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: motor
+Source: https://github.com/mongodb/motor
+
+Files: *
+Copyright: 2009-2015 MongoDB, Inc.
+License: Apache-2
+
+Files: doc/static/sidebar.js
+Copyright: 2007-2011 by the Sphinx team, see AUTHORS.
+License: BSD-2-clause
+
+Files: debian/*
+Copyright: 2016 Ondřej Nový <onovy at debian.org>
+License: Apache-2
+
+License: Apache-2
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian-based systems the full text of the Apache version 2.0 license
+ can be found in `/usr/share/common-licenses/Apache-2.0'.
+
+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.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b75411a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME = motor
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	# Tests requires MongoDB running on system
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2102af5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-motor-$1\.tar\.gz/ \
+  https://github.com/mongodb/motor/tags .*/v?(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list