diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-07 17:05:41 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-07 17:05:41 +0000 |
commit | 265872eddb19fbd0187e486b4abe17a57aeab16b (patch) | |
tree | 4eec48d74c7a857b2026ce63700abc979d55a3ae /dev-python/sqlglot | |
parent | fa9b514c7c3e9ea3c1cee9b729c35ab182d1b247 (diff) |
gentoo auto-resync : 07:12:2023 - 17:05:41
Diffstat (limited to 'dev-python/sqlglot')
-rw-r--r-- | dev-python/sqlglot/Manifest | 2 | ||||
-rw-r--r-- | dev-python/sqlglot/sqlglot-20.0.0.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index 7091cbd71a0d..d68dd7e2ce4e 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -1,5 +1,7 @@ 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 EBUILD sqlglot-19.8.3.ebuild 1066 BLAKE2B 21985b79ed0ce266fb4abce3854824cb30125406191e9fedcc18d16ce0da90fd26c7866eeeda607583ec3178e950c906498e26c2ef5113c230861521553e0888 SHA512 0cf4ca1ded57a550ef8038bcaf2d7122b8c589ad091f7d6e1daeb5cfe98147f15c44f75ce0aaf9ed14842bfa1164fcf48fd87212dc28a4869e70320406987914 EBUILD sqlglot-19.9.0.ebuild 1066 BLAKE2B 21985b79ed0ce266fb4abce3854824cb30125406191e9fedcc18d16ce0da90fd26c7866eeeda607583ec3178e950c906498e26c2ef5113c230861521553e0888 SHA512 0cf4ca1ded57a550ef8038bcaf2d7122b8c589ad091f7d6e1daeb5cfe98147f15c44f75ce0aaf9ed14842bfa1164fcf48fd87212dc28a4869e70320406987914 +EBUILD sqlglot-20.0.0.ebuild 1066 BLAKE2B 21985b79ed0ce266fb4abce3854824cb30125406191e9fedcc18d16ce0da90fd26c7866eeeda607583ec3178e950c906498e26c2ef5113c230861521553e0888 SHA512 0cf4ca1ded57a550ef8038bcaf2d7122b8c589ad091f7d6e1daeb5cfe98147f15c44f75ce0aaf9ed14842bfa1164fcf48fd87212dc28a4869e70320406987914 MISC metadata.xml 635 BLAKE2B fb154da2feeea6d590b4f3edb8d8d90d316feee1b8faababc022db026254bd24674d8419b74074b089d4d8930bab642cdc5fa7694bfa9e033cb5ef4ad4988562 SHA512 dd5ed7212dc2eac6a4d84bb2e3639db1ffe163598d911073d7100a8ebfeceb85842ea2e6a597d1036d5b1388d18954b95a782af7b3a84479bf3b59ef9e9b6bf8 diff --git a/dev-python/sqlglot/sqlglot-20.0.0.ebuild b/dev-python/sqlglot/sqlglot-20.0.0.ebuild new file mode 100644 index 000000000000..1aed7015aa2b --- /dev/null +++ b/dev-python/sqlglot/sqlglot-20.0.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 +} |