From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA212158013 for ; Fri, 8 Dec 2023 05:41:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C88432BC013; Fri, 8 Dec 2023 05:41:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2D952BC013 for ; Fri, 8 Dec 2023 05:41:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D57533DF47 for ; Fri, 8 Dec 2023 05:41:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06C4EAC2 for ; Fri, 8 Dec 2023 05:41:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1702012712.ea2488f7047120f2f8da3423dcbe3a017b44cc4c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sqlglot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sqlglot/Manifest dev-python/sqlglot/sqlglot-20.1.0.ebuild X-VCS-Directories: dev-python/sqlglot/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ea2488f7047120f2f8da3423dcbe3a017b44cc4c X-VCS-Branch: master Date: Fri, 8 Dec 2023 05:41:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d39b2588-80d8-4314-8012-02c92ce7b95d X-Archives-Hash: 47d61e546f66f45bedc69cb65f0d0dab commit: ea2488f7047120f2f8da3423dcbe3a017b44cc4c Author: Michał Górny gentoo org> AuthorDate: Fri Dec 8 05:18:32 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 8 05:18:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea2488f7 dev-python/sqlglot: Bump to 20.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/sqlglot/Manifest | 1 + dev-python/sqlglot/sqlglot-20.1.0.ebuild | 42 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index e35eb34fe7fa..141c284129d4 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,3 +1,4 @@ DIST sqlglot-19.8.3.tar.gz 9093824 BLAKE2B fab19b444ffb1889c6d0b8c69e2212ef6c479e9814017e1a1106823143b3b5cd1a960e142e8c1ec1244918a2ddd333adaa10ddfb2514044131a7ca4af1761dff SHA512 7f95c9e710f124f550ab2dd9fb9af42747987f7b8f536a7a5ea7596cf7d8fbcdc4c0565c2aec4d617bc705b65af34c2bccb57b9b43c43decc03d60cceb468aff DIST sqlglot-19.9.0.tar.gz 9096488 BLAKE2B c595fb7e1462bd87c94a7deadac10aeb2c2ffd28e13473d63d0823cf39af00043d74d96503c8334391eab50c58a56019f00773d5964d0428be38ee04588775a3 SHA512 9654942bc17d8afddc936d9ec1e9b6c5e21912689a3be20ea129d376e2a04a7f152424998f36f5dc6d5cc0861913e74b5f038acaaa12d9a64082157e3e179423 DIST sqlglot-20.0.0.tar.gz 9100950 BLAKE2B e18085ae7b807290433dcdb92dd8d399b2f8821aa8085dfabdb534b542e3631968ada066df6614c41c1d7208812068bd89bc2d9b7788d67ea5830f055e72fba0 SHA512 b821864819b7d5c954586a16d5ccd7b255e761aaeb0cb46e20eaee3d615d1a7224954e50de44905e1f57d5a0f8457b611561fd948af1325e3423d47bcadf1333 +DIST sqlglot-20.1.0.tar.gz 9014694 BLAKE2B 195034a059a42f6173de23ab75c2f6a4016d02ad03a5b5244d9ac6f1b40802476f708aeb5c5ebeee68ba310e8434db1b3b9912bc0898a36b84da8980912b946c SHA512 646bcc41e2a03fe8c78d7b2aba9d6f1633f694376b09a9e3c9e9fac8c01775cab6cd98f32bf2e473ba2b92bebcbad32ef44689070b20dca607e354175272cc6d diff --git a/dev-python/sqlglot/sqlglot-20.1.0.ebuild b/dev-python/sqlglot/sqlglot-20.1.0.ebuild new file mode 100644 index 000000000000..1aed7015aa2b --- /dev/null +++ b/dev-python/sqlglot/sqlglot-20.1.0.ebuild @@ -0,0 +1,42 @@ +# 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 + +src_prepare() { + # remove fragile timing check + sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die + distutils-r1_src_prepare +} + +pkg_postinst() { + optfeature "simplifying timedelta expressions" dev-python/python-dateutil +}