diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e2ed625 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pytest-postgresql (1.3.4-1+swh1) unstable-swh; urgency=medium + + * Initial release + + -- Antoine R. Dumont (@ardumont) Fri, 08 Feb 2019 16:05:10 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b4de394 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4d8c0e9 --- /dev/null +++ b/debian/control @@ -0,0 +1,28 @@ +Source: pytest-postgresql +Priority: optional +Section: python +Maintainer: SoftwareHeritage Developers +Build-Depends: debhelper (>= 11), + dh-python (>= 2), + python3-all, + python3-pip, + python3-setuptools, + python3-pytest, + python3-port-for, + python3-mirakuru, + python3-pytest-xdist, + python3-psycopg2 +Standards-Version: 4.1.3 +Homepage: https://github.com/ClearcodeHQ/pytest-postgresql + +Package: python3-pytest-postgresql +Architecture: all +Depends: python3-pytest, + python3-port-for, + python3-mirakuru, + ${python3:Depends}, + ${misc:Depends} +Description: Postgresql fixtures and fixture factories for Pytest + This is a pytest plugin, that enables you to test your code that + relies on a running PostgreSQL Database. It allows you to specify + fixtures for PostgreSQL process and client. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f774d76 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pytest-postgresql +Source: https://github.com/ClearcodeHQ/pytest-postgresql + +Files: * +Copyright: 2013-2019 "Clearcode - The A Room " +License: LGPL + GNU Lesser General Public License v3.0 + . + Permissions of this copyleft license are conditioned on making + available complete source code of licensed works and modifications + under the same license or the GNU GPLv3. Copyright and license + notices must be preserved. Contributors provide an express grant of + patent rights. However, a larger work using the licensed work through + interfaces provided by the licensed work may be distributed under + different terms and without source code for the larger work. + +Files: debian/* +Copyright: 2019 Software Heritage Developer +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". 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..aac4770 --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=pytest-postgresql + +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +%: + dh $@ --with python3 --buildsystem=pybuild + + +override_dh_auto_test: + echo "Skipping tests as it's not present" 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)