commit:     9004daa3d09dd7b51a3320c792aa50e7d78a542f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  9 17:28:37 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  9 18:40:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9004daa3

dev-python/sqlglot: add 19.1.2

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 5d3cea7c3af0..6562c20e5390 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -2,3 +2,4 @@ DIST sqlglot-19.0.0.tar.gz 8955220 BLAKE2B 
9f53b726efb379b72f93f55796ae110be2f05
 DIST sqlglot-19.0.2.tar.gz 8980868 BLAKE2B 
07e6d0af365a45cdac27e7b976979bbd26b36931438928ca169fbfe18598a01b067a736cc0f2f97684c93e574d45f61d0c3f357c2c1321c6e344b7227817acce
 SHA512 
3639e2e1c020c26893ae750bbf20669cf722e2e93e8438934db732c8e79791c61fa3363bf887455b04dee50ebe76fd8d689279fed22260a807a8b3b1f035c9c0
 DIST sqlglot-19.0.3.tar.gz 8998735 BLAKE2B 
ca9b3470f0a3a6c2997c1533b61cdb4ad96895e92fdf3ce924d3cd20af1dc3689ae08897fa3a340051742dff056fc927fa4d5037d23a681b87feb923d2a3731a
 SHA512 
183a90c45a495a204cf00363a50a8fb39d9f37cf05f6b310611cbd5e85f47913d70c3476c6091e1e4b88d23aa1f3196b81bd45e29ad0e5a9ad4ad98b8dbd9fd8
 DIST sqlglot-19.1.1.tar.gz 9031814 BLAKE2B 
75430d912007d6edf3f045a21f68f35a3dd029d57d43c76fbdb7b10cd4e5e27778a7e86ca2100e8dfee63908ed78943180b45cea919b1f1b0d7d59a491ccbd21
 SHA512 
d2652f21e77eb31651f7cfddf2f3b0b1db18174e0409cc7bc7b4cae7c18c8bdc89a007b5a122de35573096b28580a2a47401e4dcf2bbf1b92b10f4d09f424f2b
+DIST sqlglot-19.1.2.tar.gz 9032813 BLAKE2B 
5ed47175decfcdcdf116a5c8676a25f2682ea084d8ddab4c8c147939c159c8c9a2392ebf6466ee32609bb76b86ffe15cd2e7191948067d9ee11e3cdf135331a0
 SHA512 
e790aedc4c8e5907588e414334121eacfb57f317f06c6c61309a3d932bbb5a1696e2582c5c1cbe5f61a1a85087255dbbb1616dc2f8b19888f80055afc517731c

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