1
0
Fork 0

Adding debian version 6.0.4-1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 06:16:32 +01:00
parent 527597d2af
commit 3c6d649c90
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
6 changed files with 76 additions and 0 deletions

6
debian/changelog vendored Normal file
View file

@ -0,0 +1,6 @@
sqlglot (6.0.4-1) sid; urgency=medium
* Initial upload to sid (Closes: #1019891),
required for mycli.
-- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 15 Sep 2022 18:48:01 +0200

26
debian/control vendored Normal file
View file

@ -0,0 +1,26 @@
Source: sqlglot
Section: python
Priority: optional
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
Build-Depends:
debhelper-compat (= 13),
dh-sequence-python3,
python3-all,
python3-setuptools,
Rules-Requires-Root: no
Standards-Version: 4.6.1
Homepage: https://github.com/tobymao/sqlglot
Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/sqlglot
Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/sqlglot
Package: python3-sqlglot
Section: python
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
Description: SQL parser, transpiler, and optimizer for Python
SQLGlot is a no dependency Python SQL parser, transpiler, and optimizer. It can
be used to format SQL or translate between different dialects like DuckDB,
Presto, Spark, and BigQuery. It aims to read a wide variety of SQL inputs and
output syntactically correct SQL in the targeted dialects.

31
debian/copyright vendored Normal file
View file

@ -0,0 +1,31 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: SQLGlot
Upstream-Contact: Toby Mao <toby.mao@gmail.com>
Source: https://github.com/tobymao/sqlglot
Files: *
Copyright: 2021-2022 Toby Mao <toby.mao@gmail.com>
License: MIT
Files: debian/*
Copyright: 2022 Daniel Baumann <daniel.baumann@progress-linux.org>
License: MIT
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

9
debian/rules vendored Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/make -f
export PYBUILD_NAME=sqlglot
%:
dh ${@} --buildsystem=pybuild
override_dh_auto_test:
# disabled

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/sqlglot-$1\.tar\.gz/ \
https://github.com/tobymao/sqlglot/tags .*/v?(\d\S+)\.tar\.gz