summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/README.source8
-rw-r--r--debian/TODO7
-rw-r--r--debian/changelog94
-rw-r--r--debian/control29
-rw-r--r--debian/copyright38
-rw-r--r--debian/local/setup.py37
-rwxr-xr-xdebian/rules22
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
9 files changed, 239 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..5391704
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,8 @@
+iredis
+======
+
+setup.py used to build iredis has been generated with dephell (not in Debian yet, #962574):
+
+ $ dephell deps convert --from pyproject.toml --to setup.py
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 07 Feb 2021 08:10:31 +0100
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..7a212a0
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,7 @@
+TODO
+====
+
+ * create manpage and upstream it.
+ * create bash-completion and upstream it.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 08 Feb 2021 12:55:51 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7915499
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,94 @@
+iredis (1.13.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.13.0.
+ * Updating to standards version 4.6.2.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 04 Jan 2023 08:20:09 +0100
+
+iredis (1.12.1-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.12.1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 15 Aug 2022 14:04:54 +0200
+
+iredis (1.12.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.12.0.
+ * Updating to standards version 4.6.1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 04 Jul 2022 09:59:13 +0200
+
+iredis (1.11.1-2) sid; urgency=medium
+
+ * Uploading to experimental.
+ * Shortening mistune depends.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 01 Apr 2022 05:36:09 +0200
+
+iredis (1.11.1-1) experimental; urgency=medium
+
+ * Uploading to experimental.
+ * Merging upstream version 1.11.1.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 11 Mar 2022 06:59:46 +0100
+
+iredis (1.11.0-1) experimental; urgency=medium
+
+ * Uploading to experimental.
+ * Merging upstream version 1.11.0:
+ - compatible with mistune 2.0 (Closes: #1003572).
+ * Adding versioned depends for mistune 2.0.
+ * Updating copyright for 2022.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 25 Jan 2022 21:06:35 +0100
+
+iredis (1.10.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.10.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 28 Dec 2021 19:30:36 +0100
+
+iredis (1.9.4-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating watch file.
+ * Updating to standards version 4.6.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 09 Oct 2021 10:18:03 +0200
+
+iredis (1.9.4-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 1.9.4.
+ * Updating python debhelper sequence.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 17 Jul 2021 09:35:00 +0200
+
+iredis (1.9.1-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Adding README.source.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 26 Feb 2021 09:42:53 +0100
+
+iredis (1.9.1-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Manually sorting control fields.
+ * Adding testsuite field.
+ * Repeating section per binary package in control for consistency reasons.
+ * Harmonizing package description.
+ * Harmonizing comments in rules.
+ * Adding TODO file.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 08 Feb 2021 13:29:15 +0100
+
+iredis (1.9.1-1) sid; urgency=medium
+
+ * Initial upload to sid (Closes: #954408).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 07 Feb 2021 12:17:57 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..68ae671
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: iredis
+Section: database
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 13),
+ dh-sequence-python3,
+ python3,
+ python3-setuptools,
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+Homepage: https://iredis.io
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/iredis
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/iredis
+Testsuite: autopkgtest-pkg-python
+
+Package: iredis
+Section: database
+Architecture: all
+Depends:
+ python3-importlib-resources,
+ python3-mistune (>= 2.0.2),
+ python3-pendulum,
+ python3-pytzdata,
+ ${misc:Depends},
+ ${python3:Depends},
+Description: CLI for Redis with auto-completion and syntax highlighting
+ IRedis is a command line interface for Redis with auto-completion and
+ syntax highlighting. It is also capable of pretty printing tabular data.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fe44dfb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: IRedis
+Upstream-Contact: laixintao <laixintaoo@gmail.com>
+Source: https://github.com/laixintao/iredis/releases
+
+Files: *
+Copyright: 2019-2022 laixintao <laixintaoo@gmail.com>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2021-2022 Daniel Baumann <daniel.baumann@progress-linux.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 dbcli 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/local/setup.py b/debian/local/setup.py
new file mode 100644
index 0000000..48c148e
--- /dev/null
+++ b/debian/local/setup.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
+
+import os.path
+
+readme = ''
+here = os.path.abspath(os.path.dirname(__file__))
+readme_path = os.path.join(here, 'README.rst')
+if os.path.exists(readme_path):
+ with open(readme_path, 'rb') as stream:
+ readme = stream.read().decode('utf8')
+
+
+setup(
+ long_description=readme,
+ name='iredis',
+ version='1.9.1',
+ description='Terminal client for Redis with auto-completion and syntax highlighting.',
+ python_requires='==3.*,>=3.6.0',
+ project_urls={"homepage": "https://github.com/laixintao/iredis", "repository": "https://github.com/laixintao/iredis"},
+ author='laixintao',
+ author_email='laixintao1995@163.com',
+ license='BSD-3-Clause',
+ keywords='Redis key-value store Commandline tools Redis Client',
+ classifiers=['Development Status :: 4 - Beta', 'Environment :: Console', 'Environment :: Console :: Curses', 'Environment :: MacOS X', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Topic :: Database', 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers'],
+ entry_points={"console_scripts": ["iredis = iredis.entry:main"]},
+ packages=['iredis', 'iredis.data', 'iredis.data.commands'],
+ package_dir={"": "."},
+ package_data={"iredis.data": ["*.csv", "*.json"], "iredis.data.commands": ["*.md"]},
+ install_requires=['click==7.*,>=7.0.0', 'configobj==5.*,>=5.0.0', 'importlib-resources==1.0.2', 'mistune==0.*,>=0.8.0', 'pendulum==2.*,>=2.0.0', 'prompt-toolkit==3.*,>=3.0.0', 'pygments==2.*,>=2.0.0', 'redis==3.*,>=3.0.0', 'wcwidth==0.1.9'],
+ extras_require={"dev": ["pexpect==4.*,>=4.7.0", "pytest==5.*,>=5.0.0"]},
+)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b9f8430
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=iredis
+
+%:
+ dh ${@} --buildsystem=pybuild
+
+execute_before_dh_auto_clean:
+ cp debian/local/setup.py setup.py
+
+execute_after_dh_auto_clean:
+ rm -f setup.py
+
+execute_before_dh_auto_configure:
+ cp debian/local/setup.py setup.py
+
+execute_after_dh_auto_install:
+ mkdir -p debian/iredis/usr/lib/python3/dist-packages/iredis/data
+ cp iredis/data/iredisrc debian/iredis/usr/lib/python3/dist-packages/iredis/data/iredisrc
+
+override_dh_auto_test:
+ # disabled, doesn't work yet
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/watch b/debian/watch
new file mode 100644
index 0000000..260589a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/iredis-$1\.tar\.gz/ \
+https://github.com/laixintao/iredis/tags .*/v?(\d\S+)\.tar\.gz