summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/.gitignore1
-rw-r--r--debian/changelog143
-rw-r--r--debian/control28
-rw-r--r--debian/copyright38
-rw-r--r--debian/gbp.conf2
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
-rw-r--r--debian/upstream/metadata4
-rw-r--r--debian/watch3
10 files changed, 227 insertions, 0 deletions
diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..2c8afeb
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1 @@
+/files
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..de858d4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,143 @@
+python-pgspecial (2.1.2-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+
+ -- Colin Watson <cjwatson@debian.org> Thu, 16 May 2024 22:11:02 +0100
+
+python-pgspecial (2.1.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release (closes: #1039027).
+ * Use pybuild-plugin-pyproject.
+
+ -- Colin Watson <cjwatson@debian.org> Wed, 15 May 2024 19:23:36 +0100
+
+python-pgspecial (2.0.1-2) unstable; urgency=medium
+
+ * Team upload.
+ * Fix psycopg dependency (Closes: #1029183).
+ * Bump Standards-Version to 4.6.2.
+
+ -- Tomasz Rybak <serpent@debian.org> Thu, 19 Jan 2023 20:30:41 +0100
+
+python-pgspecial (2.0.1-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream version 2.0.1 (Closes: #1015148).
+ * Replace CI config with central file.
+
+ -- Bastian Germann <bage@debian.org> Tue, 15 Nov 2022 19:39:33 +0100
+
+python-pgspecial (1.11.10+dfsg1-2) unstable; urgency=medium
+
+ [ Ondřej Nový ]
+ * d/control: Update Maintainer field with new Debian Python Team
+ contact address.
+ * d/control: Update Vcs-* fields with new Debian Python Team Salsa
+ layout.
+
+ -- Sandro Tosi <morph@debian.org> Fri, 03 Jun 2022 23:18:32 -0400
+
+python-pgspecial (1.11.10+dfsg1-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Debian Janitor ]
+ * Bump debhelper from old 10 to 12.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+ Repository-Browse.
+
+ [ Emmanuel Arias ]
+ * New upstream version 1.11.10+dfsg1 (Closes: #955750).
+ * d/gbp.conf: Set debian/master as default branch.
+ * Exclude .pyc files.
+ - Temporarily excluded files until that files has been remove
+ from upstream. https://github.com/dbcli/pgspecial/issues/94
+ * d/salsa-ci.yml: enable salsa-ci.
+ * Bump debhelper from old 12 to 13.
+ * Set Rules-Requires-Root: no.
+
+ -- Tristan Seligmann <mithrandi@debian.org> Tue, 11 Aug 2020 19:22:55 +0200
+
+python-pgspecial (1.9.0-2) unstable; urgency=medium
+
+ * Team upload.
+ * d/control: Set Vcs-* to salsa.debian.org
+ * d/copyright: Use https protocol in Format field
+ * d/control: Remove ancient X-Python-Version field
+ * d/control: Remove ancient X-Python3-Version field
+ * Convert git repository from git-dpm to gbp layout
+ * Use debhelper-compat instead of debian/compat.
+ * Drop Python 2 support.
+
+ -- Ondřej Nový <onovy@debian.org> Wed, 31 Jul 2019 11:32:39 +0200
+
+python-pgspecial (1.9.0-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Add the missing dependencies on python{,3}-psycopg2.
+ (Closes: #896291, #896246)
+
+ -- Adrian Bunk <bunk@debian.org> Sun, 03 Jun 2018 22:17:15 +0300
+
+python-pgspecial (1.9.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Bump Standards-Version to 4.1.1.
+ * Use https in d/watch.
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Mon, 30 Oct 2017 09:47:55 +0800
+
+python-pgspecial (1.8.0-1) unstable; urgency=medium
+
+ * Merge to unstable
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sun, 18 Jun 2017 19:44:18 +0800
+
+python-pgspecial (1.8.0-1~exp1) experimental; urgency=medium
+
+ * New upstream release.
+ * Bump Standards-Version to 4.0.0.
+ * Bump compat to 10.
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Tue, 06 Jun 2017 20:23:34 +0800
+
+python-pgspecial (1.7.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sat, 24 Dec 2016 14:40:23 +0800
+
+python-pgspecial (1.6.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Wed, 17 Aug 2016 23:27:48 +0800
+
+python-pgspecial (1.5.0-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sat, 02 Jul 2016 10:59:16 +0800
+
+python-pgspecial (1.4.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Bump Standards-Version to 3.9.8.
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Wed, 29 Jun 2016 22:56:16 +0800
+
+python-pgspecial (1.3.0-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Bump Standards-Version to 3.9.7.
+ * Update Vcs-* fields.
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Mon, 28 Mar 2016 23:53:59 +0800
+
+python-pgspecial (1.2.0+20151123-1) unstable; urgency=low
+
+ * Initial release. Closes: #805882
+
+ -- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Wed, 25 Nov 2015 18:37:10 +0800
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0ac2ad6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: python-pgspecial
+Priority: optional
+Maintainer: Debian Python Team <team+python@tracker.debian.org>
+Uploaders: ChangZhuo Chen (陳昌倬) <czchen@debian.org>
+Build-Depends: debhelper-compat (= 13),
+ dh-python,
+ pybuild-plugin-pyproject,
+ python3-all,
+ python3-click,
+ python3-psycopg,
+ python3-setuptools,
+ python3-sqlparse,
+Standards-Version: 4.6.2
+Section: python
+Homepage: https://github.com/dbcli/pgspecial
+Vcs-Git: https://salsa.debian.org/python-team/packages/python-pgspecial.git
+Vcs-Browser: https://salsa.debian.org/python-team/packages/python-pgspecial
+Rules-Requires-Root: no
+
+Package: python3-pgspecial
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends}
+Description: Meta-commands handler for Postgres Database (Python 3)
+ This package provides an API to execute meta-commands (AKA "special", or
+ "backslash commands") on PostgreSQL.
+ .
+ This package is for Python 3 environment.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..313f01d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pgspecial
+Source: https://github.com/dbcli/pgspecial
+Files-Excluded: *.pyc *.cache/ *__pycache__/
+
+Files: *
+Copyright: Copyright (c) 2015, dbcli
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2015 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
+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.
+ .
+ * Neither the name of pgspecial 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 COPYRIGHT HOLDER 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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..8f53891
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+debian-branch = debian/master
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9853052
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+#DH_VERBOSE = 1
+export PYBUILD_NAME = pgspecial
+
+%:
+ 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)
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2d4e6dd
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+Bug-Database: https://github.com/dbcli/pgspecial/issues
+Bug-Submit: https://github.com/dbcli/pgspecial/issues/new
+Repository: https://github.com/dbcli/pgspecial.git
+Repository-Browse: https://github.com/dbcli/pgspecial
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a737c1a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/pgspecial/pgspecial-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))