git: b483c6dca734 - main - databases/py-sqlglotrs: Add py-sqlglotrs 0.2.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Sep 2024 20:15:36 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b483c6dca7348cfd76d772f808c01cd44e54cd42 commit b483c6dca7348cfd76d772f808c01cd44e54cd42 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-15 19:08:09 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-09-15 20:09:33 +0000 databases/py-sqlglotrs: Add py-sqlglotrs 0.2.12 sqlglotrs provides an easily customizable SQL parser and transpiler. --- databases/Makefile | 1 + databases/py-sqlglotrs/Makefile | 23 ++++++++++++ databases/py-sqlglotrs/Makefile.crates | 33 ++++++++++++++++ databases/py-sqlglotrs/distinfo | 69 ++++++++++++++++++++++++++++++++++ databases/py-sqlglotrs/pkg-descr | 1 + 5 files changed, 127 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 5fe3fa9cd258..e067c66ee941 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -847,6 +847,7 @@ SUBDIR += py-sqlalchemy20 SUBDIR += py-sqlcipher3 SUBDIR += py-sqlglot + SUBDIR += py-sqlglotrs SUBDIR += py-sqlite-anyio SUBDIR += py-sqlite-fts4 SUBDIR += py-sqlite-migrate diff --git a/databases/py-sqlglotrs/Makefile b/databases/py-sqlglotrs/Makefile new file mode 100644 index 000000000000..a4aa6e5da99c --- /dev/null +++ b/databases/py-sqlglotrs/Makefile @@ -0,0 +1,23 @@ +PORTNAME= sqlglotrs +PORTVERSION= 0.2.12 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Easily customizable SQL parser and transpiler +WWW= https://github.com/tobymao/sqlglot/tree/main/sqlglotrs \ + https://github.com/tobymao/sqlglot + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.4<2.0:devel/py-maturin@${PY_FLAVOR} + +USES= cargo python +USE_PYTHON= autoplist concurrent pep517 + +CARGO_BUILD= no +CARGO_INSTALL= no + +.include <bsd.port.mk> diff --git a/databases/py-sqlglotrs/Makefile.crates b/databases/py-sqlglotrs/Makefile.crates new file mode 100644 index 000000000000..078c58a8a1e8 --- /dev/null +++ b/databases/py-sqlglotrs/Makefile.crates @@ -0,0 +1,33 @@ +CARGO_CRATES= autocfg-1.1.0 \ + bitflags-1.3.2 \ + cfg-if-1.0.0 \ + heck-0.4.1 \ + indoc-2.0.4 \ + libc-0.2.150 \ + lock_api-0.4.11 \ + memoffset-0.9.0 \ + once_cell-1.19.0 \ + parking_lot-0.12.1 \ + parking_lot_core-0.9.9 \ + proc-macro2-1.0.70 \ + pyo3-0.20.0 \ + pyo3-build-config-0.20.0 \ + pyo3-ffi-0.20.0 \ + pyo3-macros-0.20.0 \ + pyo3-macros-backend-0.20.0 \ + quote-1.0.33 \ + redox_syscall-0.4.1 \ + scopeguard-1.2.0 \ + smallvec-1.11.2 \ + syn-2.0.41 \ + target-lexicon-0.12.12 \ + unicode-ident-1.0.12 \ + unindent-0.2.3 \ + windows-targets-0.48.5 \ + windows_aarch64_gnullvm-0.48.5 \ + windows_aarch64_msvc-0.48.5 \ + windows_i686_gnu-0.48.5 \ + windows_i686_msvc-0.48.5 \ + windows_x86_64_gnu-0.48.5 \ + windows_x86_64_gnullvm-0.48.5 \ + windows_x86_64_msvc-0.48.5 diff --git a/databases/py-sqlglotrs/distinfo b/databases/py-sqlglotrs/distinfo new file mode 100644 index 000000000000..71070076d08a --- /dev/null +++ b/databases/py-sqlglotrs/distinfo @@ -0,0 +1,69 @@ +TIMESTAMP = 1726080917 +SHA256 (sqlglotrs-0.2.12.tar.gz) = f104a98182761d4613f920eda7ec5fc921afb3608f7db648206ce06dd10a6be5 +SIZE (sqlglotrs-0.2.12.tar.gz) = 10132 +SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa +SIZE (rust/crates/autocfg-1.1.0.crate) = 13272 +SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a +SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 +SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd +SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 +SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 +SIZE (rust/crates/heck-0.4.1.crate) = 11567 +SHA256 (rust/crates/indoc-2.0.4.crate) = 1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8 +SIZE (rust/crates/indoc-2.0.4.crate) = 14311 +SHA256 (rust/crates/libc-0.2.150.crate) = 89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c +SIZE (rust/crates/libc-0.2.150.crate) = 719359 +SHA256 (rust/crates/lock_api-0.4.11.crate) = 3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45 +SIZE (rust/crates/lock_api-0.4.11.crate) = 27487 +SHA256 (rust/crates/memoffset-0.9.0.crate) = 5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c +SIZE (rust/crates/memoffset-0.9.0.crate) = 9033 +SHA256 (rust/crates/once_cell-1.19.0.crate) = 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92 +SIZE (rust/crates/once_cell-1.19.0.crate) = 33046 +SHA256 (rust/crates/parking_lot-0.12.1.crate) = 3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f +SIZE (rust/crates/parking_lot-0.12.1.crate) = 40967 +SHA256 (rust/crates/parking_lot_core-0.9.9.crate) = 4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e +SIZE (rust/crates/parking_lot_core-0.9.9.crate) = 32445 +SHA256 (rust/crates/proc-macro2-1.0.70.crate) = 39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b +SIZE (rust/crates/proc-macro2-1.0.70.crate) = 44343 +SHA256 (rust/crates/pyo3-0.20.0.crate) = 04e8453b658fe480c3e70c8ed4e3d3ec33eb74988bd186561b0cc66b85c3bc4b +SIZE (rust/crates/pyo3-0.20.0.crate) = 431766 +SHA256 (rust/crates/pyo3-build-config-0.20.0.crate) = a96fe70b176a89cff78f2fa7b3c930081e163d5379b4dcdf993e3ae29ca662e5 +SIZE (rust/crates/pyo3-build-config-0.20.0.crate) = 29534 +SHA256 (rust/crates/pyo3-ffi-0.20.0.crate) = 214929900fd25e6604661ed9cf349727c8920d47deff196c4e28165a6ef2a96b +SIZE (rust/crates/pyo3-ffi-0.20.0.crate) = 64220 +SHA256 (rust/crates/pyo3-macros-0.20.0.crate) = dac53072f717aa1bfa4db832b39de8c875b7c7af4f4a6fe93cdbf9264cf8383b +SIZE (rust/crates/pyo3-macros-0.20.0.crate) = 7678 +SHA256 (rust/crates/pyo3-macros-backend-0.20.0.crate) = 7774b5a8282bd4f25f803b1f0d945120be959a36c72e08e7cd031c792fdfd424 +SIZE (rust/crates/pyo3-macros-backend-0.20.0.crate) = 49383 +SHA256 (rust/crates/quote-1.0.33.crate) = 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae +SIZE (rust/crates/quote-1.0.33.crate) = 28090 +SHA256 (rust/crates/redox_syscall-0.4.1.crate) = 4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa +SIZE (rust/crates/redox_syscall-0.4.1.crate) = 24858 +SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49 +SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619 +SHA256 (rust/crates/smallvec-1.11.2.crate) = 4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970 +SIZE (rust/crates/smallvec-1.11.2.crate) = 34801 +SHA256 (rust/crates/syn-2.0.41.crate) = 44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269 +SIZE (rust/crates/syn-2.0.41.crate) = 246016 +SHA256 (rust/crates/target-lexicon-0.12.12.crate) = 14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a +SIZE (rust/crates/target-lexicon-0.12.12.crate) = 25156 +SHA256 (rust/crates/unicode-ident-1.0.12.crate) = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b +SIZE (rust/crates/unicode-ident-1.0.12.crate) = 42168 +SHA256 (rust/crates/unindent-0.2.3.crate) = c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce +SIZE (rust/crates/unindent-0.2.3.crate) = 7306 +SHA256 (rust/crates/windows-targets-0.48.5.crate) = 9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c +SIZE (rust/crates/windows-targets-0.48.5.crate) = 6904 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8 +SIZE (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 418492 +SHA256 (rust/crates/windows_aarch64_msvc-0.48.5.crate) = dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc +SIZE (rust/crates/windows_aarch64_msvc-0.48.5.crate) = 798483 +SHA256 (rust/crates/windows_i686_gnu-0.48.5.crate) = a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e +SIZE (rust/crates/windows_i686_gnu-0.48.5.crate) = 844891 +SHA256 (rust/crates/windows_i686_msvc-0.48.5.crate) = 8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406 +SIZE (rust/crates/windows_i686_msvc-0.48.5.crate) = 864300 +SHA256 (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e +SIZE (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 801619 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc +SIZE (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 418486 +SHA256 (rust/crates/windows_x86_64_msvc-0.48.5.crate) = ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538 +SIZE (rust/crates/windows_x86_64_msvc-0.48.5.crate) = 798412 diff --git a/databases/py-sqlglotrs/pkg-descr b/databases/py-sqlglotrs/pkg-descr new file mode 100644 index 000000000000..f1abb6159a1c --- /dev/null +++ b/databases/py-sqlglotrs/pkg-descr @@ -0,0 +1 @@ +sqlglotrs provides an easily customizable SQL parser and transpiler.