diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..6bc55bd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pytest-redis (2.0.0-1+swh1) unstable-swh; urgency=normal + + * Initial release. + + -- Vincent Sellier Tue, 16 Mar 2021 00:55:23 +0100 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..99276de --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: pytest-redis +Section: python +Priority: optional +Maintainer: Software Heritage Developers +Build-Depends: debhelper (>=9), + dh-python, + python3-all, + python3-port-for, + python3-pytest, + python3-redis, + python3-setuptools, + redis, + python3-pytest-cov, + python3-pytest-xdist, + python3-mirakuru, + python3-mock, + 2to3 +Standards-Version: 4.5.0 +X-Python3-Version: >= 3.6 + +Package: python3-pytest-redis +Architecture: all +Depends: redis, + python3-redis, + python3-pytest, + ${misc:Depends}, + ${python3:Depends} +Description: Pytest plugin to test redis code. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..6b44175 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,7 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pytest-redis +Source: https://github.com/ClearcodeHQ/pytest-redis/ + +Files: * +Copyright: Copyright (C) 2016 by Clearcode +License: GPL-3 diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..7f63e3e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +upstream-branch=debian/upstream +upstream-tag=debian/upstream/%(version)s +debian-branch=debian/unstable-swh +pristine-tar=True diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8fcca0c --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=pytest_redis + + +# export PYBUILD_BEFORE_TEST=find . -name pytest.ini -delete; cp -r {dir}/tests {build_dir} +# export PYBUILD_BEFORE_TEST_python3=cp -r {dir}/tests {build_dir}; 2to3 -w {build_dir}/tests +# export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests +export PYBUILD_DISABLE=test +# export PYBUILD_BEFORE_TEST=rm -rf {dir}/tests {dir}/pytest.ini +# export PYBUILD_TEST_ARGS=--showlocals --verbose --cov pytest_redis --cov tests + +%: + dh $@ --with python3 --buildsystem=pybuild 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)