diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 17:30:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 17:30:28 +0100 |
commit | debb2c431b40a6b4750a39956cc5fcfa5a4a6476 (patch) | |
tree | 5c5fceb399f1dddaf02d4d8da8f674106cede374 /dev-python | |
parent | a17b25a10359070f9527893d861369d378021aa9 (diff) |
gentoo auto-resync : 07:04:2023 - 17:30:27
Diffstat (limited to 'dev-python')
23 files changed, 550 insertions, 13 deletions
diff --git a/dev-python/Babel/Babel-2.12.1.ebuild b/dev-python/Babel/Babel-2.12.1.ebuild index 818272ef77fa..943a3ce6af7f 100644 --- a/dev-python/Babel/Babel-2.12.1.ebuild +++ b/dev-python/Babel/Babel-2.12.1.ebuild @@ -44,6 +44,10 @@ distutils_enable_sphinx docs distutils_enable_tests pytest src_prepare() { + local PATCHES=( + "${FILESDIR}/${P}-dst-test.patch" + ) + rm babel/locale-data/*.dat || die rm babel/global.dat || die distutils-r1_src_prepare diff --git a/dev-python/Babel/Manifest b/dev-python/Babel/Manifest index 0447d02cf525..72c95dd60e71 100644 --- a/dev-python/Babel/Manifest +++ b/dev-python/Babel/Manifest @@ -1,8 +1,9 @@ AUX Babel-2.11.0-sphinx-6.patch 983 BLAKE2B abd902e9b37f4c67a2697a6405a9559b0b2e0f19a3f1439e1460d11343974000b35e4519b6180c8e2f9d45cd8141f9a5e93c451ab32207573cf87b7163066221 SHA512 9b428ac9f53b420d3081cc7eb560fb24f9ebc2db4eff2fd12fe7e51626dc95f449173cfbf51096d442dc0f0983f086d3430ab21202560bb084d6fa0c62e20e2b +AUX Babel-2.12.1-dst-test.patch 1853 BLAKE2B 6438546ad48083839b8c3da4ff1a3af1dca97aa8fa80f5bcb97fe5e582d74d0766c3d2eb7b239fc558d872d3ce1aac64db7adee88ce5989452ff55962399bb35 SHA512 83018914dcb8a36cbc27bf4f698d72541627c17a5a162094e8aeaac970ac588b161938bed7c12a15f926b59b63cd1ea6985da82bb8827ac18c6a47d16f2f67a2 DIST Babel-2.11.0.tar.gz 9346097 BLAKE2B 99ae97e4dc16e1757ae6f054f9f346c6728d087bbfba33786d59211ac4b6c12bf861c79ac7c12a3efd89539220126ea1ea9a3578a9008daaa464aed315102b60 SHA512 526368dc5e44f2d93c52f2fcb544130eea6c6b7c78325bd56c6d9a6706890a4cd9daa1498d639aab65059801d87977da626e64585083c58c4b328001991eea0b DIST Babel-2.12.1.tar.gz 9906735 BLAKE2B d78838f9a2032eae998f1d751ad803fec81c03be498db934e34e0702d28e0815a7848e55af73ea4dff45e3cf063b9e45ab06c749b8d3f15b7742e209bf3d06ef SHA512 93c4bf343d99a1f47f43f8b828eb79098cb429bac1034d58b5aa49adff68116e458067f3784d997f34515828a7432fd18f7abbaeee59b47a4ee8ea744908b33b DIST cldr-common-41.0.zip 29364494 BLAKE2B 1960e860017c3e5f31d935d66a1ff551720975dca0af459adc72b8dc54100938fbd2d2ef00eb457f3fd04d4f1e90a4783229c350b125029dcda5c1e6903f9a54 SHA512 c64f3338e292962817b043dd11e9c47f533c9b70d432f83e80654e20f4937c72b37e66a60485df43f734b1ff94ebf0452547a063076917889303c9653b4d6ce5 DIST cldr-common-42.0.zip 30178050 BLAKE2B 076e3eca12534feff8e0e54bdc1fa38fc0db0f78cac8b4e35b343763a8ac6787745aa36be165684f4d6dda423409c4431a8e4941c53ae7d340ead0b35edbca30 SHA512 315448fe6a9ac2d5a6a7fd1a27b38c5db30fed053654a803d50e3a8d06aa08ad153e8e57089fa094c561f41a54f37eecda0701b47a1813879902be71945aa38a EBUILD Babel-2.11.0.ebuild 1412 BLAKE2B 2848c8cbe3ee7373d29be5d58f7e4de2a11bf1d31b11617c8c7b1185a4e59e2379c3bbc9136870dfd143e9b7e8639e28fbea5fd1c29d68f64d5ae93c8100457e SHA512 676b287df6475892a20057b108d16c660c998e102b1ec821b2d62bd77012f00f63591d4b0a8aa6895931ef1f7ed8dc748dbedbbaec35b6e0bf334039448d32ba -EBUILD Babel-2.12.1.ebuild 1320 BLAKE2B 801afa7de5be408c19ac57a20bc7b41a96588028606a770c830a7e202a61e1d42efb1944514dc599082a286b15bdc9229390a3f735c311b681c20747cb9acf81 SHA512 680f3a8e3fc4851c91f11042b72ae21c7270150ba554c5b535ec970ab5022090580d957568df6b0feeb33d146cceff73f79560a713693c30eb7ed9230eb06c1f +EBUILD Babel-2.12.1.ebuild 1377 BLAKE2B c7bc6c3d2daf10e254425195365e97148534c9c4b8440f093f487413782b064880cf1344cfbd2181b6711e0ff68ab087f3bdfa692993f47e37ec013ab69d9564 SHA512 ba7e601a3d32e9915d01d5b7a6a974b47c95bf707692b0e0b2157ff680ed6e8f2d451c8c8ca71a062cf7d24429e6af9b60e852bc31c3ec179a3d1277cc4e8080 MISC metadata.xml 840 BLAKE2B b0f46186ca0a319d3e4e1a658007b2cc59fe3a3ea9ede567af5084593f907e88dbe714d2b70c6a882ec95a5f90d4c0e3620ea0a939ad6e52650e770de88a45ba SHA512 621b66293259fd20c94a62ecf64673f7afcd714c18f054c8c0afe2d14e6e98c8abbdf6b4c5cc0043b5d30e513acab292d85c5587a02a9ae99ca007a28720c921 diff --git a/dev-python/Babel/files/Babel-2.12.1-dst-test.patch b/dev-python/Babel/files/Babel-2.12.1-dst-test.patch new file mode 100644 index 000000000000..2a732854e7b1 --- /dev/null +++ b/dev-python/Babel/files/Babel-2.12.1-dst-test.patch @@ -0,0 +1,46 @@ +From 641f58c9951d9f5746cd63743dd337f1340d7bff Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Fri, 7 Apr 2023 14:51:10 +0000 +Subject: [PATCH] Freeze format_time() tests to a specific date to fix test + failures + +Freeze the date when performing the tests for format_time() with +a timezone specified. Since the time object does not specify a date, +the formatter uses the format string specific to the current date. +As a result, if the current DST state is different than when the test +was last updated, it failed. + +This fix covers only regular tests. I have no idea how to do the same +for doctests. + +Issue #988 +--- + tests/test_dates.py | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/tests/test_dates.py b/tests/test_dates.py +index b94c710..3f1fc3f 100644 +--- a/tests/test_dates.py ++++ b/tests/test_dates.py +@@ -601,12 +601,13 @@ def test_format_time(timezone_getter): + custom = dates.format_time(t, "hh 'o''clock' a, zzzz", tzinfo=eastern, locale='en') + assert custom == "09 o'clock AM, Eastern Daylight Time" + +- t = time(15, 30) +- paris = dates.format_time(t, format='full', tzinfo=paris, locale='fr_FR') +- assert paris == '15:30:00 heure normale d’Europe centrale' ++ with freezegun.freeze_time("2023-01-01"): ++ t = time(15, 30) ++ paris = dates.format_time(t, format='full', tzinfo=paris, locale='fr_FR') ++ assert paris == '15:30:00 heure normale d’Europe centrale' + +- us_east = dates.format_time(t, format='full', tzinfo=eastern, locale='en_US') +- assert us_east == '3:30:00\u202fPM Eastern Standard Time' ++ us_east = dates.format_time(t, format='full', tzinfo=eastern, locale='en_US') ++ assert us_east == '3:30:00\u202fPM Eastern Standard Time' + + + def test_format_skeleton(timezone_getter): +-- +2.40.0 + diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 6844e128dc60..f2e636541c92 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/cvxopt/Manifest b/dev-python/cvxopt/Manifest index 91b493e89ff8..2ad751d94c5b 100644 --- a/dev-python/cvxopt/Manifest +++ b/dev-python/cvxopt/Manifest @@ -1,4 +1,4 @@ AUX cvxopt-1.3.0-versioneer-buildfix.patch 1302 BLAKE2B 40be5ad702350869162a9144504c37bae1af8375df08ca11197df2fae524876d43a37cf63566d3c3daf714034e17d5d64919e400b373b9e557907881e25d39dc SHA512 00ffcba4730e11a0860c91ae224a1c1731c2c41ebb5d3748107e17cb83fd5fef15d0568eff34901554a03666d9ecf2adc82251e455d7bf1c722be51cf28574ff -DIST cvxopt-1.3.0.tar.gz 4120085 BLAKE2B f4cb23146897d3f4b24e0fc4d59bd89e2c5b49c83aecdbec02297abbea8a16ecab85a02e9c187debbf3a03cc62e4c46128acefbec2af7ea20558e7fa1d1c0bd0 SHA512 b719100abb0b049765963dc4ca9f646b508a319b5f8390aa7a0578056d32a32573e195c136ffb907a57135e337887d2256c9a0883e63dad966dab43cad0bf58a -EBUILD cvxopt-1.3.0.ebuild 5430 BLAKE2B 1be9ce6e76b0b1e7c3f2b7aef07c7de9c657d5363291b4eb273ac7614aeb55645f8eba974587520ee9cb04a90177b5f38d8eb8ee9888fde9536b7f8c85eb9b2e SHA512 a4187b61591967fe0672ed7c9975f83016c70f70a7e9f495351e377ef0d329876215bbd2584e05604d8fa132e4ea4663c4d5925a28d45b15b79e0899ab412242 +DIST cvxopt-1.3.0.gh.tar.gz 4120085 BLAKE2B f4cb23146897d3f4b24e0fc4d59bd89e2c5b49c83aecdbec02297abbea8a16ecab85a02e9c187debbf3a03cc62e4c46128acefbec2af7ea20558e7fa1d1c0bd0 SHA512 b719100abb0b049765963dc4ca9f646b508a319b5f8390aa7a0578056d32a32573e195c136ffb907a57135e337887d2256c9a0883e63dad966dab43cad0bf58a +EBUILD cvxopt-1.3.0.ebuild 5433 BLAKE2B b527a7eb227c141483b58414432f511f25532539e65632106a366c8e8c4577aa6612f990675f5b10878effa06a0e1b1404db0f55a09685ae443481c5936e0f2c SHA512 f4fc2d83c9bad49eddc5e828aecf7039af077478f080a39b6c94155a69f11027a212d17bd6bc7ae7b6d30ee377619fe3a1a8368f9f331fa49f2d1628c3a61962 MISC metadata.xml 937 BLAKE2B 56df0383c4cf21f724c336398a7a78504cab6a838a5dd16a689c3c99b93645fe82bbb50def4c847b414fc16f7d2771e6c6889d4442f73e2e4b9be7769dd9676f SHA512 3ef4196f1ee00ed1831e9b4027c95b6fd2ccce0cfa7b8ec1a5e42397cb16f61992697357ace2b42835844844894207aa569250ec2992b39e27376da359de327e diff --git a/dev-python/cvxopt/cvxopt-1.3.0.ebuild b/dev-python/cvxopt/cvxopt-1.3.0.ebuild index 69c258371d14..56afe5241bea 100644 --- a/dev-python/cvxopt/cvxopt-1.3.0.ebuild +++ b/dev-python/cvxopt/cvxopt-1.3.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" " SRC_URI=" https://github.com/${PN}/${PN}/archive/${PV}.tar.gz - -> ${P}.tar.gz + -> ${P}.gh.tar.gz " LICENSE="GPL-3" diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 5630a65e5764..ac7f0ebcc154 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -2,7 +2,7 @@ AUX django-3.1-bashcomp.patch 2085 BLAKE2B 36a0aa4d3413f13089ac104f5d3f98ecbb152 AUX django-3.2.18-py311.patch 6716 BLAKE2B 6937c7dad0b4435906923cf08c47198d1d2046efbdc98dbcd914e66a6d72ea1d80393df71632e97f4f8aa3fdbc0e9cd63f4036dfc21833d9ce62de49986f76b9 SHA512 fb8c57bc1bcac563a6572ba54c2cb8ee98e6290ac44d75a380c841c048021e464aa85e60a41652d58094e21ec5b4ec4d677bbf9ce686fcbf1ea3e0999fe92c13 AUX django-4.0-bashcomp.patch 2021 BLAKE2B f04c83b500a92ea8ef9609225191e38a41b3349a295beca8f8575ab05395d0cf37e1aefe295004b11c1bcf34cce9074ac7d274034cb50e1ae43e2fcb5d6952b2 SHA512 2215dca4120023b0fd839738bd602443c49e9adaa98d182bc74081ebe70613649c2dc11e2b5f6242701dceac25755adb8605774895091360b56ed1195a7e629e AUX django-4.0.5-py311.patch 9279 BLAKE2B 3082f4f9da3f127807402a55655b059019787143dd8c2cb14b1a27d2fbf66464179c2f08381284340fccb4e6bc1c25a1e36291a0dd8cbd83c754ee1f78d220b8 SHA512 d48f29fa5fe9e434a4220825d1592a03a0667d956db4e6c4119e74f91524b8d02b295a5a600516a993adc2dd3e1f5ca4bde83acd8a6a8e0838382116d2703a28 -AUX django-4.1.8-py311.patch 668 BLAKE2B d9ddd4e78775576aff0bda993fda23dec2ba412028c42ad58a85a62ebdf9dc57f11d5e6b4aaf3161cb8d350ed605f7251683a3f412c96ef2fba8fa3cb6b0f800 SHA512 a22394cdcd2724a0aa7a9acbbc1b9d1fd3d5364439829ae1bef1b2ad2d5180d2ee217e346f72b5f32a69c3d2c59c6d74b0bebcf30f270bcff9458ee21865c1fa +AUX django-4.1.8-py311.patch 1120 BLAKE2B 09793426aa8a7ff0273ae0267e4c74c58fe05e51200c0fe283242e53e2af789280d4860d8d88008d819863320352b546bcd52b6abd52034409e2da14cec57910 SHA512 03ae3e631819a12ecb2bc6db2a548ed7197da70698aecf361fea41ed485ce7300d4d8679478da9f49a32ff7065aae5c532e18d37773928e7a7553c7b5d1531dc DIST Django-3.2.18.checksum.txt 2563 BLAKE2B 8deb25cdc9f3a859b68925b7c8615bf3bf955f0c5db7558818fc9177c2a5d5f588b848bb15094d5f2d1f9a92693204ddc753ef25411d328e8c7f755f93184b54 SHA512 b5fb24a525c10bbb1f82074b9637e4ddd68ec8bd80c3676f326f4be41a81643cb539c13123447895f6a3639d8938f70f009de31752eb5753ca1dc3dd162d9f92 DIST Django-3.2.18.tar.gz 9848949 BLAKE2B cf42d306d506addb43f725d5896be7bba41e37633fab0173d9e0bc76894b7c5a26fa945edb85e33f7b356d1d36b3ea9e7c85b5ec6efda5541639bc425230e8ff SHA512 dbcf8daa4edf3666bfcb366b09e1c3de12a4176770ab2e6cd22b459ff77aa4cdbd72c445f53e7b23a907f663dc37b07c15d5d0d67e63fdec98eb4832dcc57d6d DIST Django-4.0.10.checksum.txt 2563 BLAKE2B 1ec93751204e80d75f5f4f15086cfd9aabe65e392359f82edb234f2b86802bd1078e00575379c1956dfca8e6c60ddc6209079ae7e99450aa000b22c3312a89f4 SHA512 67b335f184ce02395efba3a4bec7d8087735ef8816eda70867faf9c02242c11c95f30fc36db6abd30996098dd567ef53f6dd467567c5405f34cb2bff7cd2a23c diff --git a/dev-python/django/files/django-4.1.8-py311.patch b/dev-python/django/files/django-4.1.8-py311.patch index 043b31a2c780..a84c9f4cb7e9 100644 --- a/dev-python/django/files/django-4.1.8-py311.patch +++ b/dev-python/django/files/django-4.1.8-py311.patch @@ -1,16 +1,28 @@ https://code.djangoproject.com/ticket/34118#comment:11 https://github.com/python/cpython/issues/102549 -https://github.com/django/django/commit/38e63c9e61152682f3ff982c85a73793ab6d3267 +https://github.com/django/django/commit/f55bcff9dcac1d0cb1f927f9fd543cfd567400c4 -Skip the test for now until upstream adapt it to the fix backported to Python 3.11 too. +From f55bcff9dcac1d0cb1f927f9fd543cfd567400c4 Mon Sep 17 00:00:00 2001 +From: Mariusz Felisiak <felisiak.mariusz@gmail.com> +Date: Fri, 7 Apr 2023 11:07:54 +0200 +Subject: [PATCH] [4.1.x] Refs #34118 -- Fixed + CustomChoicesTests.test_uuid_unsupported on Python 3.11.4+. + +https://github.com/python/cpython/commit/5342f5e713e0cc45b6f226d2d053a8cde1b4d68e + +Follow up to 38e63c9e61152682f3ff982c85a73793ab6d3267. + +Backport of 2eb1f37260f0e0b71ef3a77eb5522d2bb68d6489 from main --- a/tests/model_enums/tests.py +++ b/tests/model_enums/tests.py -@@ -310,7 +310,7 @@ class CustomChoicesTests(SimpleTestCase): - class Timezone(datetime.timezone, models.Choices): +@@ -311,8 +311,7 @@ class Timezone(datetime.timezone, models.Choices): pass -- def test_uuid_unsupported(self): -+ def _test_uuid_unsupported(self): - msg = "UUID objects are immutable" - with self.assertRaisesMessage(TypeError, msg): + def test_uuid_unsupported(self): +- msg = "UUID objects are immutable" +- with self.assertRaisesMessage(TypeError, msg): ++ with self.assertRaises(TypeError): + + class Identifier(uuid.UUID, models.Choices): + A = "972ce4eb-a95f-4a56-9339-68c208a76f18" diff --git a/dev-python/flatdict/Manifest b/dev-python/flatdict/Manifest new file mode 100644 index 000000000000..a1696421d0d2 --- /dev/null +++ b/dev-python/flatdict/Manifest @@ -0,0 +1,3 @@ +DIST flatdict-4.0.0.gh.tar.gz 11790 BLAKE2B be8234cc7e4378a2ab54e1676e947a664bde8c62c881ff9ba074e36f21d07bc726311f39acc2c1531ca689b68e398467222b616b2334cd44edc9972345ffde68 SHA512 e1203fb772594ee4b19fb137dbef0c1319ffacda28ffc53532707a03e5c1446d5449114588ef832fa46162a3d710579ed7405943ced65e08fd16bd956ef17ca4 +EBUILD flatdict-4.0.0.ebuild 503 BLAKE2B d0d7937acc3f718ff76946676beeed8fdecba5f22dc43492249e36b3bdbc64151e33177bca187aed4de61dca15b2a5fa7b9d37bec436d9bba5ab6095be360e11 SHA512 439808beb82181f934b74d030c551050b4af832f1f9a804a669d7005410b7d47819bfa244dc25f9104a1b7843f18db91bc8898d3e790090fd1de39e521b8c90c +MISC metadata.xml 388 BLAKE2B 53feccfcd5053da7ea732522d64a0a4c3071a7e1e1a9244f58e4ba98dba2acf0ac74aaef255c198d41c9af2cb300e023fac51a51ce116fed75ef44d288cf99a8 SHA512 2ed57cd7c5071b9047c31e4c9a5c6311ec5ae03c398ca29fe7b0ae78069da1e46f2c0fff57a35a9decf5a09041aced5a4145604392d79f268699c0cc8286fcd6 diff --git a/dev-python/flatdict/flatdict-4.0.0.ebuild b/dev-python/flatdict/flatdict-4.0.0.ebuild new file mode 100644 index 000000000000..5a3a5555d40a --- /dev/null +++ b/dev-python/flatdict/flatdict-4.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python module for interacting with nested dicts" +HOMEPAGE=" + https://github.com/gmr/flatdict/ + https://pypi.org/project/flatdict/ +" +SRC_URI=" + https://github.com/gmr/flatdict/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests unittest diff --git a/dev-python/flatdict/metadata.xml b/dev-python/flatdict/metadata.xml new file mode 100644 index 000000000000..ff0bd72aefea --- /dev/null +++ b/dev-python/flatdict/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">flatdict</remote-id> + <remote-id type="github">gmr/flatdict</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/jupyterlab-server/Manifest b/dev-python/jupyterlab-server/Manifest index 774aec768dea..823787fbaf40 100644 --- a/dev-python/jupyterlab-server/Manifest +++ b/dev-python/jupyterlab-server/Manifest @@ -1,5 +1,7 @@ DIST jupyterlab_server-2.20.0.tar.gz 70481 BLAKE2B 188b8a9bd2bfc5a27ce6f8488d7768484fd71ae8bb93f28c8a49f63b1aef13551c55d7e18531830df26617883f6b780a491d3522a0dcb3ecddcc433cfb35f97b SHA512 7d9a86f56686344ffc1ad11a9fc7c736a2ac0e6b8c31f8b6d8e35e5fd982454b2362073038dfc2ed3a4f03ef53e2afcaa33fc2c956b63e44c3d1ae6efa1f9251 DIST jupyterlab_server-2.21.0.tar.gz 70965 BLAKE2B bb959d2c5a507ac6ad2ed719e86a68590c51df51a126f8a44195c48ccb9a295ca0930d0c106cc9f753b3032aca4002d4edadf31f24602d22bf9d3be3eabe2fdb SHA512 c3180983e6db932a4f243e977aaa0d7e7daed34788ba3a51d1414c5b625008ec524e0bf96a559bd85279146f9bd02c31eb2ac3451c40edba1751ed695c7c0791 +DIST jupyterlab_server-2.22.0.tar.gz 71374 BLAKE2B da27d6fb6d22db4aacd4c6c7a96ca748c5ba95d6b357fb45aa3383642b23bff7b61298eb01b8a80073080248e06fae35e04b1a7e4144018e84a6b548937ad0e6 SHA512 96484afe03a23f4aa6492b15e64b3f874b144af371d65c94693b708f9152e2762f98f0dea2b7464f8240740f4be56b2cd61a8869ef001521bbb4748dd0fc7005 EBUILD jupyterlab-server-2.20.0.ebuild 1966 BLAKE2B d19b0f250b30fb4da82ac55e84f20efd81fb73383a733026d1879c677da4df1836754090f437ad841d85ac7fa4ae4fe3080477e5043634aaa79ddd7bf0c0f984 SHA512 f09e029432d35bc556a0761ae00d9e3de7228892b72b9483ff35bcc49d83ed9d4d6bbec46b2c9bd5001755680ac3a27409d06ea6966cab7207968a6697ff2b5e EBUILD jupyterlab-server-2.21.0.ebuild 1966 BLAKE2B d19b0f250b30fb4da82ac55e84f20efd81fb73383a733026d1879c677da4df1836754090f437ad841d85ac7fa4ae4fe3080477e5043634aaa79ddd7bf0c0f984 SHA512 f09e029432d35bc556a0761ae00d9e3de7228892b72b9483ff35bcc49d83ed9d4d6bbec46b2c9bd5001755680ac3a27409d06ea6966cab7207968a6697ff2b5e +EBUILD jupyterlab-server-2.22.0.ebuild 1962 BLAKE2B 297f1ab91e6eaabaa77d206491dc9974bbf660ab07d550a2c3c84d67a33bee43f17cbfac8f0799614d58654883c3183cf4e68b080f662d72b4fbba3de928626c SHA512 614c0687d7f35038feec1b7ed84cc0548c8528c149d87b01d1983fcdbc167dde4d52d1d34bf1dc80adbf497507b6cc4f0b2e8440b50e8d20cc28228d130475a3 MISC metadata.xml 426 BLAKE2B 98083ff6255b6c5b4ebe7eb67f4e9716f52397646df275cce4cae2f78b0fbb5dda8d6240e1546b4bac6f13ef3f3f1e6f176b2062e066070d595e5cd93c02708e SHA512 9755e74547fb74a4720c9b755449d913dbfd949bad920ecd3903df91182236ad46712c358b3db8180ddf478a6cc6c2a57c6d1a939a9911ffc7ccb39672f5868e diff --git a/dev-python/jupyterlab-server/jupyterlab-server-2.22.0.ebuild b/dev-python/jupyterlab-server/jupyterlab-server-2.22.0.ebuild new file mode 100644 index 000000000000..b3b9f406c2a3 --- /dev/null +++ b/dev-python/jupyterlab-server/jupyterlab-server-2.22.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 pypi + +DESCRIPTION="Server components for JupyterLab and JupyterLab like applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab_server/ + https://pypi.org/project/jupyterlab-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/Babel-2.10[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0.3[${PYTHON_USEDEP}] + >=dev-python/json5-0.9.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.0.1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.28[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-1.21[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.8.3[${PYTHON_USEDEP}] + ' 3.9) +" + +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/jupyter-server[${PYTHON_USEDEP}] + <dev-python/openapi-core-0.17[${PYTHON_USEDEP}] + >=dev-python/openapi-core-0.16.1[${PYTHON_USEDEP}] + <dev-python/openapi-spec-validator-0.6[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.5.1[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +# TODO: package autodoc_traits +#distutils_enable_sphinx docs/source dev-python/pydata-sphinx-theme dev-python/myst-parser + +python_test() { + local EPYTEST_IGNORE=( + tests/test_translation_api.py + ) + + EPYTEST_DESELECT=( + # Fails if terminal not available + tests/test_labapp.py::test_page_config + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p pytest_tornasync.plugin +} diff --git a/dev-python/jupyterlab/Manifest b/dev-python/jupyterlab/Manifest index f0181daaf901..51413d0a68c0 100644 --- a/dev-python/jupyterlab/Manifest +++ b/dev-python/jupyterlab/Manifest @@ -1,7 +1,9 @@ DIST jupyterlab-3.5.3.tar.gz 17114007 BLAKE2B 70d32721a2579331dd4e3481f7241f5e2c5aad6dac851f213de0ac1fc3b76667bea496bca5ea13ee562e9678d51ac45df91c5901d8d3b7dc839977d3d842e67d SHA512 fdacd34ab629da2b5c2eb23f11ba4d44d5b27872e1736850319bcabbe635d31cfa2891c1c5991b152a5c1d94221e3766a20fc91033f556d8e508374bc46d5fe2 DIST jupyterlab-3.6.1.tar.gz 16845937 BLAKE2B 41c50a9ddefc0ec97c70843e15107d3e3cebfadea2ec148e4536407b0f1b202c2aeace794b02c7cb666c316434da614c1bfebab5e5fc7e654f62677bac6e1eb3 SHA512 9dc63162955c13721c97d620a60116cd75bf10eca9c8eab08ae35749bf2dfec84c55759a361ca1abab34c44d63eded95748cfea589aff98907045b483d778413 DIST jupyterlab-3.6.2.tar.gz 16846937 BLAKE2B 1b443ace53a68903728aa781a0a0aa95a13193b63ce3101144945e41245dd7c00554abc6c75a48feafc677d83580705393cde1a4bffab0e09d2d5bf0d67e72e0 SHA512 8ca7956f6c78413a7aecb55cd60b3dfa8491afbe3b02d9ae5b038ba4dcc762daf78768349cb586775483e8dee39d5a062650d0fd156e12a85383543f836cfb38 +DIST jupyterlab-3.6.3.tar.gz 16847186 BLAKE2B 6916722469ab100a1a240b8a565c9800f35535b2a9b2c39a6bfd275b078d88df9faa1f12d4ce3819155af7b0ed22282836f9b233534bd3e63d8a330d1cd7cd21 SHA512 3d6b4781f9fab02504b2c0223a4d060d80c3442fa6ac53ae326296d69942d68f8545450f671f6ba65c7c4e218aad62ef4f4ceb658899c21aaff3640c3055d364 EBUILD jupyterlab-3.5.3.ebuild 2574 BLAKE2B 9d56d8393c51ac23d5564e935b0621e7afeffbcc510abf0cab42f971531ec4fe8a0afdb5e3d46839cb579b2e956f905d672e430570a39cf8b3f93c856921f735 SHA512 e8da2a35344d04bc458d628dac61584812fd25cec8da4915511d8014fac086443783f62c685a020bc573e086ee255521f0de6cea6bac011ab15e7280516c9acf EBUILD jupyterlab-3.6.1-r1.ebuild 2747 BLAKE2B 08de7f4ff39cf5539b46aa71b6d07b25d4909f2456b2603613a557fa10695f405affdce5ece032d10eaa727a2902dbdc5e5ed9f8415b921354682ec13df65c16 SHA512 2a05e3d7f29a205665320353fdb39a29584c86df003f09a0f058aafc41fc78bd4357dcaeebfe338e6994c7ecbcc6824535e1c6ad84b76f963819abfd77bf8c10 EBUILD jupyterlab-3.6.2.ebuild 2739 BLAKE2B af86fa795f698b076d484e8355fc5750c9e6b8e618e3aa06ec1b8383b3dc32dec7ec750ef2c5bf93544ee7316232b3a4dacd402b433a4331d44aa7603c043008 SHA512 1fb15ac9a2aff618ee7ee59d35e5eda437cb72e42eea8a95e480504b35a356a4f195049e7b8590462edf8695d3f7f132557baa5ba770bc927bcd63f6da4c11a9 +EBUILD jupyterlab-3.6.3.ebuild 2739 BLAKE2B af86fa795f698b076d484e8355fc5750c9e6b8e618e3aa06ec1b8383b3dc32dec7ec750ef2c5bf93544ee7316232b3a4dacd402b433a4331d44aa7603c043008 SHA512 1fb15ac9a2aff618ee7ee59d35e5eda437cb72e42eea8a95e480504b35a356a4f195049e7b8590462edf8695d3f7f132557baa5ba770bc927bcd63f6da4c11a9 MISC metadata.xml 412 BLAKE2B f0b40e19f8ba9dc116f0e4a882cabab6376f22d1eaeb3eac58ecff465ee2aff3564ddbf55e4ffb8971807a39945109a164037a954419671a274d3ac558b102ea SHA512 b6149a03585ca04bc3bf6f3ea6055e8e1fcb620a771359d150df7c22ee16bf09f57c8037df2161021fac0c194be0ac5ec79a31f0511d785e0c5b1ca96d817e42 diff --git a/dev-python/jupyterlab/jupyterlab-3.6.3.ebuild b/dev-python/jupyterlab/jupyterlab-3.6.3.ebuild new file mode 100644 index 000000000000..abe9ea35dc85 --- /dev/null +++ b/dev-python/jupyterlab/jupyterlab-3.6.3.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=jupyter + +inherit distutils-r1 pypi + +DESCRIPTION="JupyterLab computational environment" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyterlab/jupyterlab/ + https://pypi.org/project/jupyterlab/ +" + +LICENSE="BSD MIT GPL-3 Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/jupyter-core[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-server-2.19[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-1.16[${PYTHON_USEDEP}] + <dev-python/jupyter-server-3[${PYTHON_USEDEP}] + >=dev-python/jupyter_ydoc-0.2.3[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-ydoc-0.8.0[${PYTHON_USEDEP}] + >=dev-python/nbclassic-0.2[${PYTHON_USEDEP}] + <dev-python/notebook-7[${PYTHON_USEDEP}] + >=dev-python/jinja-2.1[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + net-libs/nodejs +" + +BDEPEND=" + test? ( + dev-python/check-manifest[${PYTHON_USEDEP}] + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/openapi-core[${PYTHON_USEDEP}] + dev-python/openapi-spec-validator[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] + dev-python/strict-rfc3339[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +EPYTEST_DESELECT=( + # These tests call npm and want internet + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_uninstall_core_extension + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned_folder + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_install_and_uninstall_pinned + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom_minimal_core_config + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_custom + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build_check + jupyterlab/tests/test_jupyterlab.py::TestExtension::test_build + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_clear + jupyterlab/tests/test_build_api.py::TestBuildAPI::test_build +) + +EPYTEST_IGNORE=( + jupyterlab/tests/test_announcements.py +) + +distutils_enable_tests pytest +# TODO: package sphinx_copybutton +#distutils_enable_sphinx docs/source dev-python/sphinx-rtd-theme dev-python/myst-parser + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/orjson/Manifest b/dev-python/orjson/Manifest new file mode 100644 index 000000000000..a6c79ec1a8bd --- /dev/null +++ b/dev-python/orjson/Manifest @@ -0,0 +1,34 @@ +DIST ahash-0.8.3.crate 42416 BLAKE2B 84836a4e33451012ff32c1a1a90500d87eb7ce649b60dff4eecfb0d25b9782a186376c154673c3121b154ff4616016d1718dfd687b88f4772c2c89eeb2f119b6 SHA512 cf2d2f1201ac0969cf4e2a0c47090bee971b2287ac44b5e091c90a9eced03cf6ff56d7900cc0f529d4acedc30bd400261c15e50efabdd1731f79951b449af53e +DIST arrayvec-0.7.2.crate 29341 BLAKE2B eae9d3f494033ea2d837a6024cb24bd4574683ed1e76ac6be7f7c6b0d8ee65c0eaf03dbae7fea04cf0921299f69234ad91e1cf41342de86f554f74e287dd3ba1 SHA512 80cc6e55b6032f4882362813de970d3d99e600ada774b28ac6a24c9c8e018fda3b35c5750ac3a09fca6fb9496e2e3fe608b58d21b1b84685ebd170f567a0ecbc +DIST associative-cache-1.0.1.crate 14048 BLAKE2B 77f36f2d23b6d07e556f20e743c9a0e47c0b54899397c64dd6d4fc9b4c31469481d4a99ceb28b250924e0aa5f52de9fb65ce93ed96f23191f2984c32156bace0 SHA512 2ad673ab907c71cbd45abf3cf59630fd56aeb95888c94932b9fe5d83d71d0c14f908915670cbc0566b691035f82ac2069ed17589edbc97db1e4388225ac2a040 +DIST autocfg-1.1.0.crate 13272 BLAKE2B 7724055c337d562103f191f4e36cab469e578f0c51cc24d33624dea155d108a07578703766341fd6a4cc1ef52acda406e7dba1650d59115f18261281e5b40203 SHA512 df972c09abbdc0b6cb6bb55b1e29c7fed706ece38a62613d9e275bac46a19574a7f96f0152cccb0239efea04ee90083a146b58b15307696c4c81878cd12de28f +DIST beef-0.5.2.crate 15275 BLAKE2B 95d60fb1840ca26581841ad65a4e8f3f99d5f8d44c569219f4d06ce441bb3a4ba558e231e73a51cd1c6b4d9e4cc6a07942115c134289fb1982dace03049d3a1e SHA512 755fc588acbf730bc9c80dbfc20cd0ef81f792a94da0dd28379ad83a7359ddd4c7b136ba8048dd460bb8652475db3d12814fcbd04eff4ebe8ec8a1bcd024c2aa +DIST bytecount-0.6.3.crate 12416 BLAKE2B 462e41d5a4ee23a6c9ff2bf350171e309cbc32f14bbdbde25a5743072a6511634d6c0429903edcfa8df4b9ef3c7bd95d73fff8a7b2018f3b4a8147de2bbfd3f4 SHA512 0c5f424329883726589e69842d2ac0767dc0b440d744a4452a14cbd449b8ca2e8117fa2978b4aa9b803a1a7cf79e9cf67e948057e8ee521e2422ca2e145ea670 +DIST castaway-0.2.2.crate 11091 BLAKE2B 3445e68aaf533caa1df958fb371622ef61c7778d515fd1efe39a12588e24fe07480738daba008e414a95e72af10d5ea29702425e5b91ebb277fe346ff74bc43b SHA512 dbce2a61a429eda7a8f21b4a35dced729267298be9793310afaff58843211a7177a9bb932a4bd9dfcedaaf1a2570b90261d4c1047c62474450ea835dcfc325a4 +DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5 +DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff +DIST chrono-0.4.24.crate 191330 BLAKE2B 492a5f1a458db9d6eaf244ac6ee750fee5b4e2586b7c675f87f2515143080774f13f9c163bcfc84b08ec70b90c7fab2ffa438f9b2b8b4ec1e691fbf9a104ad50 SHA512 1a9121870aa4d76448a1b118a2e135a145a55c7784c4f5a4f25732f8597b8655f32cbce174bdd65c2dc7b17dcc3a608454d0e3dc29b86338e42a839f8be1e4fd +DIST compact_str-0.7.0.crate 57618 BLAKE2B 5137f045b86cada339463fa9d1c6d68203e3eea49e2d856f80354b2391aff57b1035009b661217b0aa1fb07598089a7ba46e8f79ffdf1b2278edd81b4714aa1f SHA512 69177d624f8b7c5af4edecef7163006d29a1ac949b84c0af4b9234018e5750dbbe39178d18fce203e3721ffa097bae9bcb2504cbafa4e47357f7b837a07ed0e7 +DIST encoding_rs-0.8.32.crate 1370046 BLAKE2B ca9c15eb521434daef94de5eecefb487e2b4053ac002f0fa24e3ad101b89fd4a19cbc05b2e52a85599a45d50869a5671dca0786254138b7a5e9d5dddd2be712e SHA512 8a695aedf388dc90b039277fb8a88cd0fe157002554ef478b820e962b6fb19f3fecd5940d0720cc820d07c77e64f7415271a119c87b72c740e6e370ee8cc418a +DIST itoa-1.0.6.crate 10410 BLAKE2B 8b1dc9ae9d55a006bb2abe3b0282e5e77397814b692a87b9becdc2bb74deabf5db09e3d5a2f604964cbff046148025988a5d916480e0402b2b80646fbed32875 SHA512 e1fb82fe16e1248141d48de9e05e7abed0c6fef58f2ff8b77b52aca5f16f3600c46707ff4c7a0f0307047610f29775bda74948d6d1efceb74b37cdd22e1fcf31 +DIST itoap-1.0.1.crate 83316 BLAKE2B db0d9f712155bfe4285c3d3debf314da2d64ffd127d6b9dd471074eb7e5dcda41f1e5b04bdad63e0fbd695043eff21956709ffdf2cdd7fc5b329d1d79ee69fc6 SHA512 ed15ba3e1ee1ef5f1658fbb47e8cba66e62acf05d8ac45340e15ace24c86e5adf072b52bfb90ebc5e90f31a9a8e91ada23d4322db9a87bb966922afdd4775840 +DIST libc-0.2.140.crate 669153 BLAKE2B f4269549f6b450a3da3196ecaae52afe178d5b6905666fae04e2879f975f0129788898ca2ccd214d721af42a8b2fa86b26355d6baa0a81c223b56c658ee66dd5 SHA512 f450fe619ea2f45e4ada2567981987f19d35a9f13f88a0ce3a53e1751c6fbff708ca69fa6a64d807cce5dfe18b08751f0695d8a01e68e269da1aafc831528b7b +DIST libm-0.1.4.crate 110593 BLAKE2B 5018f4efbc8fd45ff88a28e92c273bb3b48724009e17eadd0d4abb8e34b0fc8784607f71eebaa2f308dedb3185969f092d4305cd1d2cef7a53f7d8774390e38f SHA512 6bc647425ec8be5995ad4798427a86e28282b06532b8e6a53745e2a2ac16652d087b84c0946a4858a49d98995b9e543e1764765d270bf5569cd2ad92d52b81f2 +DIST num-integer-0.1.45.crate 22529 BLAKE2B 4da3e801f71ba8f92c692497e200bfc8d32183c94eaad91260683b09f4697c03175fec7cff5a9ff3782d5db5d514d74f22f7a61a102c0f0d2e67a7a4b4f29222 SHA512 731bdc09c3af7f9d8b171041f2957aa60facef93b06886000d8ba60d410aabbbee358d700bf31b2588b2e077464f290f24a0b712df7bb7f12972675b6c9bd735 +DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 +DIST once_cell-1.17.1.crate 32856 BLAKE2B 8bde2aaaf9ef45d1f6b8458686179f1fe9295ee8faea269e9b49779583ce26ab9dafe988c3584e841a9e5d05e28430ca967ef3b25e755f48f0120d9c99cdb7bc SHA512 1302d51801e38bfee23e74c0046f1ecb1d3c27309b5fe11c2b6c99553b357db502ce1718695602f9d8b10429e8ff03f91c016d5d604957083728293824c05904 +DIST orjson-3.8.9.tar.gz 657071 BLAKE2B 7486ecedd2c80e9fd7a7de907f18b3ebea2f7aa992d81f3ac21caa0e515167ad94c516081a0e2a0059dc9ac734f3d98b0da2381db10574f6e35475e9ef824be1 SHA512 a1409de1b099011ac8566110c08502708b42339ab7ff3b1e6600840aa32d655ddf4960128e50fe174278ded119e3996f662fe2faa3d3284ca42c56f2f8bb5d7d +DIST packed_simd_2-0.3.8.crate 97388 BLAKE2B 89d2a1401efef8e0a665d883b41a587601cd4704a6acf80c542f3e6e274a6fa9c975a03799857c409c8764bf6698784cf85f1fb73b4fab2c4f98b368326760c4 SHA512 de1ff7cc43f6d0f6e2a94073ab80bd178864d375d334c4d8aaf30f8ae3320b6aa470f14b25babc264d9032af0c4fa7663e442321fc91acbd7adc7550b5177984 +DIST pyo3-build-config-0.18.2.crate 29138 BLAKE2B ad37bacda5f0e5c8eaf382b3371de251b83c721dc2378a0bd3700462bb65273bcd4277589084f6af0a2959f17b370fe5e6a5699c8689107220333c57387bf0ae SHA512 01f544938d83a8283f5101f69673f8a39d2052186e7c712709be25c5ae17a11e7d68c2fd9b4bc7661fff9343ebf3ccc196c1259321061f048c59696692601ae1 +DIST pyo3-ffi-0.18.2.crate 62903 BLAKE2B 31e52b73705c1e5f44e419f314b1674a722a604fb52be5d5e5ff2ae9881ec9f204c1f51760570ed4c210ea530bd9295a27beaf9b5631ef02370d42d3e4c0be18 SHA512 495dcf45154ce89b8cd3a3fe193938e199465cf510df1713f7ad82e0a138ac2f8f1b73ec80f8af72f79a4ed26a9f4e4e93d52357ad4f41a213ec0c7b602734b9 +DIST rustversion-1.0.12.crate 17278 BLAKE2B ceefd32afcabec344a1bb87d818fa22b84c986367ebe58bfa54389080194141489e1c87397a34eab4d60d660c9e0d75eca3958225640d4e6a061c96d27778c6c SHA512 eb55f3c0324359e897ad07a5182426d68a067ea41461b62a44f98c2864d5a5d0f47733f88d977a6f537e39a801beaa3b5a6041230828c3213085b562edab133d +DIST ryu-1.0.13.crate 46823 BLAKE2B c6d661cbff5e7b273da5a6bb704bb1910b897c55d854b05bd417f53853a832791afc351e5a5aeaa94ba99a8fe64c8a930221c52a8784519728da748371a4ae04 SHA512 25f60216d91e68cb47695ce4e966fae674d5b3e4b0cf33e740248c1605fdcf0c963acd278a485c5b4bb0a1c1144002e73173592222af4989df7a4ba402508c13 +DIST serde-1.0.159.crate 77014 BLAKE2B a377be7b7a0624ca9449d962693100d4ee892a252b4fe1326dee2057a214029ecacde05aedb7f0adcebc9815e6b4ea7ec2096ef4db4c55526defdef88a20cc25 SHA512 4e5373b940b5328fabca35759e8a02816c89692b83996c6224be39365b6409688ef2db0eef24219381003133a31da93a41b500a76aeb1b84c05df9a91ff4844d +DIST serde_json-1.0.95.crate 144618 BLAKE2B beb05d7c37fcbacf4cc7dc04380e818a144a81e20e09ac9aecf6488bc18b142713bd1e9c7bc2ff4d10dd2385ccd280207cd992380bde4616db54f0852141eb0f SHA512 ff9f3f9e9a0e07956923bbac02288915c31f5ee24fc618808bfd4aa4b36ec40ec8d0e4426d926bdbcd019c9a4a6608dff5a651bf92dc5663eaf69c7c060223ba +DIST simdutf8-0.1.4.crate 28621 BLAKE2B 94ab48bc899e603acf3805dd45ae8489d565aa39ff79606e80a1731b59d11f429d71bb6c65becf3ceab123767f2d20612cb9f86410fd1aad00d0a796091ad045 SHA512 9f821035e147c035707910227b51e01d3f761ab8b578d95a86a776b2a4da01bc4d8ef28df7ea2c16ca125a2699d8903b826ad07a5937728e33dd58753ebd704c +DIST smallvec-1.10.0.crate 31564 BLAKE2B e3e46a0781d3a7892a739b001592d462d0704f010363984c439e3fe4f75aecb9720648aa1e9bcc56bb3be848dd40cee578212439f78f07a807c9441c3c3e0147 SHA512 a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae +DIST static_assertions-1.1.0.crate 18480 BLAKE2B 358dd5ac413d06f62da0388e2016c5fcb8ec68fd7dceb0dbbcb97665c032b7509b7e083c20701648b6a9174485f117c02682ae4bde7ef037e80a85cdf6a0c86e SHA512 46d0e35f77941dee6f60f574c130472248063dc38494c1c4f84f7c048244cc2a58a86fe17c0990e3f0f01406b75ed385a13d00058612b27cf0e867c8d31c92ee +DIST target-lexicon-0.12.6.crate 24357 BLAKE2B 5d9aef958155bdc1b546b9940083cf81ba4c638525e2d46340e50c4274764b39ac19a12214f3ff64a6830524a2ecea9d555db3f07d5d7dbccd7dd809255c4499 SHA512 63ccc047d10ebff55c3b9be400e2deafcaba7beb28ee67bae6d5df58e7c08362b2c4e0004f6daa582928850701969015ad43714c7ad46df665474667ff4db58f +DIST version_check-0.9.4.crate 14895 BLAKE2B fa1fa4008af165bfc1fdbe560488afd9d232cfafee94104fbcc4cbc52f234849bff9ddfa88109a1ac682f6d9c1d86b0459893d223f64e65adc08966aaf93dc89 SHA512 b172dc9a3759a4a683ffc39b9a40b03b9974b626a088217de87090466cef695226557c226cf3e469b2b25ee7297b7eb0d7719878cab42457f80146a81943c0c8 +EBUILD orjson-3.8.9.ebuild 1456 BLAKE2B 1edf21faff1a0756dd0aea48e7de4446e5b7f4ec5329229d8804f77dcb666facbd8fbc019067ecca3660fdc4a2347a414fa7943e47ced8441f564d640fd926dd SHA512 3f79c2878f717c41e284f45cb1ea84df6814e0065d9d30334008e166d411585629fa51b7649c82a43e89cf38f1569d59f3890261fd975a94e8d1755dea6e47d1 +MISC metadata.xml 360 BLAKE2B b19f85a4e5055dc309e35bf1706b10ebcc1961c96884bec0c9efd7ee7bf58adf53c0f61d8c1d1094c38f0e0bf78fa00c5be1e7ee58c85939ac1c6fff40fcbd07 SHA512 e168db6bda3fbb7f801aeb7a91733fad54441e21913a16447e7b8fc694fdeb0fe3216c15de2864efbf92f2ca8e1a0743eb3d62e8c250648e91be68a465c21ae0 diff --git a/dev-python/orjson/metadata.xml b/dev-python/orjson/metadata.xml new file mode 100644 index 000000000000..49613d89bfc2 --- /dev/null +++ b/dev-python/orjson/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">orjson</remote-id> + <remote-id type="github">ijl/orjson</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/orjson/orjson-3.8.9.ebuild b/dev-python/orjson/orjson-3.8.9.ebuild new file mode 100644 index 000000000000..ef1347f40e66 --- /dev/null +++ b/dev-python/orjson/orjson-3.8.9.ebuild @@ -0,0 +1,76 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.6.1 + +EAPI=8 + +CRATES=" + ahash-0.8.3 + arrayvec-0.7.2 + associative-cache-1.0.1 + autocfg-1.1.0 + beef-0.5.2 + bytecount-0.6.3 + castaway-0.2.2 + cc-1.0.79 + cfg-if-1.0.0 + chrono-0.4.24 + compact_str-0.7.0 + encoding_rs-0.8.32 + itoa-1.0.6 + itoap-1.0.1 + libc-0.2.140 + libm-0.1.4 + num-integer-0.1.45 + num-traits-0.2.15 + once_cell-1.17.1 + packed_simd_2-0.3.8 + pyo3-build-config-0.18.2 + pyo3-ffi-0.18.2 + rustversion-1.0.12 + ryu-1.0.13 + serde-1.0.159 + serde_json-1.0.95 + simdutf8-0.1.4 + smallvec-1.10.0 + static_assertions-1.1.0 + target-lexicon-0.12.6 + version_check-0.9.4 +" + +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + $(cargo_crate_uris) +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/pendulum[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest diff --git a/dev-python/shellingham/Manifest b/dev-python/shellingham/Manifest new file mode 100644 index 000000000000..c9c350c6e3e2 --- /dev/null +++ b/dev-python/shellingham/Manifest @@ -0,0 +1,3 @@ +DIST shellingham-1.5.0.gh.tar.gz 21078 BLAKE2B 94469e640b6827312d5efde90916d41d4c33c24738e0dfb5c80aff8d16b858936e6b0d2f90dd5d69ee3b5698196df1c4e475685279eb978b7dd0afba67fa5d5d SHA512 2f73acdb30da499493bb79a3db24133f5bcb88d4d755387a81bc04ec30fe91ca44761d7d49fe793495b09f1c34ff59ef320a1e001cf5628ddc62885c05466076 +EBUILD shellingham-1.5.0.ebuild 639 BLAKE2B 1575c5eedfa35dc1788de926675bc945b304548882ecf576ea0c0d5e4fafaf4eed3e8b86307082604296659bf8ff22df8f130d468e087d8e4059f5f27071b773 SHA512 63abdd126b069b73ff6db41e2d1ce334b74fb4af0134a4d0b0903ef04a9434648e5891219dcbc309a15bcec6d92376e580c92c34485989d83888d8443a2123dd +MISC metadata.xml 399 BLAKE2B 3477f3b15109aa8a12fc1abf5f1b7377178335a105a3f97f2b110bcf370bb2b95e31dc5893d36a40f2b7dc31bedeee59afd91a2cbcf05f511fffed798f007ede SHA512 5b1841d0a17fa581fa3d2522c1fa04a92de1a62c4f7e09d1a53adea7b0b40cabae4ef1f655c74389cf0bc6fdeb605284573ec308b6bc9f4d9577ec4350c02578 diff --git a/dev-python/shellingham/metadata.xml b/dev-python/shellingham/metadata.xml new file mode 100644 index 000000000000..aed35119921c --- /dev/null +++ b/dev-python/shellingham/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">shellingham</remote-id> + <remote-id type="github">sarugaku/shellingham</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/shellingham/shellingham-1.5.0.ebuild b/dev-python/shellingham/shellingham-1.5.0.ebuild new file mode 100644 index 000000000000..be6e6357e080 --- /dev/null +++ b/dev-python/shellingham/shellingham-1.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Tool to Detect Surrounding Shell" +HOMEPAGE=" + https://github.com/sarugaku/shellingham/ + https://pypi.org/project/shellingham/ +" +# Missing tests in PYPI distribution so we use the GH package +SRC_URI=" + https://github.com/sarugaku/shellingham/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/sqlalchemy/Manifest b/dev-python/sqlalchemy/Manifest index b83cf45cf907..542c19bc0bb6 100644 --- a/dev-python/sqlalchemy/Manifest +++ b/dev-python/sqlalchemy/Manifest @@ -2,8 +2,10 @@ DIST SQLAlchemy-1.4.47.tar.gz 8559530 BLAKE2B 051e6f0114162f5525e756d87622814640 DIST SQLAlchemy-2.0.4.tar.gz 9250723 BLAKE2B c3cec648a527e7beb349b2bbb6924a4e794a1fe4d1563ba7573afdc28ed24fce149c5b3c08fa419e85713b68080b2a805e1999e312f59ed7fae55f9aee6a966e SHA512 098004c594ff00a47a66850b0661f673e4d7a6f168fce72ca37a65ecfe04b3d291b9a6fb9393f7671c9a7c5c128ab6ba2035d18cef28736df1207e689cd8c412 DIST SQLAlchemy-2.0.7.tar.gz 9298301 BLAKE2B abedb2805cad489e68fdec383eaf1bc65ef92777230317911a9351fce7c9159f746629197f7443a37495c23cd8d3cdd1015d8417f00227f28b8af1468a8327ef SHA512 94f5c4262741986456a9de435a81d9df8d5eed16417cc8c07321cb28030c99ea347c33a2054f2961e3b794bd5f75da19b0879675e2c1106fc5030382895caf75 DIST SQLAlchemy-2.0.8.tar.gz 9314926 BLAKE2B bc54ba9be9f68cc2995bf5328cc5268e0890262efb162a94bd36713f3f3d2f1ddffa95b4d1d8ab140f865c2788d1a913f6c104f21809a695faa132686d77cf3c SHA512 66408768ff702b16ad1365931b254d72976313a3369a74e5a81326d83540ee274805b01d449010ea8e8750312e26dc91aad3b724c4cbdf037e7314b204f6908a +DIST SQLAlchemy-2.0.9.tar.gz 9318327 BLAKE2B 6fd734aad4a7c281164a6a4188066d5e14996a80c849cc18b979d2acaa4bd24ed66c8ddc37de2c08759e8c0a9b36a0009bdb48123c6a50fc5c8c382a1e5df4ae SHA512 e81193ac254280feee542ad61a28540d62441d0471bdcf00cce20d3730ad956414de23ccce6d3bf8781c0970c3c825407b909d645d58c9657c38ba68716dfe54 EBUILD sqlalchemy-1.4.47.ebuild 2835 BLAKE2B c2ed746fa742a1a59acec80bf6c7b0342c28226e3235fb3a7ae46a2d8b260cabc05840ce58d091bfaa16b7601b24c4da0f3ef32364d8817258af0551f560d787 SHA512 a326e8a93a6b6567314833c9b1b2f3da08cdab0176166e7faf7e19fb5ba65bbf0a54ab8ab1772fc7394157af02eddfcf40055292ab05431af6210adda30bdb3f EBUILD sqlalchemy-2.0.4.ebuild 3765 BLAKE2B 0250e7fada00dfd9043367270cc40a7e4ffaafe587859fe7dd938dc4f7714f6a016779c928856ac35f64a430ae6f6c5629f2458dc85beb0388820fba69f81dce SHA512 565ff18cae76c9383848b569d78a4c61a5ccf1b760c363eaaa80ef489daee95f210a589a710fa273ae35ef99e768fbd17d72f2a221d31546cd43e298f41fe602 EBUILD sqlalchemy-2.0.7.ebuild 3781 BLAKE2B 37a074706e9140fc1cc2d93bb07ec31e3f477729d6d0cf9fe8fab065b3070f3b2d5c9b995119967d532f0f0bbe1d278013633a917ca281c90b6a40383fd8b38f SHA512 1cec3c21c8c14cf546769a3e113dc2f41551aef372296d01c5924e22c23c7204c17e0b7fc79e5f1c421d71440022b2eb374e3a845635869402d76a405c64db07 EBUILD sqlalchemy-2.0.8.ebuild 3782 BLAKE2B fb89f7cdcda30ae985a2a8099e1d3cf9a7274661bd84711183f80af9b79d30269504953799889ede63abf62cd82bca06c9f6ad2461cb468edebb5a4dfa3d8cc6 SHA512 63832cd21822ef46b2047e4d2b7383bb2d148f85b743988b8f557e006a0e709ed79c628a0181c204c0f0e54f59d6c38b12e0c05b1454fba5c3a66baf0c2812b0 +EBUILD sqlalchemy-2.0.9.ebuild 3782 BLAKE2B fb89f7cdcda30ae985a2a8099e1d3cf9a7274661bd84711183f80af9b79d30269504953799889ede63abf62cd82bca06c9f6ad2461cb468edebb5a4dfa3d8cc6 SHA512 63832cd21822ef46b2047e4d2b7383bb2d148f85b743988b8f557e006a0e709ed79c628a0181c204c0f0e54f59d6c38b12e0c05b1454fba5c3a66baf0c2812b0 MISC metadata.xml 444 BLAKE2B 5fbfcf8f16e52ab5bb691b0b33a8491d94e42a80409114cd9b306af7d4b0eb8b6660fabc663adee53080c635217961301b78df536995b91afe9288d255f73d62 SHA512 b432b65ed3033d34ac0784d007909eb838b309b6a4785eebb1a3f808e43dfc41c786cd55e4dd048776c65127aac170bdd9fb9e5a8ae63accb5f65e300bca9676 diff --git a/dev-python/sqlalchemy/sqlalchemy-2.0.9.ebuild b/dev-python/sqlalchemy/sqlalchemy-2.0.9.ebuild new file mode 100644 index 000000000000..0ac2428370ce --- /dev/null +++ b/dev-python/sqlalchemy/sqlalchemy-2.0.9.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYTHON_REQ_USE="sqlite?" + +inherit distutils-r1 optfeature pypi + +MY_PN="SQLAlchemy" +DESCRIPTION="Python SQL toolkit and Object Relational Mapper" +HOMEPAGE=" + https://www.sqlalchemy.org/ + https://pypi.org/project/SQLAlchemy/ + https://github.com/sqlalchemy/sqlalchemy/ +" +SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples +sqlite test" + +RDEPEND=" + >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/greenlet/d' setup.cfg || die + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_IGNORE=( + test/ext/mypy/test_mypy_plugin_py3k.py + # hardcode call counts specific to Python versions + test/aaa_profiling + ) + local EPYTEST_DESELECT=( + # warning tests are unreliable + test/base/test_warnings.py + # TODO + test/orm/test_versioning.py::ServerVersioningTest_sqlite+pysqlite_3_40_1::test_sql_expr_w_mods_bump + test/sql/test_resultset.py::CursorResultTest_sqlite+pysqlite_3_41_0::test_pickle_rows_other_process + ) + local sqlite_version=$(sqlite3 --version | cut -d' ' -f1) + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg + test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg + test/engine/test_processors.py::PyDateProcessorTest::test_date_invalid_string + test/engine/test_processors.py::PyDateProcessorTest::test_datetime_invalid_string + test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string + "test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_${sqlite_version//./_}::test_cant_parse_datetime_message" + "test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_${sqlite_version//./_}"::test_{delete,insert,update}_single + test/base/test_utils.py::ImmutableDictTest::test_pep584 + ) + if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution + test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]" + "test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]" + "test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]" + ) + fi + + # upstream's test suite is horribly hacky; it relies on disabling + # the warnings plugin and turning warnings into errors; this also + # means that any DeprecationWarnings from third-party plugins cause + # everything to explode + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS= + # upstream automagically depends on xdist when it is importable + if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then + PYTEST_PLUGINS+=xdist.plugin + fi + epytest +} + +python_install_all() { + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "asyncio support" dev-python/greenlet + optfeature "MySQL support" \ + dev-python/mysqlclient \ + dev-python/pymysql \ + dev-python/mysql-connector-python + optfeature "postgresql support" dev-python/psycopg:2 +} |