commit: 20238414eaf581a3cf3b096acce5a14a9632be45
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Aug 7 07:52:16 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 7 11:46:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20238414
dev-python/sqlglot: add 17.10.0
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sqlglot/Manifest | 1 +
dev-python/sqlglot/sqlglot-17.10.0.ebuild | 36 +++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 13829e2baaae..f04d8483bb72 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -1,2 +1,3 @@
+DIST sqlglot-17.10.0.tar.gz 8390551 BLAKE2B
634b771dfb028feec56e643a1806801d7adaa8fb35c18e13241cf278e11da37cf5cb121f1b470b893da5d4bcb2972bfe8c271ff071a99ae2a2887568afe7b464
SHA512
1fb9dc5981e0dd57814ba1f86109a382359dedfad0dee8da241e126ae2e3365372afa3de76c4a1be60fa8993883ab643322812d71e68986bca8a97ecb5a35edd
DIST sqlglot-17.9.0.tar.gz 8382270 BLAKE2B
86bd687906e7e2fca631021a0d77fbe91beb931ead70dd6d7b5a7255a5302412bede8b1e5abdc4e8ffb610640c3e3597ee1d78cbf6fe3d4e76947572bbec26ad
SHA512
52b1eeece3854b9a0ed839a0f0f08af572d9e445a84d241af481bb104b49cba5a5af6b02a671343d69b4c2233f9e3f4c355969307e86d91544d32a94fdf4a5b4
DIST sqlglot-17.9.1.tar.gz 8389281 BLAKE2B
97c1642a42940344cffb9a6c53db44d4850d0d4b029dde16f202288515d40cfb3a405813893140041bd19c30ed9dfa9d1ab104e0a61a6ccefa140df26fa86eb9
SHA512
925b56cf0bb84a58416b32af33ed37c30ca93d56244ab3cd6f72276dbeb448a85e3b1919c9bca77f3d0c51b9de70f0b98afc666067b1377ede8e52dea3d71267
diff --git a/dev-python/sqlglot/sqlglot-17.10.0.ebuild
b/dev-python/sqlglot/sqlglot-17.10.0.ebuild
new file mode 100644
index 000000000000..368b77416b42
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-17.10.0.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
+}