diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-20 13:00:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-20 13:00:15 +0000 |
commit | e937ca8df21d3186f65edc11c872706c80eb8a61 (patch) | |
tree | 6758813cd0a8bd1da09045a9171ff389b1b39718 /dev-python | |
parent | 1b5d79237a144dcb8753c783941843d879a906e2 (diff) |
gentoo auto-resync : 20:03:2024 - 13:00:14
Diffstat (limited to 'dev-python')
19 files changed, 155 insertions, 667 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex bd73753398af..706df572589d 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/icalendar/Manifest b/dev-python/icalendar/Manifest index 9a4eea1132bf..0e6e7a88289e 100644 --- a/dev-python/icalendar/Manifest +++ b/dev-python/icalendar/Manifest @@ -1,3 +1,5 @@ DIST icalendar-5.0.11.tar.gz 112178 BLAKE2B 6b71d0a391643435729ed39caadffb0aff6893be26d1e3bd887a69d9156df30d0b798fb3c5d2f268f602a9953400a30c3aae49698008108f2ba810d2bba1eb5e SHA512 ac567ac761fde076d5895a3353fff4de9244847689d4f5366d918223a49f1ffa87063f8bb55b7458092369482868e40d2c9925ea7d95e77feeaf3d9711a5b7d9 +DIST icalendar-5.0.12.tar.gz 115981 BLAKE2B b6a778f78977b2e967f639ca1a6209002c003c0729a993217da2fa7d3e407d5fa696740daae7b3c1084588140675a2fb1346b39042fe869195d917b3a2436f49 SHA512 0b608054b955223c1b876c8395b94a501f6b5afb92285561750749882cde2d55cbb48487f7fcd64188d2d6cd193f3bdb5634871352eb5b7a445c483075a62453 EBUILD icalendar-5.0.11.ebuild 887 BLAKE2B d27de6e8192bfd75a7ac0e19fd13ce17bfe25bd0bddc9d1cc33ddde3e26a061871f36ad28b05d58e3739170e59b06e5ba047328843d0b8a8da0d2baa0a5a98df SHA512 e61d7d588541ae034aa3844aa14b6cb8a3b3d90396b4cc358b9ba1796d845a71b64e56a45d874dea7fd3738470263e76fe8f37f1342cb3afbcb212ce70975924 +EBUILD icalendar-5.0.12.ebuild 892 BLAKE2B 7836dd8dc4a688c093ca24d662dadf9a58783d2f1e698a65cc7f2156106a4c6b6a418f7b219c553dcadd5b65d57a180e669eddee6c7e6fbbcb7badd0b8b8f937 SHA512 e6c1dfd7a1bf2d6273f868e141c3664eac5657c583f176a67000b4363b7a408c5fe301dd4a505ea19fe85ce9d1d55e9989000e39a1f1d7b26de8af63f0637d7a MISC metadata.xml 503 BLAKE2B 284f63e95eb2d3015979a14774f8ff9df0df701b81f8aa2c7583f52d05973cfede1db8eb7904203b854165e10640cc50a0e3cf14d9aff090d9ff657c53098cee SHA512 d206db3c1255c8e475c4289c548f0224c7fc507aae513d3c15706998892ef8450400a97bd07dc7d52142a03cad4abae3595d5315d8912586440df74096edea67 diff --git a/dev-python/icalendar/icalendar-5.0.12.ebuild b/dev-python/icalendar/icalendar-5.0.12.ebuild new file mode 100644 index 000000000000..8e6ce208d2d6 --- /dev/null +++ b/dev-python/icalendar/icalendar-5.0.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 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 + +DESCRIPTION="Package used for parsing and generating iCalendar files (RFC 2445)" +HOMEPAGE=" + https://github.com/collective/icalendar/ + https://pypi.org/project/icalendar/ +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_prepare_all() { + # reset conf.py to not read version from an installed instance + sed -e "s:pkg_resources.get_distribution('icalendar').version:'${PV}':" \ + -i docs/conf.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/k5test/Manifest b/dev-python/k5test/Manifest index 813d4a455e21..5eb05d8afb9a 100644 --- a/dev-python/k5test/Manifest +++ b/dev-python/k5test/Manifest @@ -1,3 +1,5 @@ DIST k5test-0.10.3.tar.gz 13580 BLAKE2B dd2775494de32b3eec92d387a2c907a82c4858c169f286152eb79ea16c5ad1e89b21df840a727df07e879583f6e3006687e339f876456be5628134fa2fdefea3 SHA512 8c07677fbed5189d4ef905d6b201470871eab96700318194527514e7d841a8ec2c28c4f5139dbb2d7fe9be0db4046656d0b3f69ace86c1bbbd3886096adb5792 +DIST k5test-0.10.4.tar.gz 13661 BLAKE2B ece8c900e595cf72bc499b795c564b77f70c656a4edba0060e6e307065b0152a8f7cb80cd00589cb3c2eb264aa01279d3c30510e5457d6f557cdd467e2cd2e7b SHA512 98d76e9df0a4afc0e6eada4909f9eb01b6fd96d53003bb0e8dcda01cd25ab3e338f917a00e985ec23b9fc8756ced6927f0578864c1c06a365e23268dd16d8401 EBUILD k5test-0.10.3.ebuild 440 BLAKE2B ab5856c2139ede76573fa93bd4d2f64b7ebd0d3196deef66d9339f21b0bee3a1137d7433cae38aafa0278afe2f1d2118a94dc260b4de6bcdd03b0c20b262970e SHA512 e193ac5de23d6c30f5af99dd5bf264dbcdeeb839f0a691405bc9cf2f75e86807f574fdd0506694122b223a743cd3bd63be07bf020e4276e4776dc4276f5cc967 +EBUILD k5test-0.10.4.ebuild 443 BLAKE2B 9cbc55c7459b935970ef6e81b528203206fde1d354403466dbd62fe1c71ce7d02f523671a67e136b5b621098121eb7e1f78ff0030ee1b35a9d249a02feb3ba51 SHA512 fffb20be474df9e06f58358ad6ce7efd0961e39e7dfda57ab6a6b99cd209293f9fb2a478928e694cd2d8e294a42f5dc10df8f48a5a9b63065131da2033801ffc MISC metadata.xml 393 BLAKE2B dc1fec37db82ae2baa97fe324533b9105879142442ac6072b20721dc5233981d726fa56dbefaa0d51b85917ba64110395c2f7c57a9d8e88cb8ecb5bd9d116996 SHA512 b8dd2d38e1d2d95d9fac8a77be33973457a64afc771f3122f161db721b2b1ed71a9e569e498bd85494e498dba340e9a7d3137ea1c239d9ba8d8c19332ebfb1be diff --git a/dev-python/k5test/k5test-0.10.4.ebuild b/dev-python/k5test/k5test-0.10.4.ebuild new file mode 100644 index 000000000000..74e148808b0f --- /dev/null +++ b/dev-python/k5test/k5test-0.10.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 2021-2024 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 + +DESCRIPTION="Library for testing Python applications in Kerberos 5 environments" +HOMEPAGE=" + https://github.com/pythongssapi/k5test/ + https://pypi.org/project/k5test/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest index 192db6e2fa91..5fcee09e364a 100644 --- a/dev-python/miniupnpc/Manifest +++ b/dev-python/miniupnpc/Manifest @@ -1,5 +1,8 @@ -AUX miniupnpc-2.2.3-shared-lib.patch 1297 BLAKE2B 006825495896e2c614611abfb51453da937f15412b905c4d237dbaa90de4a9dc40a91677efa34653d6a5357a2a4fa71126b99e3a1e3de363872a5136b9450d3d SHA512 1daeb1efde47ba18684ec99b60ba47dd99575754817a1479190d9ec698246bb7f50365e73179c08c5cae8b57a4652b09cd3d3aea6293164994ee33e14d61f4ac +AUX miniupnpc-2.2.3-shared-lib.patch 1181 BLAKE2B 7c70510447bcc660672802f14ceb4f83ce1c85c1428fe2eeec74d92c8118934c148b0d88eec23098c20f4c6242e99d88fc4c286ba7af1e23341e1467c2159968 SHA512 90962b18361d8eb8bffa9c97abca05d0dcee9323f4ad1e8edb5c13f9e2b32cae2473f54ee41bbe324dafb44dfddce322dc13db03fa011644211804cab89b101d DIST miniupnpc-2.2.6.tar.gz 103949 BLAKE2B bf5ea9ce0194dcff47763989da6eea0282fe2507bab79a14bb699aa1f843730c95b448030d8100241787b899d3cc5e4e7ab4633ee2a97b9121eea05c90b138b0 SHA512 012a7a7c96694890af458933f0bc14573f5c85cc5f3021854e1a965574f993be174ca15c1b0edb224333c2560c3a44cd68a067527db832475a16dbbaaaf48125 DIST miniupnpc-2.2.6.tar.gz.sig 543 BLAKE2B 243d9eacab92a33c6c9bf064333c6d2620c88d2bfb5b6bd1dd5f8360f355e8e4b0c0af596ceccc5783e9beaeb21bc2ba0c24fbf3d7448e92235f4a1a0793859a SHA512 750d0ffef99210552d96383bc67d4200f1306c4200ecac8b0d91f6796882a2c8686e83dbc3fe103d01d957a4212258e660c91a79a76ff87b2a7b0498bc5a822e +DIST miniupnpc-2.2.7.tar.gz 104258 BLAKE2B 5681c1747c8e330442a0ad46d673e1739283bfc23571cb2225abf82326caa7da979911b3182cab2e3eea49140b90619f4e00bb5b1e2f0cd6067c28017cf87016 SHA512 d24e653c2f7bfed4485342c5ec8d18b4dd4c3430975b5fae392d3534f38bb3fb59e6638e76d57847f49045e22f3afd6cac128d7d9d10ef05bd6ad24ef38303b6 +DIST miniupnpc-2.2.7.tar.gz.sig 543 BLAKE2B 6649e5866afd13034b05a9d771c25c419e85631ca17ed7457e5811aee0ba8c38b0ad34033caa5b611cde21a63251e902e3f24cc4748e52a4a379ef075bf59dc5 SHA512 188837275b20c61c05babac916bff86178774030dbc191ecd0e5314c6e9b6dbb627680b512c554a8b27a020bd7503b141be26a134e0ed7e2cc56c7e2c01d9e81 EBUILD miniupnpc-2.2.6.ebuild 1079 BLAKE2B 1a5302ed2a68e6ba696522ebc1872b86153838d6aa6972ce6cf65c17312c6ebb825cab94f31a3875fd0e987a51057f4db75face8dbfc704ffeaca5475c3781e5 SHA512 bcc7c62ab17544731699d0adc621cc03db9160b6b77b060de47a31f3deb41d6af9fe1ee49e8868ade67af7154052bdb95a0ee9f74facd1249cdee1d9d753aa52 +EBUILD miniupnpc-2.2.7.ebuild 1083 BLAKE2B 0ab55ce6eaf4138b0198766ba80f9b582bf98b19a17fa59d46b1027ef77edd17606ed80b015bd4d6a3ee1f8c55c7f9c0e7972f4cabfe752abe4c7d9f3d2c023d SHA512 a43048fc4fce07e5a23546bf5a77812a8400ea92894ad64971be3d92f5ddebb3c1be04463a60acbd6b3629c4d85b746cd64b2d79d9dbd89604946522daa927c2 MISC metadata.xml 377 BLAKE2B ea6ed68d8dc3db74e7f2c667a78a74538e5ad3540b1c1cd05c51309188d468a63cc0672f46a35f1815d7317c70481c414f832bddfc0e8b29a960f9e68faeaeeb SHA512 eeb47bbf1e29648cc00c7fa2adfa3faed52a888e943d7fe34e5fb20dbdb1e323fe6d9f102af5737fc73b70d0f596274ad7a8c54904c8b6a9d6af4973aa69a481 diff --git a/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch b/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch index 6fbb17e60e9f..48002fb47a82 100644 --- a/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch +++ b/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch @@ -25,10 +25,7 @@ index b84146f..73b05b7 100644 setup(name="miniupnpc", version=open('VERSION').read().strip(), author='Thomas BERNARD', -@@ -27,9 +20,8 @@ setup(name="miniupnpc", - license=open('LICENSE').read(), - url='http://miniupnp.free.fr/', - description='miniUPnP client', +@@ -30,6 +23,5 @@ setup(name="miniupnpc", - cmdclass={'build_ext': make_then_build_ext}, ext_modules=[ Extension(name="miniupnpc", sources=["src/miniupnpcmodule.c"], diff --git a/dev-python/miniupnpc/miniupnpc-2.2.7.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.7.ebuild new file mode 100644 index 000000000000..5c48455711f1 --- /dev/null +++ b/dev-python/miniupnpc/miniupnpc-2.2.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 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_{10..12} pypy3 ) + +inherit distutils-r1 verify-sig + +MY_P=${P/python-} +DESCRIPTION="Python bindings for UPnP client library" +HOMEPAGE=" + http://miniupnp.free.fr/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz.sig + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +DEPEND=" + >=net-libs/miniupnpc-${PV}:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc + +PATCHES=( + "${FILESDIR}"/miniupnpc-2.2.3-shared-lib.patch +) + +# DOCS are installed by net-libs/miniupnpc. +DOCS=() + +# Example test command: +# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())' diff --git a/dev-python/poetry-plugin-export/Manifest b/dev-python/poetry-plugin-export/Manifest index 09e1ee7be5de..f2b3030e68d3 100644 --- a/dev-python/poetry-plugin-export/Manifest +++ b/dev-python/poetry-plugin-export/Manifest @@ -1,5 +1,7 @@ DIST poetry_plugin_export-1.6.0.tar.gz 29265 BLAKE2B 90690afe197fd109d5fc5ae4566675a6a1e5e4df50cd814370146501389ba3bb0e78c2be2878cac322548ea5be065ef68f5b28a6d79a003d0f7b31c149ad0214 SHA512 d071f69ace98dbc23a3b129ba7fb30c4e6eac07138f4ee5156c266150f8f025f8b69c61dfadd90d29e1895c70d448fc44a9b5cc502024f00e1657247ed3310bd DIST poetry_plugin_export-1.7.0.tar.gz 29196 BLAKE2B dc3db16ceee5cc727c865e141527ce4c854b2b68050ab8e4c7d03a2912f8fc7c3310653c098510198aea6254b35c875d9e837e129d327ecf0c2bec8f47c88c61 SHA512 9f458491d90b847c896416666cbd1517a1833d355ed0e59df6ae00603ef53383434f02eeb8a31069efeb9a99b1b93abd0a9b7647c9e2ff67976858be458ac95c +DIST poetry_plugin_export-1.7.1.tar.gz 29656 BLAKE2B 130eb35064104c3f22958816447ff674d1f5aed657ada2fe23a635de52338cb736f631b622b0641aae308d69494eb939a1ea659e33fc6227bb742ee01335ae15 SHA512 d472d8e4d6eb803587722854be912009a9bc0a8f86ee0e3ef0046f385ed59236af229109dae85198e3a205702cff86780576939e518fa797f3e5093537a0d2f1 EBUILD poetry-plugin-export-1.6.0.ebuild 723 BLAKE2B 504e7f12c7fe609efade2b0105ddc49cc69280d3e1240e2cce4be7265497c3ee805b073094ccbfd0e8e2ee6af120a2d018cb36f463ba8dc0c0c0a20fbef0b38f SHA512 b5804d9434be05fab7627e5a0d709585c45c1ca0fb62127cd722ed23eeb8aa665db675438efcd5f8e4bb0fc8700bf8bda93a8a018614def8814b4dc6fa265d90 EBUILD poetry-plugin-export-1.7.0.ebuild 728 BLAKE2B 7a3969c339f00d650a707e710fc640c89681acd8c26593cb888cc89c773fc0f4679092f98519edd33ce010e28bf50a40ecbf6cc21c88c36fb6129d6d3d3c1d0f SHA512 9a6e03c0d96de38ffeb40cca40195ccdfbf98c1a831699e3080ba818caaa704f91145ec01bc18919b7dd8dd6effe34375243b29af89a66b363670039da65193e +EBUILD poetry-plugin-export-1.7.1.ebuild 728 BLAKE2B 7a3969c339f00d650a707e710fc640c89681acd8c26593cb888cc89c773fc0f4679092f98519edd33ce010e28bf50a40ecbf6cc21c88c36fb6129d6d3d3c1d0f SHA512 9a6e03c0d96de38ffeb40cca40195ccdfbf98c1a831699e3080ba818caaa704f91145ec01bc18919b7dd8dd6effe34375243b29af89a66b363670039da65193e MISC metadata.xml 514 BLAKE2B 27e1402c90d372d44302449b8b826a66a9795227e72a6b30ccdc316ff0146bb011b8a9fca613e8675ebe13c360d4ba77b6b30a057981e552e3f5762c3af6e65b SHA512 b214726af4d39d3f9a082d4e09e88d1fc63541f18cbdc31e9ceac88aa01ff44eb52cfbfdcca0994f5fd86b905ebbf39af2b0d083f7bca085c1a52c6cab52b630 diff --git a/dev-python/poetry-plugin-export/poetry-plugin-export-1.7.1.ebuild b/dev-python/poetry-plugin-export/poetry-plugin-export-1.7.1.ebuild new file mode 100644 index 000000000000..a1e7b242c958 --- /dev/null +++ b/dev-python/poetry-plugin-export/poetry-plugin-export-1.7.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A plugin that allows the export of locked packages to various formats" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry-plugin-export + https://pypi.org/project/poetry-plugin-export/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/poetry-core-1.8.0[${PYTHON_USEDEP}] +" + +DEPEND=" + test? ( + dev-python/poetry[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + >=dev-python/pytest-xdist-3.1[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-bdd/Manifest b/dev-python/pytest-bdd/Manifest index 84a218a6c80e..a7f393a67095 100644 --- a/dev-python/pytest-bdd/Manifest +++ b/dev-python/pytest-bdd/Manifest @@ -1,7 +1,5 @@ DIST pytest-bdd-7.0.1.gh.tar.gz 80315 BLAKE2B 7838a71fc6f0e7a86337d3b4d4fb9e0e7a3a0149c4271ecd75b5c9b40a28ad6bf3d6ccbc90d4a49a5472ae158f7710d98f91be340e67995ba47ea729584d16e5 SHA512 60d9713485a4719c6589e6641b45045e79c063278359c14ccbd016a6b0a8c8eebbf93e61d59e037988247c0116023910aa5e6776896b64dc96dcc23d0dbf6e3b -DIST pytest-bdd-7.1.1.gh.tar.gz 81072 BLAKE2B 72e807a08176566fc3414dd409bf53d17da13f3a8c6c3e9596a7185174bf8ad876175570601b1db3b5657d7db084cc1c28bed1090ade87fc50c9fe810bfc68e1 SHA512 854e923318ea6d480d11a88231be941b49ac3c16a1f00fb043c962206fb511d1a65ccd92996e820ff4aad4d5c02346aa0c6d5fd482dfe03fa8b065aedec11dd3 DIST pytest-bdd-7.1.2.gh.tar.gz 81260 BLAKE2B 5120a79a5c085976f379afbd4ae7bc68c0d07a8517b6653bb2c94407b9964cd3adcfc92e8abc31cb658caa5c108e0590913c13cbcc408021841b91dbf52b8124 SHA512 7630b119649502e36d7ae2b6027c11b667513eab451511104076617e50de1456ee4b2ff128254ac0db630556258704e21e2a5e73ce9afc20ed403d0186c0a226 EBUILD pytest-bdd-7.0.1.ebuild 1111 BLAKE2B f43979c6d9965cb62c3f9ca0ebb458c39a5ebede55e4cde4d6bc6e851645266ce65f1701eb1bec8c9bd2bdbf63928d34b011f100adb392da4de767f4bc1cfc6c SHA512 a770fd47d7a0da66271cf3838edf9e960901b460fb6d40ccd1d0312fa53efd646af010eb60202792fcd7fcb8d77cf8a0175bc506c6f7b58ec688a6b855ff4b99 -EBUILD pytest-bdd-7.1.1.ebuild 1046 BLAKE2B 06c05c9efca8cbaa8e9a176bb2fa6e1b2369a88fc46d92b3e471c70b9301ac5c9e81d62acf69ecb2558686a92588f5aa87b3895de0bebc328ade5c3bc0103709 SHA512 80a96f59b5d6e4b8c9be249fe98caba9609b5c9b60bba14acb696d9fc013bb7702bf4c447236829b0c53bd20e0dd86742ba9ed5b7cbbf57bc039c0fca9b33a34 EBUILD pytest-bdd-7.1.2.ebuild 1046 BLAKE2B 06c05c9efca8cbaa8e9a176bb2fa6e1b2369a88fc46d92b3e471c70b9301ac5c9e81d62acf69ecb2558686a92588f5aa87b3895de0bebc328ade5c3bc0103709 SHA512 80a96f59b5d6e4b8c9be249fe98caba9609b5c9b60bba14acb696d9fc013bb7702bf4c447236829b0c53bd20e0dd86742ba9ed5b7cbbf57bc039c0fca9b33a34 MISC metadata.xml 404 BLAKE2B b5bdea28ab998a54bd0b76e38c37a77af74d4ae149bfc5af47e7466b7c13ae6a5784be0ecc3e6cd8ccbbd5164dea02d704f596b7e00d22b0d640c4ad3dd13b41 SHA512 97800a5877bd8f3aa880a0cdff19cc89de983ec1a0cd9fbe2c74178b6fc214a0ca7fbb013b2ac490e1c4109f03ded7055e1517a3b57f6da0d79c9f5ea5864e77 diff --git a/dev-python/pytest-bdd/pytest-bdd-7.1.1.ebuild b/dev-python/pytest-bdd/pytest-bdd-7.1.1.ebuild deleted file mode 100644 index a70fd8aae5b0..000000000000 --- a/dev-python/pytest-bdd/pytest-bdd-7.1.1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) -inherit distutils-r1 - -DESCRIPTION="BDD library for the pytest runner" -HOMEPAGE="https://pytest-bdd.readthedocs.io/" -SRC_URI=" - https://github.com/pytest-dev/pytest-bdd/archive/refs/tags/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" - -RDEPEND=" - dev-python/mako[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/parse[${PYTHON_USEDEP}] - dev-python/parse_type[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -DOCS=( AUTHORS.rst CHANGES.rst README.rst ) - -src_test() { - # terminal_reporter test needs exact wrapping - local -x COLUMNS=80 - - # hooks output parsing may be affected by other pytest-*, e.g. tornasync - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - local -x PYTEST_PLUGINS=pytest_bdd.plugin - - distutils-r1_src_test -} diff --git a/dev-python/sqlglot/Manifest b/dev-python/sqlglot/Manifest index cb6caf0b373b..4937a2f93241 100644 --- a/dev-python/sqlglot/Manifest +++ b/dev-python/sqlglot/Manifest @@ -19,13 +19,8 @@ DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d7 DIST redox_syscall-0.4.1.crate 24858 BLAKE2B c3301137a0b84e03b09d28dfa377ab3bea74d574a08cee21d35713b278d8b5b30ca2a1d73a0981baeb4644cbb88c86c8eb15ab3bb2692e38b93e6b35fab4e0da SHA512 073ed9d96090cf46eab9877742277a013c62d8da86d9caf2310b4fa868af306511936553579e01309f27067d344226cc8dc5e3aef01d9b900da2febd33848f8d DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST smallvec-1.11.2.crate 34801 BLAKE2B 58645e99db8f02db64d02c75860c7ea41836c427c03ee3b0b23365e73a406e4fd6ac312bf13fc5faef8bb6111c10fcfd5f839d5b3686e9b34d1626f8469fc327 SHA512 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d -DIST sqlglot-22.2.1.tar.gz 17761904 BLAKE2B 67cfb6333f9f4d00ed7ac4cd1c3eedfd7f374e98b63474464e01937eeae1a978fa9dc1f948cb90e26f39a4e27efc1f5c57c9a82697076f46d8c1c67bcb0d7785 SHA512 3894f1c3924c6830822788e22f6b271ac47d555a6a1d264221fba15dcfa67dc27496944568bdb202bdb7a53fc67ee8f9afc25c1ef4cc624cab144e2d49de032a -DIST sqlglot-22.3.0.tar.gz 12723662 BLAKE2B 301c2590d91c274e038d0fcce467cc6991af4a36300ae8ec9196f189d275195deb85bee11bc168ef6e979507618f73b96eb07c9f5de9d77ac06e0c291f6f2965 SHA512 21c2bb9b63b44fb6813253ac382512d45e5f6a109449b28c4ab468055217b8402fd0a2d9f39cfc09f37f7bcd7ea43828d5138a6012a5230254417d5ad1cbb32f -DIST sqlglot-22.3.1.tar.gz 12763515 BLAKE2B b4f3eba750ed44153d0032fa698b25580625cae4857ffac3fdc675304ae50cb89c576c32233982d80cae0b4cd3ad7b94e1eafd431bbaf3d5f2d1915446c49136 SHA512 511868ae992f037a0a844a940f3ccbd8b482fc6aad422bd060ab695d580504626248de8c71413c40745dedcb43020a56098d8fdadd83d649d78c33734a236a2a -DIST sqlglot-22.4.0.tar.gz 12770391 BLAKE2B c9695cd2241b5003ea3b3dee22ea53cc690f8444f168cbca627c9993792d68addccf8e86ad95c97bc553fb886f54b6a9932a890913cf2bb220403509cb243217 SHA512 6225722ab46aadbf01f1f24b5bd4fbeedbf97a6db6262365a08ea188d9cff1eecb380c4629a69065a0e2e5a1c397969d855b8bd3553527b6b36653ac60a8c66d -DIST sqlglot-22.5.0.tar.gz 12813145 BLAKE2B d1a83bc743165e709805d07e1b6de6e8b6e40ee98d21d7a85933781515c05d87bbd5c7d6850cd929e66084d0b4db6be469bec49c1d143198dc91c33aaef51d30 SHA512 fd0575375ce1e7edcfa3d7ced8b3da9226de5afd8d6d26aac813882a691ff15649b10f97b047523a052b08201bb0f5079ee1c8b3c3858a0e5e30ce74f08b5367 -DIST sqlglot-23.0.0.tar.gz 12818941 BLAKE2B 713ebdab33a27514cccd591677e0ecd8944782f67ffc871eb0622350f4a80b079b2981fc62997abeeffcd7bda4f4859757de9755c0662f69e08b7e7b65b6cf84 SHA512 001792d7b1cab28b886c76f1c4cc7766f05730344c54ece04c467ce747655b79ebb7638d551ba296993356b7cc362043f2669cd5c891b01b716a7f176a81f910 DIST sqlglot-23.0.1.tar.gz 12849655 BLAKE2B 1c6b9356ab1f46e69f933e5a7dae4e39a49da0e6e01ef4d68458e3e038efe1881840b39de4b28799332435553ebb50cebf8f08bbd898f64fecc36507b101b140 SHA512 005310d68d21cefedbeba9eeea15e4edcc73c43e36d14a247814dad862e476c70fe292963f62e993b6b16859752f2c2e62c0d4b73d9cf62f0fb27ae6c78f384f +DIST sqlglot-23.0.3.tar.gz 12854436 BLAKE2B 76f25d44a2d098da85d06a2597afc978c2e7d81c75f1b53eb6cf35637bb4a2e0129131f53d15f2817c7cf27727f567ffefcb436b082a80ff6049a188492f9677 SHA512 899002c9b4859570fe1753cbda39daecea2bbb76dab837ea284bd756a95e58a20d6d4ced8198532d9bcc1da2ae99e52f81fb3df9f3e2454925e56ea2c2056130 DIST syn-2.0.41.crate 246016 BLAKE2B 9d389f2e2a0acb4c84c309456e8ffcc88c5d4d541535ed136832d7a6054dde45a598bb68e8a6f3062ca2a96e1ceae947d54b3aec9bad65b0c51d6733aa6c80db SHA512 6bbaf69ca783025dfb81ac3612ac60bfbed31b2d87792909b35c12892dadebdaff2ddf9463105e536b671dce5870610ab90fe29471284bbd3014dca8d6993f1a DIST target-lexicon-0.12.12.crate 25156 BLAKE2B f3803596c75f6c89438592a1176c3748fc2c0524d7d50a20056de1cd26d40c572b05bafcdf6dd702752864bea37c8b4f28f96dadc12a5b3bb1d279b25e489f85 SHA512 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 @@ -38,11 +33,6 @@ DIST windows_i686_msvc-0.48.5.crate 864300 BLAKE2B 3d3ea8be55e2d6ced0eeda18abe1d DIST windows_x86_64_gnu-0.48.5.crate 801619 BLAKE2B aa7e7e6a6ff9f9553ada3a0a39a9aa798e9d995a8eef36e0b6fdb2a0db93ddecee5548970575271fe43aec74797a420d0ee231d503b5bad1bd999059261e0e33 SHA512 1d6056fae430b3d042bdff3c6217c76be4b8b9f5dada9bad06beaac2db7d7ab9b0a82e44f498ec88e61afa73e99f56d84d445dc3847732b9ce5d947e08485f74 DIST windows_x86_64_gnullvm-0.48.5.crate 418486 BLAKE2B 12a2199d434617c1df1a839e9f435620ad64b40c579f6d0c3677553ad7a48e5765d12c266b04946402e15c92cff2e4ac4979ce2130750ef426e2672119680284 SHA512 c016d5b5e73832b61ff67929d92fa8c16e154656294357266ad29ce1f44db4ca2d2935dba31a6b571187dc838b1d22f1e3b41fefffd1d719a338439adf1646aa DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d278947d36122d9045b839ba0cf3e690202d242265b676f23cc301da5f9d98c56ca4ecb76f7d6f072ee71bf986a1deca87020b90e5 SHA512 fa1c5cd14ca2ff0082e2504cf59d317dc4dc6f7138d35c12f95d4476a9c13d8b7f5537d0ee251eee7c99411ad31b22263171b7fbd391daa5d3ea3488ceaa61a0 -EBUILD sqlglot-22.2.1.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 -EBUILD sqlglot-22.3.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 -EBUILD sqlglot-22.3.1.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 -EBUILD sqlglot-22.4.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 -EBUILD sqlglot-22.5.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 -EBUILD sqlglot-23.0.0.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 EBUILD sqlglot-23.0.1.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 +EBUILD sqlglot-23.0.3.ebuild 2602 BLAKE2B 3bfbd91a9bd26b48f14f4ca2d1143e55e37da4f8c0d893b1a3d4d5853b7959d325669fc46e8f79e5e817b139ccf0684e663456d3b45785195b4e06942522ff08 SHA512 f8c1aa7ea03ed2e0044b6550a13f1e2e40999a16a247cd7206db725c14d3ba06a92cd1909a0126d51ac583ecd8a4825f4da678aab079eb94a7e7cbad16ecafa2 MISC metadata.xml 611 BLAKE2B 10bf684677182565c9932d51ed9b3b9c80d376d6db945bd7b0dd0d9a19a85dc0d10cb169ff2048ae5f7f73d0f438d259b6231c13c525b5374ec99377f4ffdd10 SHA512 2b26d0f77962807052b94ad78addcfdce9859042af3be34df267dc6e70b6231dd779563935fd21955cd8646fd0cce3fee8c939387ac8056194a0b777743dd2ae diff --git a/dev-python/sqlglot/sqlglot-22.3.0.ebuild b/dev-python/sqlglot/sqlglot-22.3.0.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-22.3.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 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_{10..12} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -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/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || 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" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-22.3.1.ebuild b/dev-python/sqlglot/sqlglot-22.3.1.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-22.3.1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 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_{10..12} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -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/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || 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" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-22.4.0.ebuild b/dev-python/sqlglot/sqlglot-22.4.0.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-22.4.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 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_{10..12} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -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/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || 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" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-22.5.0.ebuild b/dev-python/sqlglot/sqlglot-22.5.0.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-22.5.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 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_{10..12} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -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/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || 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" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-23.0.0.ebuild b/dev-python/sqlglot/sqlglot-23.0.0.ebuild deleted file mode 100644 index 058fa81df816..000000000000 --- a/dev-python/sqlglot/sqlglot-23.0.0.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 2023-2024 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_{10..12} ) - -CARGO_OPTIONAL=1 -CRATES=" - autocfg@1.1.0 - bitflags@1.3.2 - cfg-if@1.0.0 - heck@0.4.1 - indoc@2.0.4 - libc@0.2.150 - lock_api@0.4.11 - memoffset@0.9.0 - once_cell@1.19.0 - parking_lot@0.12.1 - parking_lot_core@0.9.9 - proc-macro2@1.0.70 - pyo3-build-config@0.20.0 - pyo3-ffi@0.20.0 - pyo3-macros-backend@0.20.0 - pyo3-macros@0.20.0 - pyo3@0.20.0 - quote@1.0.33 - redox_syscall@0.4.1 - scopeguard@1.2.0 - smallvec@1.11.2 - syn@2.0.41 - target-lexicon@0.12.12 - unicode-ident@1.0.12 - unindent@0.2.3 - windows-targets@0.48.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.48.5 -" - -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/ -" -SRC_URI+=" - native-extensions? ( - ${CARGO_CRATE_URIS} - ) -" - -LICENSE="MIT" -LICENSE+=" native-extensions? (" -# Dependent crate licenses -LICENSE+=" Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016" -LICENSE+=" )" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+native-extensions" - -BDEPEND=" - native-extensions? ( - ${RUST_DEPEND} - dev-util/maturin[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/sqlglotrs/sqlglotrs.*.so" - -src_unpack() { - cargo_src_unpack -} - -src_prepare() { - # remove fragile timing check - sed -i -e '/assertLessEqual(time\.time/d' tests/test_parser.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if use native-extensions; then - local DISTUTILS_USE_PEP517=maturin - cd sqlglotrs || 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" - ) - - # make sure not to use an earlier installed version - local -x SQLGLOTRS_TOKENIZER=$(usex native-extensions 1 0) - rm -rf sqlglotrs || die - epytest -} - -pkg_postinst() { - optfeature "simplifying timedelta expressions" dev-python/python-dateutil -} diff --git a/dev-python/sqlglot/sqlglot-22.2.1.ebuild b/dev-python/sqlglot/sqlglot-23.0.3.ebuild index 058fa81df816..058fa81df816 100644 --- a/dev-python/sqlglot/sqlglot-22.2.1.ebuild +++ b/dev-python/sqlglot/sqlglot-23.0.3.ebuild |