commit:     50c0d72f9f5c698847c737b217837fbce9138db7
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed Oct 25 21:52:06 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 03:11:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c0d72f

dev-python/sqlglot: add 18.17.0

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33516
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sqlglot/Manifest               |  1 +
 dev-python/sqlglot/sqlglot-18.17.0.ebuild | 36 +++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 14846e92c43a..6dd4021b7db2 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -5,3 +5,4 @@ DIST sqlglot-18.15.0.tar.gz 8888074 BLAKE2B 
22082ddd15eb6245c05495b4202e9fab5d3a
 DIST sqlglot-18.15.1.tar.gz 8895777 BLAKE2B 
7aa5d7269c2e9d17ed68130d0129cc0a5abcd101a28ce5b85f5636dfa215934309cf7bf2d56ab6c2a819fe1a6128cd33355b39b29f76db32f84ea88034098502
 SHA512 
487646147ed2084c54e93326ba8df0225ae26e780e1ed3375f3eb2fc7fc6c82f0a4bf41a1967ce7719df1bd92b09b0fc175cd70659fe692507b6bfc4eafe6791
 DIST sqlglot-18.16.0.tar.gz 8929202 BLAKE2B 
e47a86345eb3ff2422d45171fddda2ebe9994b5749bb91293253d83874df64f5e1d494c78c359c7c46b5f0b95d4bfe89b06fd0deb3a4d75cf379c3f98e8ae03f
 SHA512 
b98837e947c75cdca2034bf09ee0474e908c8d69d5f5e8306381967b7e8d8b3a7e8d4027bbd436eae328d856abdbef7121a117f8486a949f0129fd3e06d6f87a
 DIST sqlglot-18.16.1.tar.gz 8933427 BLAKE2B 
ecd83a903cc8e4bbe3d1c80086aefe991a671746630366dd30e5072b8287d57643d35fcd138f10c91086a484ee9b4040f94efb766d64d4622af2210009af6680
 SHA512 
f3d7e729d574d557033bca747aacd9629f18cb57874d1c0b883b9cb3ea42c1635a1a299aaee8849ee1716f567580425ad003ee8eac0d0b4314971e1cddfb69b0
+DIST sqlglot-18.17.0.tar.gz 8937529 BLAKE2B 
8db3e473afd5e99480d7753f78260124d57e0620b35270205dcd66725215e76438fec91dfb046872b561d6f1a9a141bc9684db3a058f9b97409d4a36e91cca3f
 SHA512 
3ef7467975ffaf36575951f67d9b1e8031c4e8fb901b7681febc051fce87a8d9602a6facd0564456566703a8faf50b11f31b29129e7af026b8d911c0bf27cf0c

diff --git a/dev-python/sqlglot/sqlglot-18.17.0.ebuild 
b/dev-python/sqlglot/sqlglot-18.17.0.ebuild
new file mode 100644
index 000000000000..368b77416b42
--- /dev/null
+++ b/dev-python/sqlglot/sqlglot-18.17.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
+}

Reply via email to