1
0
Fork 0

Adding debian version 1.23.2-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 18:53:51 +01:00
parent 94e3fc38e7
commit cd35ac3e0d
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
9 changed files with 319 additions and 0 deletions

8
debian/TODO vendored Normal file
View file

@ -0,0 +1,8 @@
TODO
====
* check/verify/extend options in manpage for current upstream version.
* upstream manpage.
* create bash-completion and upstream it.
-- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 08 Feb 2021 12:55:51 +0100

147
debian/changelog vendored Normal file
View file

@ -0,0 +1,147 @@
mycli (1.23.2-1) sid; urgency=medium
* Uploading to sid.
* Adding myself as maintainer, thanks Lennart.
* Updating vcs fields.
* Updating to debhelper version 13.
* Updating to standards version 4.5.1.
* Updating homepage field.
* Dropping versions from depends fulfilled by buster.
* Updating package descriptions.
* Updating and harmonizing copyright file.
* Removing gbp.conf.
* Updating watch file.
* Removing vendorizing patch for cli-helpers and depending on it directly, now
that it's in debian.
* Switching rules to use unchanged pybuild since we're using cli-helpers now.
* Moving manpage to subdirectory within debian sources.
* Reformating, harmonizing and updating manpage.
* Wrap-and-sorting debian directory.
* Avoid shipping some useless files.
* Removing some automatically detected python depends.
* Manually sorting fields in control.
* Adding rules-requires-root field.
* Repeating section per binary package in control for consistency reasons.
* Adding TODO file.
-- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 08 Feb 2021 13:13:51 +0100
mycli (1.23.2-0.1) unstable; urgency=medium
* Non-maintainer upload.
* New upstream release:
- compatibility with sqlparse 4 (Closes: #981237)
* Refreshing 0001-rename-cli-so-it-can-be-moved-to-usr-share-mycli.patch.
* Refreshing 0002-vendorized-cli_helpers.patch.
-- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 30 Jan 2021 07:31:06 +0100
mycli (1.22.2-0.1) unstable; urgency=medium
* Non-maintainer upload.
* New upstream release (Closes: #966385):
- compatibility with prompt-toolkit 3 (Closes: #960463)
* Refreshing 0001-rename-cli-so-it-can-be-moved-to-usr-share-mycli.patch.
-- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 08 Aug 2020 17:41:43 +0200
mycli (1.21.1-1) unstable; urgency=medium
* New upstream version
* Fixes incompatibility with prompt_toolkit 3.0
-- Lennart Weller <lhw@ring0.de> Fri, 08 May 2020 10:52:00 +0200
mycli (1.20.1-4) unstable; urgency=medium
* Fix for wrong path in vendorized package (Closes: #949753)
-- Lennart Weller <lhw@ring0.de> Wed, 12 Feb 2020 16:16:05 +0100
mycli (1.20.1-3) unstable; urgency=medium
* Fix patch that dropped sqlparse dependency (Closes: #949596)
-- Lennart Weller <lhw@ring0.de> Wed, 22 Jan 2020 17:40:08 +0100
mycli (1.20.1-2) unstable; urgency=medium
* pkg-resources hard dependency for minimal systems (Closes: #940037)
-- Lennart Weller <lhw@ring0.de> Tue, 14 Jan 2020 11:30:20 +0100
mycli (1.20.1-1) unstable; urgency=medium
* New upstream release (Closes: #917965)
* New debian Standards-Version 4.4.1
-- Lennart Weller <lhw@ring0.de> Mon, 13 Jan 2020 00:26:17 +0100
mycli (1.16.0-1) unstable; urgency=medium
* New upstream release
* Vendorized cli_helpers library
-- Lennart Weller <lhw@ring0.de> Tue, 15 May 2018 10:24:48 +0200
mycli (1.9.0-1) unstable; urgency=medium
* New upstream release
-- Lennart Weller <lhw@ring0.de> Thu, 23 Mar 2017 14:06:55 +0100
mycli (1.8.1-2) unstable; urgency=medium
* Added pkg-ressources as dependency (Closes: #849545)
-- Lennart Weller <lhw@ring0.de> Wed, 11 Jan 2017 12:32:47 +0100
mycli (1.8.1-1) unstable; urgency=medium
* New upstream release
* Updated package dependencies
-- Lennart Weller <lhw@ring0.de> Tue, 15 Nov 2016 15:39:36 +0100
mycli (1.7.1-1) unstable; urgency=low
* New upstream release
* Updated package dependencies
-- Lennart Weller <lhw@ring0.de> Fri, 01 Jul 2016 12:30:36 +0200
mycli (1.6.0-1) unstable; urgency=low
* New upstream release
* Removed old patches
* Switched from git-dpm to gbp again
* New debian standards version 3.9.8
* Added patch from upstream to support reverse cli search
* Added manpage
-- Lennart Weller <lhw@ring0.de> Wed, 04 May 2016 11:20:31 +0200
mycli (1.5.2-4) unstable; urgency=medium
* Updated prompt_toolkit dependency to 0.57
-- Lennart Weller <lhw@ring0.de> Tue, 19 Jan 2016 14:36:51 +0100
mycli (1.5.2-3) unstable; urgency=medium
* Fixed orig.tar reference
* Added git-buildpackage pristine-tar as default option
-- Lennart Weller <lhw@ring0.de> Mon, 30 Nov 2015 09:22:07 +0100
mycli (1.5.2-2) unstable; urgency=medium
* Patch mycli to work with prompt_toolkit >= 0.51 (Closes: #806415)
-- Lennart Weller <lhw@ring0.de> Fri, 27 Nov 2015 14:22:26 +0100
mycli (1.5.2-1) unstable; urgency=low
* Initial relase (Closes: #794251)
-- Lennart Weller <lhw@ring0.de> Fri, 31 Jul 2015 18:33:48 +0200

33
debian/control vendored Normal file
View file

@ -0,0 +1,33 @@
Source: mycli
Section: database
Priority: optional
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
Uploaders:
Lennart Weller <lhw@ring0.de>,
Build-Depends:
debhelper-compat (= 13),
dh-python,
python3,
python3-setuptools,
Rules-Requires-Root: no
Standards-Version: 4.5.1
Homepage: https://www.mycli.net
Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/mycli
Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/mycli
Testsuite: autopkgtest-pkg-python
Package: mycli
Section: database
Architecture: all
Depends:
python3-cli-helpers,
python3-pkg-resources,
python3-prompt-toolkit (>= 2.0),
python3-sqlparse (>= 0.4),
python3-tabulate,
python3-terminaltables,
${misc:Depends},
${python3:Depends},
Description: CLI for MySQL/MariaDB with auto-completion and syntax highlighting
mycli is a command line interface for MySQL/MariaDB with auto-completion and
syntax highlighting. It is also capable of pretty printing tabular data.

39
debian/copyright vendored Normal file
View file

@ -0,0 +1,39 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mycli
Upstream-Contact: Amjith Ramanujam <amjith.r@gmail.com>
Source: https://www.mycli.net
Files: *
Copyright: 2015-2021 Amjith Ramanujam <amjith.r@gmail.com>
License: BSD-3-clause
Files: debian/*
Copyright: 2015-2020 Lennart Weller <lhw@ring0.de>
2021 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.

73
debian/manpages/mycli.1 vendored Normal file
View file

@ -0,0 +1,73 @@
.TH "MYCLI" "1" "2.23.2" "mycli" "DBCLI"
.SH NAME
mycli \- CLI for MySQL/MariaDB with auto-completion and syntax highlighting
.SH SYNOPSIS
\fBmycli\fR [\fIOPTIONS\fR] [\fIDATABASE\fR]
.SH DESCRIPTION
mycli is a command line interface for MySQL/MariaDB with auto-completion and
syntax highlighting. It is also capable of pretty printing tabular data.
.SH OPTIONS
.IP "\-h|\-\-host \fITEXT\fR" 4
Host address of the database.
.IP "\-P|\-\-port \fIINTEGER\fR" 4
Port number to use for connection. Honors $MYSQL_TCP_PORT.
.IP "\-u|\-\-user \fITEXT\fR" 4
User name to connect to the database.
.IP "\-S|\-\-socket \fITEXT\fR" 4
The socket file to use for connection.
.IP "\-p|\-\-password|\-\-pass \fITEXT\fR" 4
Password to connect to the database.
.IP "\-v|\-\-version" 4
Version of mycli.
.IP "\-D|\-\-database \fITEXT\fR" 4
Database to use.
.IP "\-R|\-\-prompt \fITEXT\fR" 4
Prompt format (Default: "\\t \\u@\\h:\\d> ").
.IP "\-l|\-\-logfile \fIFILENAME\fR" 4
Log every query and its results to a file.
.IP "\-\-defaults\-group\-suffix \fITEXT\fR" 4
Read config group with the specified suffix.
.IP "\-\-defaults\-file \fIPATH\fR" 4
Only read default options from the given file.
.IP "\-\-login-path \fITEXT\fR" 4
Read this path from the login file.
.IP "\-\-help" 4
Shows the help message and exit.
.SH EXAMPLES
$ mycli my_database
.TP
$ mycli -u my_user -h my_host.com my_database
.TP
$ mycli mysql://my_user@my_host.com:3306/my_database
.SH SEE ALSO
litecli(1)
.TP
pgcli(1)
.TP
iredis(1)
.SH HOMEPAGE
More information about mycli and the DBCLI project can be found on the homepage at https://www.mycli.net and https://www.dbcli.com.
.SH AUTHORS
mycli was written by Amjith Ramanujam <amjith.r@gmail.com>.
.TP
This manual page was written by Lennart Weller <lhw@ring0.de>, for the Debian project (but may be used by others).

1
debian/mycli.manpages vendored Normal file
View file

@ -0,0 +1 @@
debian/manpages/*

14
debian/rules vendored Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/make -f
export PYBUILD_NAME=mycli
%:
dh ${@} --buildsystem=pybuild --with python3
execute_after_dh_auto_install:
# removing useless files
rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/AUTHORS
rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/SPONSORS
override_dh_auto_test:
# disabled, doesn't work yet

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

3
debian/watch vendored Normal file
View file

@ -0,0 +1,3 @@
version=4
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/mycli-$1\.tar\.gz/ \
https://github.com/dbcli/mycli/releases .*/v?(\d\S+)\.tar\.gz