commit: 61ca5fe3f358187c7bfc6192ec4ad6b3aed4e320
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 02:24:14 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 02:33:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ca5fe3
dev-python/sqlglot: Bump to 17.11.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sqlglot/Manifest | 1 +
dev-python/sqlglot/sqlglot-17.11.0.ebuild | 36 +++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 92c44f7ca0f9..8fdc8b794a7c 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -1,2 +1,3 @@
DIST sqlglot-17.10.1.tar.gz 8394322 BLAKE2B
e7d922644e3071ccc6ce666b10081ce24095cbed6d2136c70e632d241196058762167874b175e6b000dda91922d72000fd6f57d8ae775dec588915f10a51d2e8
SHA512
6cbf3c82e5fee73dcbfe677213c10325a5fb81c8f93ba594d88abe9fb7d3a6580c6c6adebc6551cbe1dc8ae51ad68ac33a0242088e68dd80ef3e7285f4479ad1
DIST sqlglot-17.10.2.tar.gz 8399314 BLAKE2B
c9695273925485f366f155f15a741074ed9b8f91ca5dfd7b233af8c43acb9dddfd48125218f12b47a4a1ad4003299e49ce532e4ff8a24a6cf6b074b6e069b484
SHA512
806b59eaca0b90f94fea9613313763276fd4def1b34e4781b7c5a05dfec446b3d6ddbfe27bf9c6f631820220013cae390f3e251ed432816d7598ed3140993d89
+DIST sqlglot-17.11.0.tar.gz 8399720 BLAKE2B
28a2da06afc70a510ad046d25432c2b145fc10374ecc41b78052e22ba771dc21d57503d5335839cf3c227fc53c12365f4cc2d6a4c9e1e1ccf02b71266e7e0cdb
SHA512
026af3b24a2c62efee937238eaa69ebc47dd0ee8e2979cacd28a45c565dc36f3aa1e03f0fe46265a1f9c5e379eacc54f730c57b06bf80962ccb87d43893fc9e3
diff --git a/dev-python/sqlglot/sqlglot-17.11.0.ebuild
b/dev-python/sqlglot/sqlglot-17.11.0.ebuild
new file mode 100644
index 000000000000..368b77416b42
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-17.11.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
+}