summaryrefslogtreecommitdiff
path: root/databases/py-sqlglot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-sqlglot/Makefile')
-rw-r--r--databases/py-sqlglot/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/databases/py-sqlglot/Makefile b/databases/py-sqlglot/Makefile
index f3e35f921da0..3eb3edaa634a 100644
--- a/databases/py-sqlglot/Makefile
+++ b/databases/py-sqlglot/Makefile
@@ -1,13 +1,13 @@
PORTNAME= sqlglot
-PORTVERSION= 17.16.2
-PORTREVISION= 1
+PORTVERSION= 25.21.3
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Easily customizable SQL parser and transpiler
-WWW= https://github.com/tobymao/sqlglot
+WWW= https://sqlglot.com/sqlglot.html \
+ https://github.com/tobymao/sqlglot
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -21,4 +21,9 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
+OPTIONS_DEFINE= RS
+RS_DESC= SQL parser and transpiler in Rust
+
+RS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlglotrs>=0.2.12<0.2.12_99:databases/py-sqlglotrs@${PY_FLAVOR}
+
.include <bsd.port.mk>