commit:     bebd30bedc6544b09fe27c719a6c3dc3449c8f84
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Oct 30 20:59:32 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 31 06:25:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bebd30be

dev-python/sqlglot: add 19.0.0

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

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

diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 6dd4021b7db2..879b6da6ab9b 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -6,3 +6,4 @@ DIST sqlglot-18.15.1.tar.gz 8895777 BLAKE2B 
7aa5d7269c2e9d17ed68130d0129cc0a5abc
 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
+DIST sqlglot-19.0.0.tar.gz 8955220 BLAKE2B 
9f53b726efb379b72f93f55796ae110be2f0596c4e4156e4c67ba899b0138fd6abb28b0a800c6d79c58bba565cb551ad42c94c8fba26ffcea854ad94a35971f0
 SHA512 
ac679f5c2d911a46ca6c4183ae3542e7a436185f37af494c8a35b657e5fe552cfea2e7d6c142721bb2247f91d5ceda8f602cc54a80b19a3ed72a95d9a9ed4e82

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