Port details |
- py-sqlglot Easily customizable SQL parser and transpiler
- 11.0.1 databases
=0 Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2022-09-04 03:54:32
- Last Update: 2023-03-21 19:20:27
- Commit Hash: 1f9117c
- Also Listed In: python
- License: MIT
- Description:
- 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.
It is a very comprehensive generic SQL parser with a robust test suite. It is
also quite performant while being written purely in Python.
You can easily customize the parser, analyze queries, traverse expression trees,
and programmatically build SQL.
Syntax errors are highlighted and dialect incompatibilities can warn or raise
depending on configurations.
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}sqlglot>0:databases/py-sqlglot@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/databases/py-sqlglot/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/py-sqlglot
- pkg install py39-sqlglot
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-sqlglot listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-sqlglot
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1677771177
SHA256 (sqlglot-11.0.1.tar.gz) = 2bdeeaa20c215d48ec28a61057d76568d6a9aeb19af79b0470f7c2e42619aa0c
SIZE (sqlglot-11.0.1.tar.gz) = 197282
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- databases/py-mycli
Configuration Options:
- No options to configure
- Options name:
- databases_py-sqlglot
- USES:
- python:3.7+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
11.0.1 21 Mar 2023 19:20:27
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 11.0.1
Changes: https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md
https://github.com/tobymao/sqlglot/commits/main |
10.5.9 05 Feb 2023 15:47:51
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 10.5.9
Changes: https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md
https://github.com/tobymao/sqlglot/commits/main |
10.5.1 30 Jan 2023 12:59:36
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 10.5.1
Changes: https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md
https://github.com/tobymao/sqlglot/commits/main |
8.0.0 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
8.0.0 30 Dec 2022 09:04:27
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.3.3
Changes: https://github.com/tobymao/sqlglot/blob/main/CHANGELOG.md |
6.3.5 19 Nov 2022 08:11:54
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.3.3
Changes: https://github.com/tobymao/sqlglot/commits/main |
6.3.1 09 Oct 2022 19:45:27
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.3.1
Changes: https://github.com/tobymao/sqlglot/commits/main |
6.2.7 09 Oct 2022 15:37:53
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.2.7
Changes: https://github.com/tobymao/sqlglot/commits/main |
6.2.6 03 Oct 2022 17:10:26
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.2.6
Changes: https://github.com/tobymao/sqlglot/commits/main |
6.0.7 03 Oct 2022 02:14:47
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.0.7
Changes: https://github.com/tobymao/sqlglot/commits/main |
6.0.4 10 Sep 2022 18:11:12
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.0.4
Changes: https://github.com/tobymao/sqlglot/commits/main |
6.0.2 10 Sep 2022 16:06:11
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.0.2
Changes: https://github.com/tobymao/sqlglot/commits/main |
6.0.0 10 Sep 2022 13:02:42
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Update to 6.0.0
Changes: https://github.com/tobymao/sqlglot/commits/main |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
5.3.1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
5.3.1 04 Sep 2022 03:41:28
    |
Po-Chuan Hsieh (sunpoet)  |
databases/py-sqlglot: Add py-sqlglot 5.3.1
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.
It is a very comprehensive generic SQL parser with a robust test suite. It is
also quite performant while being written purely in Python.
You can easily customize the parser, analyze queries, traverse expression trees,
and programmatically build SQL.
Syntax errors are highlighted and dialect incompatibilities can warn or raise
depending on configurations.
WWW: https://github.com/tobymao/sqlglot |