[Python-modules-commits] [python-fakeredis] 03/03: First version
Ondřej Nový
onovy at moszumanska.debian.org
Wed Jun 22 20:33:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-fakeredis.
commit 1e0fe6313a6179d503c47aadc5ef3f3a8d8d286f
Author: Ondřej Nový <onovy at debian.org>
Date: Wed Jun 22 22:20:28 2016 +0200
First version
---
debian/.git-dpm | 3 +++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
debian/copyright | 40 ++++++++++++++++++++++++++++++++++++++++
debian/rules | 10 ++++++++++
debian/source/options | 1 +
debian/watch | 3 +++
8 files changed, 113 insertions(+)
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 5256a2f..567a51d 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
python-fakeredis_0.7.0.orig.tar.gz
8998ac998c0fb4e97820873f71a35b25aa454b16
32033
+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..5278e33
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-fakeredis (0.7.0-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #xxxx)
+
+ -- Peter Lisák <peter.lisak at gmail.com> Wed, 22 Jun 2016 10:11:50 +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..2b9fc1f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: python-fakeredis
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Peter Lisák <peter.lisak at gmail.com>,
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-nose,
+ python-redis,
+ python-setuptools,
+ python3-all,
+ python3-nose,
+ python3-redis,
+ python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://github.com/jamesls/fakeredis
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-fakeredis.git/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-fakeredis.git
+Testsuite: autopkgtest-pkg-python
+
+Package: python-fakeredis
+Architecture: all
+Depends: ${misc:Depends},
+ ${python:Depends},
+Description: Fake version of a redis-py - Python 2.x
+ fakeredis is a pure Python implementation of the redis-py Python client that
+ simulates talking to a redis server. This was created for a single purpose:
+ to write unittests. Setting up redis is not hard, but many times you want to
+ write unittests that do not talk to an external server (such as redis).
+ This module now allows tests to simply use this module as a reasonable
+ substitute for redis.
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-fakeredis
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends},
+Description: Fake version of a redis-py - Python 3.x
+ fakeredis is a pure Python implementation of the redis-py Python client that
+ simulates talking to a redis server. This was created for a single purpose:
+ to write unittests. Setting up redis is not hard, but many times you want to
+ write unittests that do not talk to an external server (such as redis).
+ This module now allows tests to simply use this module as a reasonable
+ substitute for redis.
+ .
+ This package contains the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e6476a1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fakeredis
+Source: https://github.com/jamesls/fakeredis
+
+Files: *
+Copyright: 2011, James Saryerwinnie
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2016 Peter Lisák <peter.lisak at gmail.com>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * 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.
+ .
+ * The names of the contributors may not 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 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..70d2044
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#! /usr/bin/make -f
+
+#export DH_VERBOSE = 1
+export PYBUILD_NAME = fakeredis
+
+export PYBUILD_BEFORE_TEST=cp -r {dir}/test_*.py {build_dir}
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/test_*.py
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ecb6210
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-fakeredis-$1\.tar\.gz/ \
+ https://github.com/jamesls/fakeredis/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-fakeredis.git
More information about the Python-modules-commits
mailing list