summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-25 04:37:50 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-25 04:37:50 +0200
commit1ce03ec7764002fa59ab282c0cee42a953493f04 (patch)
tree9916880fa8a68f8f810a36e9e16724116066ef7c /dev-python/sqlglot
parentapp-doc/python-docs: Bump to 3.11.5 (diff)
downloadgentoo-1ce03ec7764002fa59ab282c0cee42a953493f04.tar.gz
gentoo-1ce03ec7764002fa59ab282c0cee42a953493f04.tar.bz2
gentoo-1ce03ec7764002fa59ab282c0cee42a953493f04.zip
dev-python/sqlglot: Bump to 17.15.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sqlglot')
-rw-r--r--dev-python/sqlglot/Manifest1
-rw-r--r--dev-python/sqlglot/sqlglot-17.15.1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 28520175a7ba..4cfba040fb61 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -5,3 +5,4 @@ DIST sqlglot-17.12.0.tar.gz 8402758 BLAKE2B e563aecabdac819c55eabd678a12ee2a83f7
DIST sqlglot-17.14.0.tar.gz 8496712 BLAKE2B 5bdf3e3ffcb5da87f102cc706f52a1717abb571e30a5d780cfef7ec1f18ae987efda7728aef5ce7ba988a4340c1148a81d66048f2b6970a32404cc0970734b87 SHA512 c9058a91a3d0b763c64b5c1f2161d4bffde41ba113c76ccde5268f56b759bb63d83d92ad374a88e6e5cbddc5e46b885752f43db9c239182a7eb8e85d6401f4a8
DIST sqlglot-17.14.2.tar.gz 8498185 BLAKE2B c556387a77aa2d5a52ce2f0ac630253ea68b9cd9426493e689e253b524643d25f1b7833e0a0970a52ac172eeced458de25584e55dc74d48e9398a02ab7f3dae1 SHA512 186011ccdbe3a3abff6dd94f31c6f2030a9a3c508569528e716fbfaffefccd9c31a508507caa8e2225582c95056e966466ba9aac95262d10152917c70003de7b
DIST sqlglot-17.15.0.tar.gz 8505061 BLAKE2B 60ab18f09a5540d1442b03b6eae104f01642808ab0081df5e387eaa9a8c188b21cc1574e0c63d3d0eeddef023c2d3d0008a0e6f0e7e5ce8cdadde51b40e8641e SHA512 efca36e7fffcaff3379a870266e6978452a06a502d179d5bb1ba3dbf6f2d84bd9ef8f7967f82d6512ab6d420b755d3ea2c3bd243a4f7c5e8baccd4dcd183d390
+DIST sqlglot-17.15.1.tar.gz 8536088 BLAKE2B 6b3e0663a4707bc5c94749765919f9e0a76e4d38b62777923407c360474e9b8671be7d2be3b7e3b7b37c95de9b51cb4aa4bfa161b2fbc7e218a6d20184804979 SHA512 bab2b32ab119e820067dd60b336e96797c2fddfa5cbbe619c12b0c27e19ab8fa8d3106cdc4956036f87b810bd1dab3a5f7a01b690d72b3c1e9ec9f10399bb95e
diff --git a/dev-python/sqlglot/sqlglot-17.15.1.ebuild b/dev-python/sqlglot/sqlglot-17.15.1.ebuild
new file mode 100644
index 000000000000..368b77416b42
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-17.15.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi optfeature
+
+DESCRIPTION="An easily customizable SQL parser and transpiler"
+HOMEPAGE="
+ https://sqlglot.com/
+ https://github.com/tobymao/sqlglot/
+ https://pypi.org/project/sqlglot/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+EPYTEST_IGNORE=(
+ # Tests require pyspark or duckdb which aren't in the tree.
+ # Pandas would be a requirement normally, but it gets ignored by proxy.
+ "tests/dataframe/integration/test_dataframe.py"
+ "tests/dataframe/integration/test_grouped_data.py"
+ "tests/dataframe/integration/test_session.py"
+ "tests/test_executor.py"
+ "tests/test_optimizer.py"
+)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature "simplifying timedelta expressions" dev-python/python-dateutil
+}