summaryrefslogtreecommitdiff
path: root/dev-python/sqlglot
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-03-17 07:56:49 +0100
committerMichał Górny <mgorny@gentoo.org>2026-03-17 07:56:49 +0100
commit795e9e31b3381eab6c695b3d8517257f84dde505 (patch)
tree31f69ceaf2b2960ddba292b8a4fc22579f514a65 /dev-python/sqlglot
parent2cb47cf3d12339e501db2a4b2e314627e17856f7 (diff)
dev-python/sqlglot: Revert "Bump to 30.0.1"
Revert accidental push. This slop requires a forked version of dev-python/mypy. Reverts: 052746109186d8e747288807d7ac802a6bf1af37 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sqlglot')
-rw-r--r--dev-python/sqlglot/Manifest1
-rw-r--r--dev-python/sqlglot/sqlglot-30.0.1.ebuild67
2 files changed, 0 insertions, 68 deletions
diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest
index 84f750fb32ad..67bdff85704f 100644
--- a/dev-python/sqlglot/Manifest
+++ b/dev-python/sqlglot/Manifest
@@ -1,2 +1 @@
DIST sqlglot-29.0.1.tar.gz 5760786 BLAKE2B e4824db4673118db7c3aefb1bebe3ea7677726844fb4bfc23599981184ac47404270cb22ce141be86c502129c4fa3d3f48d136e7044bd7094ed71761b1bc8c7c SHA512 819aa9f2816a4f6f262242f3e15656f10ce2f30fe0bec387c11994f2b77d51f9dd14552b2a59c8466800b14a725f42443aba231e62f9cf6bb704eaacfb70e423
-DIST sqlglot-30.0.1.tar.gz 5793328 BLAKE2B b70ec7914def0610f1e4517acc44959aed827f16b09bca7402028a22aac5c32334a0e2073440ad014ede0b169aae7f402b21363b6f41d2de64673cfe9e4b09bd SHA512 92c9da056a7401dde88de87814af96c891a73c41bef02ae99c25434f7ad82d74fc7522cce97082f753916410b26913dbc11ed62d6a77750edc16300e409263fc
diff --git a/dev-python/sqlglot/sqlglot-30.0.1.ebuild b/dev-python/sqlglot/sqlglot-30.0.1.ebuild
deleted file mode 100644
index a580902d6003..000000000000
--- a/dev-python/sqlglot/sqlglot-30.0.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2023-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..14} )
-
-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"
-IUSE="+native-extensions"
-
-BDEPEND="
- dev-python/setuptools-scm[${PYTHON_USEDEP}]
- native-extensions? (
- >=dev-python/mypy-1.0[${PYTHON_USEDEP}]
- dev-python/types-python-dateutil[${PYTHON_USEDEP}]
- )
- test? (
- dev-python/pytz[${PYTHON_USEDEP}]
- )
-"
-
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-
-python_compile() {
- distutils-r1_python_compile
-
- if use native-extensions; then
- # sqlglot has PKG-INFO but sqlglotc doesn't
- local -x SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
- cd sqlglotc || die
- distutils-r1_python_compile
- cd - >/dev/null || die
- fi
-}
-
-python_test() {
- local 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"
- )
-
- rm -rf sqlglot || die
- epytest
-}
-
-pkg_postinst() {
- optfeature "simplifying timedelta expressions" dev-python/python-dateutil
-}