2022-09-04 11:41:28 +08:00
|
|
|
PORTNAME= sqlglot
|
2025-06-18 00:33:27 +08:00
|
|
|
PORTVERSION= 26.24.0
|
2022-09-04 11:41:28 +08:00
|
|
|
CATEGORIES= databases python
|
2023-01-11 18:47:15 +03:00
|
|
|
MASTER_SITES= PYPI
|
2022-09-04 11:41:28 +08:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
|
|
|
COMMENT= Easily customizable SQL parser and transpiler
|
2024-07-10 12:57:43 +08:00
|
|
|
WWW= https://sqlglot.com/sqlglot.html \
|
|
|
|
|
https://github.com/tobymao/sqlglot
|
2022-09-04 11:41:28 +08:00
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
2025-03-19 11:38:22 +08:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
|
2024-03-23 22:20:55 +08:00
|
|
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
|
|
|
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
2023-05-28 07:23:13 +08:00
|
|
|
|
2023-06-15 00:00:28 +02:00
|
|
|
USES= python
|
2024-03-23 22:20:55 +08:00
|
|
|
USE_PYTHON= autoplist concurrent pep517
|
2022-09-04 11:41:28 +08:00
|
|
|
|
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
|
2024-09-18 13:56:15 +08:00
|
|
|
OPTIONS_DEFINE= RS
|
|
|
|
|
RS_DESC= SQL parser and transpiler in Rust
|
|
|
|
|
|
2025-06-18 00:33:27 +08:00
|
|
|
RS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlglotrs>=0.5.0<0.5.0_99:databases/py-sqlglotrs@${PY_FLAVOR}
|
2024-09-18 13:56:15 +08:00
|
|
|
|
2022-09-04 11:41:28 +08:00
|
|
|
.include <bsd.port.mk>
|