diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/sqlglot | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/sqlglot')
| -rw-r--r-- | dev-python/sqlglot/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/sqlglot/metadata.xml | 20 | ||||
| -rw-r--r-- | dev-python/sqlglot/sqlglot-30.7.0.ebuild | 53 | ||||
| -rw-r--r-- | dev-python/sqlglot/sqlglot-30.8.0.ebuild | 53 |
4 files changed, 128 insertions, 0 deletions
diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest new file mode 100644 index 000000000000..2eff36ded9dc --- /dev/null +++ b/dev-python/sqlglot/Manifest @@ -0,0 +1,2 @@ +DIST sqlglot-30.7.0.tar.gz 5860425 BLAKE2B 0d6812c1857b0927b6f2a7e22d21967de694a0face5b368ab494ed0148054dae289c4b8cb0728690f1776191e723ef128798784cd843b110391673fd6e8f65fa SHA512 8bb0e1739203f23483ebf1ff4a35ccf6c99b4ec49bab6f694c7648839f15867adaa058b66beb9393ad617fd74225f0e217a3bcf5c37ff811cec7d41550a2dfc5 +DIST sqlglot-30.8.0.tar.gz 5869750 BLAKE2B c6345dc83e51eb0a20bd09743653f4103af45d8a8d11832b5c461afa3dc4be664cf7c4b3574350f1a0214e9e0dabe8cd706fa089b387d42488fff86cec2fabbf SHA512 4647e2d605d68ed424608a648d369e0dc7ffcc111c5f909bd236f8ff7c1491484f2934b177463199701fab91a5623084d50427a7e86b88a8dd66675f38fa39c3 diff --git a/dev-python/sqlglot/metadata.xml b/dev-python/sqlglot/metadata.xml new file mode 100644 index 000000000000..c21c821e9216 --- /dev/null +++ b/dev-python/sqlglot/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>parona@protonmail.com</email> + <name>Alfred Wingate</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">tobymao/sqlglot</remote-id> + <remote-id type="pypi">sqlglot</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sqlglot/sqlglot-30.7.0.ebuild b/dev-python/sqlglot/sqlglot-30.7.0.ebuild new file mode 100644 index 000000000000..063fa5096326 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-30.7.0.ebuild @@ -0,0 +1,53 @@ +# 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_{13..14} ) + +inherit cargo 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" +# Native extensions removed: it uses mypyc which is incredibly slow +# and then the extension crashes anyway. Upstream uses their own mypy +# fork which might help but that's just insane. + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +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 +} diff --git a/dev-python/sqlglot/sqlglot-30.8.0.ebuild b/dev-python/sqlglot/sqlglot-30.8.0.ebuild new file mode 100644 index 000000000000..063fa5096326 --- /dev/null +++ b/dev-python/sqlglot/sqlglot-30.8.0.ebuild @@ -0,0 +1,53 @@ +# 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_{13..14} ) + +inherit cargo 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" +# Native extensions removed: it uses mypyc which is incredibly slow +# and then the extension crashes anyway. Upstream uses their own mypy +# fork which might help but that's just insane. + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +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 +} |
