From 4c2b70adc6484c35ff05e412de08a7b7f50cfb34 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 30 Apr 2024 00:00:01 +0100 Subject: gentoo auto-resync : 30:04:2024 - 00:00:01 --- dev-python/Faker/Faker-24.14.1.ebuild | 43 ++++ dev-python/Faker/Manifest | 2 + dev-python/Manifest.gz | Bin 270969 -> 270977 bytes dev-python/agate/Manifest | 4 - dev-python/agate/agate-1.10.0.ebuild | 45 ---- dev-python/agate/agate-1.9.1.ebuild | 45 ---- dev-python/blinker/Manifest | 2 + dev-python/blinker/blinker-1.8.1.ebuild | 32 +++ dev-python/line-profiler/Manifest | 2 + .../line-profiler/line-profiler-4.1.3.ebuild | 46 ++++ dev-python/myst-parser/Manifest | 2 + dev-python/myst-parser/myst-parser-3.0.1.ebuild | 58 +++++ dev-python/pyqtgraph/Manifest | 2 + dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild | 74 ++++++ dev-python/pytest-xdist/Manifest | 2 + dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild | 43 ++++ dev-python/regex/Manifest | 2 + dev-python/regex/regex-2024.4.28.ebuild | 37 +++ dev-python/time-machine/Manifest | 5 - .../files/time-machine-2.13.0-backport-pr400.patch | 252 --------------------- dev-python/time-machine/time-machine-2.13.0.ebuild | 32 --- dev-python/time-machine/time-machine-2.14.0.ebuild | 30 --- dev-python/twisted/Manifest | 4 - dev-python/twisted/twisted-23.10.0.ebuild | 150 ------------ dev-python/twisted/twisted-24.2.0_rc1.ebuild | 152 ------------- 25 files changed, 347 insertions(+), 719 deletions(-) create mode 100644 dev-python/Faker/Faker-24.14.1.ebuild delete mode 100644 dev-python/agate/agate-1.10.0.ebuild delete mode 100644 dev-python/agate/agate-1.9.1.ebuild create mode 100644 dev-python/blinker/blinker-1.8.1.ebuild create mode 100644 dev-python/line-profiler/line-profiler-4.1.3.ebuild create mode 100644 dev-python/myst-parser/myst-parser-3.0.1.ebuild create mode 100644 dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild create mode 100644 dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild create mode 100644 dev-python/regex/regex-2024.4.28.ebuild delete mode 100644 dev-python/time-machine/files/time-machine-2.13.0-backport-pr400.patch delete mode 100644 dev-python/time-machine/time-machine-2.13.0.ebuild delete mode 100644 dev-python/time-machine/time-machine-2.14.0.ebuild delete mode 100644 dev-python/twisted/twisted-23.10.0.ebuild delete mode 100644 dev-python/twisted/twisted-24.2.0_rc1.ebuild (limited to 'dev-python') diff --git a/dev-python/Faker/Faker-24.14.1.ebuild b/dev-python/Faker/Faker-24.14.1.ebuild new file mode 100644 index 000000000000..6677ad70e7c8 --- /dev/null +++ b/dev-python/Faker/Faker-24.14.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=faker.contrib.pytest.plugin + local EPYTEST_DESELECT=( + tests/providers/test_job.py::TestCsCZ::test_job + ) + epytest +} diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index e70ff3b46946..5ea20b652f10 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -1,7 +1,9 @@ DIST Faker-24.11.0.tar.gz 1726502 BLAKE2B 52429b5b0db4e1fd55d2a4b30ed007417f37e36fbec8d4fe43dea316920d85877668f4e66107011fef5874b74b25c1465fcfc0990ee3f40810df064622bb5373 SHA512 d5ee8c7c048d113c37b13608406d96966745ab46b095fcb30c9107a27a7af909c9d4d6bf9c7bb478ad7d0604b3cb6b33b93b0ba9e1a321c20870d651f57617a5 DIST Faker-24.14.0.tar.gz 1732995 BLAKE2B 809773a97b417827db72172c3ba68ccf814974771abfde1609087369667b2889c7c118c2b1f4d250c2d67252c33e384d1bc0048f7bb7c5ae790a62486650b4aa SHA512 d767d4e7c7bb96b137f82f51c20dd211b1d94c79384bdcf81f73591e68457e51f884103c6a0569264712bad334774e8f0a909e94d028b9c2ec741211ea69e77b +DIST Faker-24.14.1.tar.gz 1759770 BLAKE2B e58feb12255de946b6c10cd9e3098f4423a47554e6aafcabb1094c7aab7e0dbbd2eea2077411094611c64b92307060c5da383390dc4a14545a9fe54b654e20e7 SHA512 d6afa8c25fe223999bdc776a7c2c12c43e9ad5886d6bb4744fe29c8b358def151b251a37a74a8576e5daedae360c19146f870a1438b63763ffb74b1577a5ae2f DIST Faker-24.8.0.tar.gz 1725365 BLAKE2B b2646766b993d946bf7965133b7484408370a2e8bed9091b713ffd427d545bb708027066b6787a78cd675659b4d342ac86c9f611aecfb7df3d0565a8066925f0 SHA512 d8fe7e411052bec485b40540317c88ff5aeae8a32ef2e53214816b190d4730c9f5af9157ac2c66aba5fbc887e995d0238f71deefdcf67300e49586c7995b60ff EBUILD Faker-24.11.0.ebuild 865 BLAKE2B 003402d2706fd0c094a71b72288598b8fb9b953ba6e3883b5812630102fc0cf063cea84f829518e1e6041c9dd21b3d39b7139ba0d7ba720c48d27fb6e82671a6 SHA512 052f8d09869485c1317fcdb808f3499c322be28e9e851c844b8db8fd740743bb8e3afc965a83bc664e07aea9f70ce24304ffa99252cb1a3a7d0b8eaa59e1b61c EBUILD Faker-24.14.0.ebuild 944 BLAKE2B ecea40337594a4e116757c09dc086a1a50681ac877984151548a691457d947279f786752d6e2240163ea9093d30959842946476881731ee8bea7e73d209d1318 SHA512 beed90cc5429240ba1551b70e226be163d56fc199ea4a1a990034ce56563c8041fa7d0b5748010174994655a26e9730bc5d3e0bb15d823e8d893fe107f5133da +EBUILD Faker-24.14.1.ebuild 944 BLAKE2B ecea40337594a4e116757c09dc086a1a50681ac877984151548a691457d947279f786752d6e2240163ea9093d30959842946476881731ee8bea7e73d209d1318 SHA512 beed90cc5429240ba1551b70e226be163d56fc199ea4a1a990034ce56563c8041fa7d0b5748010174994655a26e9730bc5d3e0bb15d823e8d893fe107f5133da EBUILD Faker-24.8.0.ebuild 858 BLAKE2B 2e7693b63d3810eadf6c63951eec2c96385940ba69e88ad8ee14cf28f14beb0a0bbe5edeaaabe694832506a24e7e4648ac9fc8469d7ba0f38d9b6c687b69a736 SHA512 c3540187d7ca070be4942be3e2718a980ba85c588409b419d90b9987efc5a2f26f8362ba7350c6df1d28865496dc1256b752d8a44157eb2e6ac78bfcf54a33a0 MISC metadata.xml 498 BLAKE2B c9b7885dc7d34f2263068624a6b07ac6f1ec8078cc11abb6137612ba57edffefc48dae2708284aa83ecc941ebb2d3b8a87a143648e404a0683e75bb6c078f4e2 SHA512 0b385bbbfbb026803526e43c6c43965ff75f42d3ab133603708b187686aac29de508856e5e8ae7622a66b99032efa97f95c21625e10d074c858d8aff7446a312 diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 50f07375fd99..0ef7c71368df 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest index 8e15e24f96e8..177a9bf400fb 100644 --- a/dev-python/agate/Manifest +++ b/dev-python/agate/Manifest @@ -1,7 +1,3 @@ -DIST agate-1.10.0.tar.gz 202845 BLAKE2B da462a47d8b33e6b5948bc16a9c236ee62c92d56f49df8a7e60cebc84b2d4d828f986f6f0975d24d1d513e1e8023dd5e570f77ff6ae233533ab1ac3c512fac81 SHA512 37e09f1fcccd5df9183cfd32f13bf23efad7987a3d71600e52b1b3bc9de8669640aa50f045c975c0fc8958cbe9df193e17f0ea52c1933782cca95ac267f794f9 DIST agate-1.10.1.tar.gz 203139 BLAKE2B 656cc5f9abcc38848560bb81a9e7b1a8cf498897ea49a98bd3b44f3d625c69047ef3fa32b4a7191d8807c1bee29bd0c5a8d0ed99e1b91e30ea294b8fb436fb3d SHA512 b039fa587d1fc49277860f9876ad1f885f2530e82888ad8a32066f35e3086b5da0cb7aa9a2ed09ea7992efe649d32df27a372f85e4a06e8aca0d6ec8651567b5 -DIST agate-1.9.1.tar.gz 202303 BLAKE2B a5e62ca5fdf8dc6e1b7393da3efa0432a2d7a89bcb2af744458ae04446ea85941968f1ee75facc6b29de9fdec92f9432d2b939392edbfadc5c0598a91feb9f76 SHA512 f8bbe9ed24c786063a1d99aa408a2e5b4841dd9d804004b8c74a272d564432013e0ddebc5325e73893c53a60636d64f27f2e64ad624a468a070cf6a8833b8620 -EBUILD agate-1.10.0.ebuild 1171 BLAKE2B 90e93c4bc429e1114e93109626a06990942f0649a8b136de5cf54b469cd838708d3cf80791d1ee6ee175efdff9b0e463443c4353b8f0b8406a8e9a1dce27d961 SHA512 9b860d55910463987b3beb8882128c889b6816b154984ededf2952eaefebdd7bb53b9c573cfb637061221994344ec873590335fb26825a8043fe32d4b35b8516 EBUILD agate-1.10.1.ebuild 1171 BLAKE2B 90e93c4bc429e1114e93109626a06990942f0649a8b136de5cf54b469cd838708d3cf80791d1ee6ee175efdff9b0e463443c4353b8f0b8406a8e9a1dce27d961 SHA512 9b860d55910463987b3beb8882128c889b6816b154984ededf2952eaefebdd7bb53b9c573cfb637061221994344ec873590335fb26825a8043fe32d4b35b8516 -EBUILD agate-1.9.1.ebuild 1171 BLAKE2B 90e93c4bc429e1114e93109626a06990942f0649a8b136de5cf54b469cd838708d3cf80791d1ee6ee175efdff9b0e463443c4353b8f0b8406a8e9a1dce27d961 SHA512 9b860d55910463987b3beb8882128c889b6816b154984ededf2952eaefebdd7bb53b9c573cfb637061221994344ec873590335fb26825a8043fe32d4b35b8516 MISC metadata.xml 611 BLAKE2B a288b63c7859d99467f9304b4d8b007b9df6b4345157e3b7363f23757797fa7f84420b8a515f754775de14893c2fba1ddd62fc3757f5b96f791f65b524db41f7 SHA512 3101db1d600b60da2704dd732b898db6d932ef2305a28dbfdc8b221fc7938a72309e1fd27af4567b4930a20f00490ad8d65bd962978df44cf401ddd058442f02 diff --git a/dev-python/agate/agate-1.10.0.ebuild b/dev-python/agate/agate-1.10.0.ebuild deleted file mode 100644 index baca934b9901..000000000000 --- a/dev-python/agate/agate-1.10.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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="A Python data analysis library that is optimized for humans instead of machines" -HOMEPAGE=" - https://github.com/wireservice/agate/ - https://pypi.org/project/agate/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~arm64-macos ~x64-macos" - -RDEPEND=" - >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] - >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] - >=dev-python/Babel-2.0[${PYTHON_USEDEP}] - >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] - >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] - >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] - >=dev-python/leather-0.3.3-r2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/cssselect-0.9.1[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/furo - -EPYTEST_DESELECT=( - # require specific locales - tests/test_data_types.py::TestDate::test_cast_format_locale - tests/test_data_types.py::TestDateTime::test_cast_format_locale -) diff --git a/dev-python/agate/agate-1.9.1.ebuild b/dev-python/agate/agate-1.9.1.ebuild deleted file mode 100644 index baca934b9901..000000000000 --- a/dev-python/agate/agate-1.9.1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# 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="A Python data analysis library that is optimized for humans instead of machines" -HOMEPAGE=" - https://github.com/wireservice/agate/ - https://pypi.org/project/agate/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~riscv ~arm64-macos ~x64-macos" - -RDEPEND=" - >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] - >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] - >=dev-python/Babel-2.0[${PYTHON_USEDEP}] - >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] - >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] - >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] - >=dev-python/leather-0.3.3-r2[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - >=dev-python/cssselect-0.9.1[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/furo - -EPYTEST_DESELECT=( - # require specific locales - tests/test_data_types.py::TestDate::test_cast_format_locale - tests/test_data_types.py::TestDateTime::test_cast_format_locale -) diff --git a/dev-python/blinker/Manifest b/dev-python/blinker/Manifest index 6f05b6bb2b03..27561f3294be 100644 --- a/dev-python/blinker/Manifest +++ b/dev-python/blinker/Manifest @@ -1,5 +1,7 @@ DIST blinker-1.7.0.tar.gz 28134 BLAKE2B afff064a79ae7ab9fcee46c7eb3f6557bd9149be0a10cddfd13f969649a7aa57cec727cc6a10c54af2f676b8dc9be69beaf6521b5764555ac3e97fda7b68f5f8 SHA512 b55dc104fd69bf9f682184202f9da7cb6925e7e863f38d5ad5b4b5988b2315aae02da6f4c9f0ec34238b8d5b9b6eec52b06258d93e14416cda3e2b718d9aa60c DIST blinker-1.8.0.tar.gz 22598 BLAKE2B 80a08bc860acc049ea4bbc30dd23f74ed7b0507a6f4dd550a0fb946233445b930732300ddc2201f6217b0557c082fbc90774d64a587ed448d839ee1b085b0c09 SHA512 1862589712c8828b2d9b3d434f213017cd81b2de100290de126a0d796920bd34ac00a667cb3bc8811071c275001e4d1a0dd0cc3563d15ef4b2139769ae3d5ef3 +DIST blinker-1.8.1.tar.gz 23191 BLAKE2B 5d1b5016b24669b8f602beb650126a4da8a7aaee6d096200634206ae3ebcdcbb5d7f3bb554269a08e0aacba0dc7dcda1a2977aeb5c8ef5f38c81dc8892d786d5 SHA512 b6adada7f314369863070e830364833aade954e4cedca390643223d632c110a314856fb1c050402cad7e64959500c4d27d149ce7b682ee6bde99a69dc66ea495 EBUILD blinker-1.7.0.ebuild 699 BLAKE2B edac7c62675e7f8d0b224ef88fab916682f35f9d2dbe7d1fa1ef2268b983d69d35f09c293583867b87cb502c5a8009061b7167e0f15af610b2ca87ae4f23b2ea SHA512 270d6ed5b4034e8b327c6ad95a384494429100d8283dff41776c5c99471eb4e8d5419e5462ee58d75955f65d32bc1eb0ec2ea292678915dc731fd86af2f24f25 EBUILD blinker-1.8.0.ebuild 707 BLAKE2B 0114514a0fe85e527554d07a994a8e04912a0f40de15405f8e7465ba363d13c182449faa637bf7e54d78baf3dc980ebcc5ecabf65d4c489afaf67eaad46fe374 SHA512 9550c2043ca24fdcd28910ffad4efa42ee51edce11f2ad20b21732f87e354fc9cd2fa9e6b4215d541aa62df4cdb7e63762be031703817f10fc97bf98764f2c07 +EBUILD blinker-1.8.1.ebuild 707 BLAKE2B 0114514a0fe85e527554d07a994a8e04912a0f40de15405f8e7465ba363d13c182449faa637bf7e54d78baf3dc980ebcc5ecabf65d4c489afaf67eaad46fe374 SHA512 9550c2043ca24fdcd28910ffad4efa42ee51edce11f2ad20b21732f87e354fc9cd2fa9e6b4215d541aa62df4cdb7e63762be031703817f10fc97bf98764f2c07 MISC metadata.xml 394 BLAKE2B d91e559b44175a794ac0d4c1b6acf2f7fe54adbdc5b4a02e235c9b51ed9c00dd935b2fc1ac33122bd5bd9d4cd6d2e7ba1a6f32efd3b1edfd9d564748db96dd80 SHA512 460eb6e0085a7591b35aebcb73b7de79792f5c6a496514e539d6bd1c92529bbf38438cf88c733af1aad1456471037fe1f1c4719ba8a3dbc0d186a7647521fe45 diff --git a/dev-python/blinker/blinker-1.8.1.ebuild b/dev-python/blinker/blinker-1.8.1.ebuild new file mode 100644 index 000000000000..9df417e40e36 --- /dev/null +++ b/dev-python/blinker/blinker-1.8.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fast, simple object-to-object and broadcast signaling" +HOMEPAGE=" + https://github.com/pallets-eco/blinker/ + https://pypi.org/project/blinker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} diff --git a/dev-python/line-profiler/Manifest b/dev-python/line-profiler/Manifest index 06e6fb475445..37a53398772c 100644 --- a/dev-python/line-profiler/Manifest +++ b/dev-python/line-profiler/Manifest @@ -1,3 +1,5 @@ DIST line_profiler-4.1.2.gh.tar.gz 100514 BLAKE2B 4e9fa1f2bcc39658f50b5832a8c2ee15090e03532d574cfa06db846beb191b8e2f19c82e5b03f91f2fc7b9de2a024e86909191982a03702690820972e10b7b2b SHA512 feb3f799770057b1b2dbc5601e497ce8fbc3f802e48e652b30486d453710c811bf46f3c22c0e706bbcce8cf4ef3c6e118bcc4917d8d72ff8bb0bb975324dfa16 +DIST line_profiler-4.1.3.gh.tar.gz 103226 BLAKE2B 209fe81bfd29cad1fe5866af792294d956a8f5d4d20948335a418aa0c7c3c5ff23e271c49cfc6cf228287cb1031e00a0f540fc88f52ccc3a0c329443de17b188 SHA512 cc8367b40558647f097e33152bd1d8b241720a1ed79c1f1930a7958e333cecdf38bc7d1ab0a8ebfb11e3251fa076966076ec42a8b633dfcb9de0c598c02b8b93 EBUILD line-profiler-4.1.2.ebuild 858 BLAKE2B 4ded6bd6faeb2c00fc81548d7daebdccdf2d368f90afcd656afdcbf720b41c9750e3b7339797ff5b105c42f0193a7a2ea9364f444ec53e952331904405dfcbc7 SHA512 4cd5a4714fb1ded613f8e2a07d2e767835ed495c381bd6ecc5a8ada6fab833199ff545f244fe1ef5ee601c9a976c8ba72305afe25964d1b4640cdd74a97fc7d2 +EBUILD line-profiler-4.1.3.ebuild 858 BLAKE2B 8ca0aca78c33a50f93ac500dddea107ee084b934c5869dbf64001b3bb71b7b9ae2c4fb3ffbc892f9a4d8951b7a917a68c9e49ef6c7deb72fe7d7f8dd853abb83 SHA512 e3df1c04fe1379dba20d2b5c961f9c320eccd35556eafc84e51b11997655836910c8cde81ad4e695ecec84138e573c2393a6db7f0881f8444a8ffe69fd38479c MISC metadata.xml 775 BLAKE2B de65859e8267b3385a49550fa47ee33d0f428e5833a59d8224aa4eb2b0251841c58acc1ca446ef1b13d258c5b861045f042f7ca13e8a27db7253f4202753c607 SHA512 22a65b06d81651455ecd9690bc5c6d4c87858bf912eb491dde16650a3692408ca95a1d42d82204e67509f4e685651b5b2b2537b5db0891b7ca6933bddd616d16 diff --git a/dev-python/line-profiler/line-profiler-4.1.3.ebuild b/dev-python/line-profiler/line-profiler-4.1.3.ebuild new file mode 100644 index 000000000000..be13f5e4f4d7 --- /dev/null +++ b/dev-python/line-profiler/line-profiler-4.1.3.ebuild @@ -0,0 +1,46 @@ +# 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} ) + +inherit distutils-r1 + +MY_P=line_profiler-${PV} +DESCRIPTION="Line-by-line profiler" +HOMEPAGE=" + https://github.com/pyutils/line_profiler/ + https://pypi.org/project/line-profiler/ +" +SRC_URI=" + https://github.com/pyutils/line_profiler/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/ipython[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/ubelt[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export LINE_PROFILER_BUILD_METHOD=cython + +python_test() { + cd tests || die + epytest +} diff --git a/dev-python/myst-parser/Manifest b/dev-python/myst-parser/Manifest index c87fc8bda5a2..0e72867116b6 100644 --- a/dev-python/myst-parser/Manifest +++ b/dev-python/myst-parser/Manifest @@ -1,7 +1,9 @@ AUX myst-parser-2.0.0-sphinx-7.3.patch 3382 BLAKE2B a2a576863f5441533f96095da6c2d0b15cc87a839475d2604e08988bf00275976986b9733a6e1b4037ee8a5a4b64b2f86304532072c92cf00d0943969b32bdaf SHA512 55002133202bc0f8f1f3e13e4fa4b8146369e06c996b54cade49250daa26fa80998bfaba7b1ff0f502196967bc322e863aa8e2194577624f14dd2e0711d9e709 DIST MyST-Parser-2.0.0.gh.tar.gz 815453 BLAKE2B 8f5dd823c3c79d843b45a7a4819d5677b51a12f78db2c1ce9700eb6faa8c4f0bc167fb1d8cd947e89ffab85aec947ab527b67dc73ef4db97a393f700a4331738 SHA512 c47bdd773565e93c4714d318a70f9a8adab1be6e2a63c23175667fc4afb5da4d66b84e11176782c8202e9fd68883e74d444911ddfb0b91356c2ba07fa65f7ea4 DIST MyST-Parser-3.0.0.gh.tar.gz 823619 BLAKE2B 95d8f1c5a2ab442225079495fa4ebf3619d554bd3e6f469f6215a2458bad4fde3ca555dca591ac20537026765a8fda8a4fa9d85ca592251d9b699bba90782c59 SHA512 a91abfcb99b9b53cee6877d469c32a95c69c2fcbc9cfe6217451c0995e49dec89fe98cd5a1a5e408845985a10fbc21d4e3d8063f1d7a3d96781cb44352b3e806 +DIST MyST-Parser-3.0.1.gh.tar.gz 823769 BLAKE2B 2b8d84dc6a61abd7d168317bb80632172f01f109751b40c108828d0b2fb9c8536da32ff6c873cd3bc20b70c2613b25167eeee999ea9f2d59dfc914ac231120b2 SHA512 4c2b08e9307685c2ef02eee89becba1d6e9f67eba7ab6d5bb5b425f232ac0922bb31cb5df5d60a5ed0846a9314475bcd2cb073a0101f514455c2598340e4b441 DIST myst-parser-2.0.0-sphinx-7.2.patch 22443 BLAKE2B 994f0b2c419832e61cb006b1b45c01274970900bdcfcef3422d5331e88962a46884afbf5b27b5cb98ed349a426444ca4ff21810526cc34eae4cf074102f7b3de SHA512 707b2a69c81352d2900c91088ca137f6455e0006b0e7c798b6f03b9f0cac85489c27db662f5e6ab6e2cd52e10f1594aa54d5c6821c07c110ad138d0cf129ac65 EBUILD myst-parser-2.0.0-r1.ebuild 1975 BLAKE2B 8f3c91fae114855d5948e2568226c1d07b2cb6c36783d4c1f6d6b58c83ba4af05dfdd3a9d10bf8f2e1cf5ea041f4069835d56e890c88c3017aba29b66a088df4 SHA512 5001437c17a09091af41b82384acfbc5356aef2aaff79de5c2c4f3074d2cc6b2b1c201c7b97619aa720b3c767326f2d2067418a30bd0ff2624f391decfce02bc EBUILD myst-parser-3.0.0.ebuild 1611 BLAKE2B c46b9cd763f8602ce1353dd92fe112b37bbde59445f073d295f00cbd2a23a30ee771c019439a23ce9bdc69c0ee4fe009ed75df0c0de1d6fac39ddbd85acc21c7 SHA512 5af3d66993163c3d34353d156b770e2e3b4b811e86ba865d614010fe116ef9a0461733324ddab0cf593efb83e54c72fb436ef4a9bcec07173a6ebab3d8c899b0 +EBUILD myst-parser-3.0.1.ebuild 1611 BLAKE2B c46b9cd763f8602ce1353dd92fe112b37bbde59445f073d295f00cbd2a23a30ee771c019439a23ce9bdc69c0ee4fe009ed75df0c0de1d6fac39ddbd85acc21c7 SHA512 5af3d66993163c3d34353d156b770e2e3b4b811e86ba865d614010fe116ef9a0461733324ddab0cf593efb83e54c72fb436ef4a9bcec07173a6ebab3d8c899b0 MISC metadata.xml 406 BLAKE2B d8a974be3dd4fef4800958dcb1eef3124dc8e3ec49e6678d0db7d6096ef290019aa025796c4f7c38bc11b750d1667ba97d4429b64e7271009da707cd945e113f SHA512 acdc27a39e068c487306002342b9c0c5910d61ed34a7b62878272054ea458d5aad46fe24095a52666ed77ffcb6e703687cc83de0c9e2cef395a1decf9003d918 diff --git a/dev-python/myst-parser/myst-parser-3.0.1.ebuild b/dev-python/myst-parser/myst-parser-3.0.1.ebuild new file mode 100644 index 000000000000..eba761f257cc --- /dev/null +++ b/dev-python/myst-parser/myst-parser-3.0.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P=MyST-Parser-${PV} +DESCRIPTION="Extended commonmark compliant parser, with bridges to Sphinx" +HOMEPAGE=" + https://github.com/executablebooks/MyST-Parser/ + https://pypi.org/project/myst-parser/ +" +SRC_URI=" + https://github.com/executablebooks/MyST-Parser/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/docutils-0.18[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + =dev-python/markdown-it-py-3.0[${PYTHON_USEDEP}] + =dev-python/mdit-py-plugins-0.4[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + =dev-python/sphinx-6[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/defusedxml[${PYTHON_USEDEP}] + =dev-python/linkify-it-py-2.0.0[${PYTHON_USEDEP}] + dev-python/pytest-regressions[${PYTHON_USEDEP}] + dev-python/pytest-param-files[${PYTHON_USEDEP}] + >=dev-python/sphinx-7.3[${PYTHON_USEDEP}] + dev-python/sphinx-pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # unpin docutils + sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die +} diff --git a/dev-python/pyqtgraph/Manifest b/dev-python/pyqtgraph/Manifest index 2edb64b729e3..f3e92ebe4138 100644 --- a/dev-python/pyqtgraph/Manifest +++ b/dev-python/pyqtgraph/Manifest @@ -1,7 +1,9 @@ DIST pyqtgraph-0.13.3.gh.tar.gz 1423224 BLAKE2B 6c054e243a95387f18c7f18a1d4375fac3a7ae3794902f72e8d75eaeea01e031422abb7bbd84bb94977c6ce14664fed4f66ebd9892f4200c3b3ccdd598ccbfd2 SHA512 a397fcf8fc2fcc5a212df9f4cd48dc07bc1ad9eb7a9b1283488eb52c236e054b01df02d04088a9d91679c4ae3ab7796cdf95cdbad06a6a585fbbcdb921f33617 DIST pyqtgraph-0.13.4.gh.tar.gz 1438293 BLAKE2B aaa1ccdf318dfdee0dfee73f8f7be99897d58114971569eb14cd9e32f404cabe08edf20e78301152ad9663bda0d1e8c589ff6af63799bfdc87dfe12ab3ac5a63 SHA512 9c5c276d1e191bbb72ce1ce66fcf2cfe34f5f31318bbc3069c634a77b0373b2df6a7572eccb3cfec9a45d225f5f5da71d6ca9db3f9ef520eaab27b76176a8904 DIST pyqtgraph-0.13.6.gh.tar.gz 2388348 BLAKE2B e0050e240b80be2448ebb998f3ea9bd51489c906512c2cb4c3e0684d6b57d093362c60eafff4aaea9262c9fa7464ffde32e8159e2694671ffe70109b5e412eef SHA512 e77a054494a01ce848685547811ad398e0c77f747c26f9f4be798465f874bfeb23f6c2e507ad1175bb747e3c9c2f0d22747eefda476c4e8c72fa892fa0bb4730 +DIST pyqtgraph-0.13.7.gh.tar.gz 2364456 BLAKE2B 3ce1a3eb177a2a6328f1b7354bf9d4a87ffedcf4fa75fa407bd2df708b91fe98e2500364220ac7395745c69ac86f4830ea58999d05af49850edc723a6ccad5a1 SHA512 91e06e143fec4b1a6fae5cc7112a1fb6b7e74c7a38605172aacc5639eb220e30c54694e419313c7bb8368ea5c5f45f41d58e4510735e63a7d6ef03cdbb0f05e9 EBUILD pyqtgraph-0.13.3.ebuild 1769 BLAKE2B 2e1ee59e028577ada141ebef902eb833f4fe4b5a8e4bda3659414614c0e3e39fc8456d95c143fc6cb8dd02cae1023a1c3c3feffeeecc9de6ad8f1dfe6192efd3 SHA512 98752b3846cb747d76bf6a999dabf3b830671b2aa2093924a522ab654336ca0f6793bb9be07a408f735d1c829b47aa0135be910424dec694b8c450326e86eed9 EBUILD pyqtgraph-0.13.4.ebuild 1815 BLAKE2B c5bf86025631bdfd15cebf18ad578441a93d51245f3c3357da2e073df47f3e3c1b6d23c29cd131b242cb0e2dd3580d2fb21c8c4f3f69d5e9fa5e2e728c1db926 SHA512 403252ef950232df13dc323cdb296ce1e0707a8eae1e82fcb312560cd10b3ce5dc59bb1613242cefd20e18221ab6286b5b3883d31a15c5304f09261507d189c2 EBUILD pyqtgraph-0.13.6.ebuild 1794 BLAKE2B d8fa2f286f18945e7b233299de24d235424988032af61bd50735c4557673638a8c087d0abaa5f1f7998382644a5cbbeab0455cbd2073ea4d53585306e58ca3ca SHA512 b54815a5e97a7ce30efb34d003894db1779a80a9a2c14093f266497f66166ff37b7f2acefad6421efbec045d49af97ac9a35d70272f8ccd98fb8eeeacfe6c335 +EBUILD pyqtgraph-0.13.7.ebuild 1794 BLAKE2B d8fa2f286f18945e7b233299de24d235424988032af61bd50735c4557673638a8c087d0abaa5f1f7998382644a5cbbeab0455cbd2073ea4d53585306e58ca3ca SHA512 b54815a5e97a7ce30efb34d003894db1779a80a9a2c14093f266497f66166ff37b7f2acefad6421efbec045d49af97ac9a35d70272f8ccd98fb8eeeacfe6c335 MISC metadata.xml 775 BLAKE2B 08f1417793ef0b57d978cab5b4c03e43e756a43625d8e6173a8b74d3c9dcce0547934485d192546cf81b8da03bdf21e4c800bb25e0bec452fe092ab3772a518f SHA512 b03a0aa3f6e6183ef2d81b9d0bb22f576661b353986a802f01cb670f9ae0487d84d3e91fd0a4add41e3dd830dbbc0414f4d556bc05bb89a768be9e5c2cee4ce4 diff --git a/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild new file mode 100644 index 000000000000..3eee7ec805c3 --- /dev/null +++ b/dev-python/pyqtgraph/pyqtgraph-0.13.7.ebuild @@ -0,0 +1,74 @@ +# 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 + +DESCRIPTION="A pure-python graphics and GUI library built on PyQt and numpy" +HOMEPAGE=" + https://www.pyqtgraph.org/ + https://github.com/pyqtgraph/pyqtgraph/ + https://pypi.org/project/pyqtgraph/ +" +SRC_URI=" + https://github.com/pyqtgraph/pyqtgraph/archive/${P}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${PN}-${P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="opengl svg" +REQUIRED_USE="test? ( opengl svg )" + +RDEPEND=" + >=dev-python/numpy-1.22[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/PyQt5[gui,widgets,opengl=,svg=,${PYTHON_USEDEP}] + opengl? ( dev-python/pyopengl[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + dev-python/h5py[${PYTHON_USEDEP}] + dev-python/PyQt5[testlib,${PYTHON_USEDEP}] + dev-python/pytest-xvfb[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + if ! use opengl; then + rm -r pyqtgraph/opengl || die + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # apparently fragile + tests/test_reload.py::test_reload + + # TODO + tests/exporters/test_svg.py::test_plotscene + tests/graphicsItems/test_ROI.py::test_PolyLineROI + + # pyside2 is normally skipped if not installed but these two + # fail if it is installed + # TODO: this could be due to USE flags, revisit when pyside2 + # gains py3.9 + 'pyqtgraph/examples/test_examples.py::testExamples[ DateAxisItem_QtDesigner.py - PySide2 ]' + 'pyqtgraph/examples/test_examples.py::testExamples[ designerExample.py - PySide2 ]' + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p xvfb +} diff --git a/dev-python/pytest-xdist/Manifest b/dev-python/pytest-xdist/Manifest index 1c8ba2a54765..b8d65052e892 100644 --- a/dev-python/pytest-xdist/Manifest +++ b/dev-python/pytest-xdist/Manifest @@ -1,5 +1,7 @@ DIST pytest-xdist-3.5.0.tar.gz 78977 BLAKE2B 94feaa236728688a993ed89825f4ccd67abd7a520d235790bbfc629173e5918695ac500d04de642f07d323325972512e3ad95f0ae18a9ea239da8c2f167ab1a5 SHA512 1b6a896c6c69c110d1f3aa634740ffced570bbb788b3474687fef20147a5480a8681886b04db0413f7db68db546236f9a7f37e1592a74d1145f6eb6d876216ca DIST pytest_xdist-3.6.0.tar.gz 83818 BLAKE2B e15935799675014a01524b850106c29b1e43efcdc965c5695ae727ba4c12af446dbaec662eb66022b3e553e311d456859e90c7cfb0f7b4d9d0f28c3184e2901a SHA512 d623d31fa3f441c7ac56b7740bdd205933b90c9784ae1bcbac185bdc2920f1a27fa51fa6e1b75392a3ae13a62c51e168925ce3040cc1f0d22e8d9906faebbc2e +DIST pytest_xdist-3.6.1.tar.gz 84060 BLAKE2B 01392bc1f5a1587f609fc0246235457ab92ca40b3c34c660c117fae1c2b8b98dc0cde345f42951d69c3b58732e0094c7618ed570a6e3ca41165e93e2d8cf9e84 SHA512 583a78d0adc05d81458bbdd5832c239581c0fcd9cad9edfd16fa78009c005c15bffec7ed074d9e18f1542393f62d9ccb2c9e0a96d825e9cff1faec123545a2a3 EBUILD pytest-xdist-3.5.0.ebuild 1075 BLAKE2B a945b3f50cf62516ee10c6d088d4b0901bde616dc2a38a5101168f681aed0ea7483c0cd2c467b97b4c6b4a715b2f1e7830eadaff5049e7c53601ee6c0520f375 SHA512 7874e9babeb199127e7cdb4bf0c2dbabe17e93d8baa736bab52f9ed8f22cf50f65aee51f7917965559500eba17bae6cdab75ae5ecb877a68c24c7a97af6be9c9 EBUILD pytest-xdist-3.6.0.ebuild 1069 BLAKE2B 5f669c4866dec982204c71633a494871bfdf29bc478ebdccc57f3f15e31f34b6a89dc1818d5f75cb6f98d3d9688550c902e21daaf7a07d0e3d923d00d925e6a0 SHA512 0f9584e958ccf7a93791a1da5e05c57b571859c5e2a3b9eea9364fa6de182005d7451cffecb29e3043586ab8a2d88d29751d46458c9cf3f673313e1d7d1dd263 +EBUILD pytest-xdist-3.6.1.ebuild 1069 BLAKE2B 5f669c4866dec982204c71633a494871bfdf29bc478ebdccc57f3f15e31f34b6a89dc1818d5f75cb6f98d3d9688550c902e21daaf7a07d0e3d923d00d925e6a0 SHA512 0f9584e958ccf7a93791a1da5e05c57b571859c5e2a3b9eea9364fa6de182005d7451cffecb29e3043586ab8a2d88d29751d46458c9cf3f673313e1d7d1dd263 MISC metadata.xml 403 BLAKE2B 0aef0787ad01d8e5e5a0588b95740ca54527c1f425d17cc6655308ca478597ebdbfc35165e88864163929104aba9820848b63c17c3d77b238c4f0e17d9b98261 SHA512 c12b3e2a13b6497f748b373753410df996955ddcb9631b310104f2ae31a1427d983462c242692c1b6f9a9b9cd36b7f4aaef58e408543572c040e3dbeb38848fe diff --git a/dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild b/dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild new file mode 100644 index 000000000000..602cb721af56 --- /dev/null +++ b/dev-python/pytest-xdist/pytest-xdist-3.6.1.ebuild @@ -0,0 +1,43 @@ +# 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} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Distributed testing and loop-on-failing modes" +HOMEPAGE=" + https://pypi.org/project/pytest-xdist/ + https://github.com/pytest-dev/pytest-xdist/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + >=dev-python/execnet-2.1[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + >=dev-python/pytest-7.0.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + # disable autoloading plugins in nested pytest calls + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # since we disabled autoloading, force loading necessary plugins + local -x PYTEST_PLUGINS=xdist.plugin,xdist.looponfail + + epytest -o tmp_path_retention_count=1 +} diff --git a/dev-python/regex/Manifest b/dev-python/regex/Manifest index f6b49fa39301..84c85722b1e1 100644 --- a/dev-python/regex/Manifest +++ b/dev-python/regex/Manifest @@ -2,6 +2,8 @@ AUX regex-2021.4.4-pypy3-fix-test_empty_array.patch 1103 BLAKE2B 2498de0ebaa68fc AUX regex-2021.4.4-pypy3-fix-test_issue_18468.patch 1078 BLAKE2B 3545ee5167790fbb1d068afdac3f6dbba28ea92d6c1d4ef31b60a8406061deb8609d7fd9a659b45715d4af0f2deb1da0ef9865aebe58919c2b392e2a1a833cae SHA512 182628709ef0f373037acf197c2ade3215684b2c805a96a600a3dfcb092e6fd134c261330ed76c7c248e72f439e464ccde432444bfe4a9610bd36c777bf45c9d DIST regex-2023.12.25.tar.gz 394706 BLAKE2B 742abe3a3515b527465d81df8fd9404aaa6aa1545e3e6a8c4a87d72d41138caf7f63bceae8bf06b3576656a6b5577bfec51629a60fe837ad2f3a4cd60a08ac06 SHA512 ecc5916633e2acb8d8a0c5ccfdc1c612f673546c42271d5627aa92a163fa6c8fd5a30ed734a02c23fa64807aaf2f883fa51175b7f482888631f699e77d1c0e15 DIST regex-2024.4.16.tar.gz 394724 BLAKE2B 75df2f861116ebf37845abdb0883774ac53d7d61e4cdf18128c74b4c1d5a55b86bfd447616cdb8fc14239c0a5aeaa2c7e59cb0b2b365b57185d785a3728e6dce SHA512 15da80751f1a4b000e4ea59887963aec939fc6431a672391a7f882e05ff15934b89e191d19fd388b9dd6032d2ea44f8511c0ce238e5f1d8db102a89d1866f456 +DIST regex-2024.4.28.tar.gz 394810 BLAKE2B 6fa882219feb783c7340015769655e05257ddd17a6e34f830a60f319afca5face64de72511b0bef0820ace4f379ff5ad557bbdfef414cc0371136a79949a7e13 SHA512 3a05ea8f197d6924f6fd3db2609c1ca13f452f1bc598f8d6ec2ee45a0e5966655e93f039cc76e1cdc714856fa5d21e64aae8d83063ebafdd85e44c82e65f8c50 EBUILD regex-2023.12.25.ebuild 1025 BLAKE2B 16326df8fa7bdde8e12a9fffd24e7f649ce394daad21a2b0a94e3a49151425970d464e69a9deaff80f773fd3768065cd090c9b599e292314888850d67872e2ec SHA512 538ec38186fddb6c9c7ddadf4902a80ea532e025dd2e80a76dc931b402659a8069a8f034ed94fd7f813f50626b842faada6b5ec95cb9edf2b020478602f3e793 EBUILD regex-2024.4.16.ebuild 1033 BLAKE2B 079835db10bf40b07388abf03c610a148de097ef2ae747594ff9e6d52883bf02ecb37e35c1db735cc81b5cf7e3dd8c28cef29e5a8f65c1f9aaf1eb21320cf076 SHA512 6a4ec89c64aef28a64aad8ed97aae9313e2716aeea9a9f98235cf317fd3366d2a21edd5cdab6d56e8302bb07e7e5f27455e8ad5790b17a9fe24b1ec921fbc2e4 +EBUILD regex-2024.4.28.ebuild 1033 BLAKE2B 079835db10bf40b07388abf03c610a148de097ef2ae747594ff9e6d52883bf02ecb37e35c1db735cc81b5cf7e3dd8c28cef29e5a8f65c1f9aaf1eb21320cf076 SHA512 6a4ec89c64aef28a64aad8ed97aae9313e2716aeea9a9f98235cf317fd3366d2a21edd5cdab6d56e8302bb07e7e5f27455e8ad5790b17a9fe24b1ec921fbc2e4 MISC metadata.xml 448 BLAKE2B ce92d069195d11c558d338d4f21cc9bb48e50f21a44aacee610f88283aeae0319b9a31b987fc1b6206832f7b251bb1f64b0d9bccd3eefd6c54953192911eb5e9 SHA512 a9b18af0c107005e8a9e0e7bc4e1dd44891faa9a5234365ddc39ecac2e3dc197c58b31087b4d97d94b48644be7c984d773e50ddb03063c6c95b1f94884483dfc diff --git a/dev-python/regex/regex-2024.4.28.ebuild b/dev-python/regex/regex-2024.4.28.ebuild new file mode 100644 index 000000000000..af00003fff6e --- /dev/null +++ b/dev-python/regex/regex-2024.4.28.ebuild @@ -0,0 +1,37 @@ +# 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 +# pypy isn't supported upstream because of its UTF8 representation for strings +# See https://github.com/mrabarnett/mrab-regex/issues/521#issuecomment-1936260187. +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Alternative regular expression module to replace re" +HOMEPAGE=" + https://github.com/mrabarnett/mrab-regex/ + https://pypi.org/project/regex/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="doc" + +PATCHES=( + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_empty_array.patch" + "${FILESDIR}/${PN}-2021.4.4-pypy3-fix-test_issue_18468.patch" +) + +distutils_enable_tests unittest + +python_install_all() { + use doc && local HTML_DOCS=( docs/Features.html ) + local DOCS=( README.rst docs/*.rst ) + + distutils-r1_python_install_all +} diff --git a/dev-python/time-machine/Manifest b/dev-python/time-machine/Manifest index ed3d9c181c53..8ef900e83152 100644 --- a/dev-python/time-machine/Manifest +++ b/dev-python/time-machine/Manifest @@ -1,8 +1,3 @@ -AUX time-machine-2.13.0-backport-pr400.patch 10411 BLAKE2B 85b9937d44e8d669672af1c0c00852ad52a9ac69fed348d42ed665b1ff1711d2cc2d04cbe9ee36413aee325ea28a99f4a562aac33273374ada5bf221347ce949 SHA512 efa8858d8a5cc2f60e8a125188c9dd0404d331e7ae98d46793241aa9f1a70b857265c6119549c1ce3e90df1b1dfefc00a6fbdb0323586e6f8e2eac6f2b08b405 -DIST time-machine-2.13.0.gh.tar.gz 28747 BLAKE2B 88836d2b9ad34c8d256b576ab6b2bfe263232fb50d2e95f13049f84dbc838283811ebc54c5bb68493ef966e64777983ab6bcb7fafccda6dc74e00d3bb6a2108f SHA512 26a852d93633e037585ec8fcd563c86af8d977a87633dbeb66cf23c9ca49ca0ae536bdcdcdf809ee2ab423c197610c630d506bc3bf4f13c373d806cee2d8c598 -DIST time-machine-2.14.0.gh.tar.gz 29270 BLAKE2B 55050879fe221204f14c77a90190c2ef5232e182d281885d60686230365b9249f8e90ec80e7a842d43a2c52b72bf463cd59b4a22fdc8b0cd25c5ad5b0306fc98 SHA512 7bc9d6d53da68c18ccdae1af6282ea482a0758a4fda9acabe9fa39bfe217a57e65b8041ae4436b7cef2c0b39835f3aae9590515d200b9b2962bd0610370e8454 DIST time-machine-2.14.1.gh.tar.gz 29600 BLAKE2B b118e3a2f08f75cc6cd89181a9e533c89bc6e5312a520b2a854fb8aa7ac59f1570e48a85788261f781ef83f9864380318074724f6eadab9cda7a3374b2322e7d SHA512 42a127e2dc5a86e33896010e6d141fc9248fe685d3477ec71ec8a72315914cea99ae4a4d6623a59fd69505d935d2feadcfd831a7fff5617c3f98a93d48652ecf -EBUILD time-machine-2.13.0.ebuild 734 BLAKE2B 36695c373b67cedc7b8de247905481d9c3fee32ed34ede6b9e5e75626b269f4c1cb763f0ed6f139cbd84bf9b879553ebbb16951c472bca40c430f7d7b5afec6a SHA512 a474a1eaf544fdd2aca9c09b44fe8f2db3f4c76e3cc32629d46686d9a70fef67a62942645b61cf7f0958d9169e45baf07e8d9b1861280778253c3c2bb29fc9c7 -EBUILD time-machine-2.14.0.ebuild 674 BLAKE2B d021f2ed299c55604b84431cff48c593ceacf623774d6e2e0f32f3df7e6833198a13f6536194c55f9d7b72e5b4452fcadbd6cd5ca5e87fae133cc6c4b48dde29 SHA512 4f2c4fad8f076b528e8f813a0b19836ea0648666acbf72856e738eef28c3ea494e9d5dfb9e6823aa8f790ebe20fd2e9769736ee99c9511235954335310c787ff EBUILD time-machine-2.14.1.ebuild 673 BLAKE2B fbd66513f7a25302b8b8995221baa284a7bb4c3e4b17f19a1d71dbce159bb9e221fadec6bdeacd72d21c133b46a6f04971788a52004fd99e2e7d98244d141abf SHA512 9df561d8d75ad0554f4dea4fb0c92719dedac7da17c2397aa297613cade7f7fc3d2733c92815d34411fc7ffc5f1663fa4f24702869e440c60cff935505c6bd52 MISC metadata.xml 379 BLAKE2B 98883d810d13745555166c9901f0ac15bd1ace4754e67ddb090983d97808a8362f61d91e82e7c903920cf42037c3df2655b211caaff904fb3ac4d2494ebf2fd3 SHA512 74d7de420c0bc5c03a3524bfe9b888fec8e5ec353d89b8a8e5d5d2dbd736ef8d34c45f026fe493dfe87ebcc7754c30d9b3ef7fda1abea91cbf9599bdeb4ed3c9 diff --git a/dev-python/time-machine/files/time-machine-2.13.0-backport-pr400.patch b/dev-python/time-machine/files/time-machine-2.13.0-backport-pr400.patch deleted file mode 100644 index b7fa55c2e267..000000000000 --- a/dev-python/time-machine/files/time-machine-2.13.0-backport-pr400.patch +++ /dev/null @@ -1,252 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=912709 -https://github.com/adamchainz/time-machine/pull/400 - -From b489a478193982c17cf7847d32cae2b53a904222 Mon Sep 17 00:00:00 2001 -From: matoro -Date: Thu, 9 Nov 2023 13:03:49 -0500 -Subject: [PATCH 1/2] Fix tests on platforms with low clock resolution - -On platforms without a high-resolution clock, such as Alpha and PA-RISC -is is likely that two sequential calls to time.time() will return the -same value if the execution time is not sufficient to allow one full -clock resolution cycle to pass. This adds sleeps of one cycle to -enforce that the minimum amount of time to guarantee a clock change has -passed. - -On systems with high-resolution clocks, clock_getres() will return 1ns; -in reality the sleep will take longer than 1ns to execute but should -still be a negligible amount of time. ---- - tests/test_time_machine.py | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/tests/test_time_machine.py b/tests/test_time_machine.py -index fe98fb7..7b5abbe 100644 ---- a/tests/test_time_machine.py -+++ b/tests/test_time_machine.py -@@ -155,8 +155,10 @@ def test_time_clock_gettime_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_monotonic_unaffected(): - start = time.clock_gettime(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - with time_machine.travel(EPOCH + 180.0): - frozen = time.clock_gettime(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(frozen, float) - assert frozen > start - -@@ -169,6 +171,7 @@ def test_time_clock_gettime_monotonic_unaffected(): - def test_time_clock_gettime_ns_realtime(): - with time_machine.travel(EPOCH + 190.0): - first = time.clock_gettime_ns(time.CLOCK_REALTIME) -+ time.sleep(time.clock_getres(time.CLOCK_REALTIME)) - assert isinstance(first, int) - assert first == int((EPOCH + 190.0) * NANOSECONDS_PER_SECOND) - second = time.clock_gettime_ns(time.CLOCK_REALTIME) -@@ -182,8 +185,10 @@ def test_time_clock_gettime_ns_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_ns_monotonic_unaffected(): - start = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - with time_machine.travel(EPOCH + 190.0): - frozen = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(frozen, int) - assert frozen > start - -@@ -279,6 +284,7 @@ def test_time_strftime_format_t(): - def test_time_time(): - with time_machine.travel(EPOCH): - first = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(first, float) - assert first == EPOCH - second = time.time() -@@ -300,6 +306,7 @@ def test_time_time(): - def test_time_time_windows(): - with time_machine.travel(EPOCH): - first = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(first, float) - assert first == windows_epoch_in_posix - -@@ -316,6 +323,7 @@ def test_time_time_no_tick(): - def test_time_time_ns(): - with time_machine.travel(EPOCH + 150.0): - first = time.time_ns() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert isinstance(first, int) - assert first == int((EPOCH + 150.0) * NANOSECONDS_PER_SECOND) - second = time.time_ns() -@@ -561,6 +569,7 @@ def test_method_decorator(self): - @time_machine.travel(EPOCH + 95.0) - class UnitTestClassTests(TestCase): - def test_class_decorator(self): -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - - @time_machine.travel(EPOCH + 25.0) -@@ -578,6 +587,7 @@ def setUpClass(cls): - cls.custom_setupclass_ran = True - - def test_class_decorator(self): -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - assert self.custom_setupclass_ran - -@@ -639,6 +649,7 @@ def test_move_to_datetime(): - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME) - - first = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert first == EPOCH_PLUS_ONE_YEAR - - second = time.time() -@@ -706,6 +717,7 @@ def test_move_to_datetime_change_tick_on(): - with time_machine.travel(EPOCH, tick=False) as traveller: - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME, tick=True) - assert time.time() == EPOCH_PLUS_ONE_YEAR -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert time.time() > EPOCH_PLUS_ONE_YEAR - - -@@ -756,6 +768,7 @@ def test_fixture_used_tick_false(time_machine): - def test_fixture_used_tick_true(time_machine): - time_machine.move_to(EPOCH, tick=True) - original = time.time() -+ time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) - assert original == EPOCH - assert original < time.time() < EPOCH + 10.0 - - -From 9e84584325ec06eb997716b6a0f42e9ca6540994 Mon Sep 17 00:00:00 2001 -From: matoro -Date: Fri, 10 Nov 2023 11:06:23 -0500 -Subject: [PATCH 2/2] Wrap sleep calls in "sleep_one_cycle" function - ---- - tests/test_time_machine.py | 30 +++++++++++++++++------------- - 1 file changed, 17 insertions(+), 13 deletions(-) - -diff --git a/tests/test_time_machine.py b/tests/test_time_machine.py -index 7b5abbe..163ec2b 100644 ---- a/tests/test_time_machine.py -+++ b/tests/test_time_machine.py -@@ -38,6 +38,10 @@ - ) - - -+def sleep_one_cycle(clock: int) -> None: -+ time.sleep(time.clock_getres(clock)) -+ -+ - @contextmanager - def change_local_timezone(local_tz: str | None) -> typing.Iterator[None]: - orig_tz = os.environ["TZ"] -@@ -155,10 +159,10 @@ def test_time_clock_gettime_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_monotonic_unaffected(): - start = time.clock_gettime(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - with time_machine.travel(EPOCH + 180.0): - frozen = time.clock_gettime(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(frozen, float) - assert frozen > start - -@@ -171,7 +175,7 @@ def test_time_clock_gettime_monotonic_unaffected(): - def test_time_clock_gettime_ns_realtime(): - with time_machine.travel(EPOCH + 190.0): - first = time.clock_gettime_ns(time.CLOCK_REALTIME) -- time.sleep(time.clock_getres(time.CLOCK_REALTIME)) -+ sleep_one_cycle(time.CLOCK_REALTIME) - assert isinstance(first, int) - assert first == int((EPOCH + 190.0) * NANOSECONDS_PER_SECOND) - second = time.clock_gettime_ns(time.CLOCK_REALTIME) -@@ -185,10 +189,10 @@ def test_time_clock_gettime_ns_realtime(): - @py_have_clock_gettime - def test_time_clock_gettime_ns_monotonic_unaffected(): - start = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - with time_machine.travel(EPOCH + 190.0): - frozen = time.clock_gettime_ns(time.CLOCK_MONOTONIC) -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(frozen, int) - assert frozen > start - -@@ -284,7 +288,7 @@ def test_time_strftime_format_t(): - def test_time_time(): - with time_machine.travel(EPOCH): - first = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(first, float) - assert first == EPOCH - second = time.time() -@@ -306,7 +310,7 @@ def test_time_time(): - def test_time_time_windows(): - with time_machine.travel(EPOCH): - first = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(first, float) - assert first == windows_epoch_in_posix - -@@ -323,7 +327,7 @@ def test_time_time_no_tick(): - def test_time_time_ns(): - with time_machine.travel(EPOCH + 150.0): - first = time.time_ns() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert isinstance(first, int) - assert first == int((EPOCH + 150.0) * NANOSECONDS_PER_SECOND) - second = time.time_ns() -@@ -569,7 +573,7 @@ def test_method_decorator(self): - @time_machine.travel(EPOCH + 95.0) - class UnitTestClassTests(TestCase): - def test_class_decorator(self): -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - - @time_machine.travel(EPOCH + 25.0) -@@ -587,7 +591,7 @@ def setUpClass(cls): - cls.custom_setupclass_ran = True - - def test_class_decorator(self): -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert EPOCH + 95.0 < time.time() < EPOCH + 96.0 - assert self.custom_setupclass_ran - -@@ -649,7 +653,7 @@ def test_move_to_datetime(): - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME) - - first = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert first == EPOCH_PLUS_ONE_YEAR - - second = time.time() -@@ -717,7 +721,7 @@ def test_move_to_datetime_change_tick_on(): - with time_machine.travel(EPOCH, tick=False) as traveller: - traveller.move_to(EPOCH_PLUS_ONE_YEAR_DATETIME, tick=True) - assert time.time() == EPOCH_PLUS_ONE_YEAR -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert time.time() > EPOCH_PLUS_ONE_YEAR - - -@@ -768,7 +772,7 @@ def test_fixture_used_tick_false(time_machine): - def test_fixture_used_tick_true(time_machine): - time_machine.move_to(EPOCH, tick=True) - original = time.time() -- time.sleep(time.clock_getres(time.CLOCK_MONOTONIC)) -+ sleep_one_cycle(time.CLOCK_MONOTONIC) - assert original == EPOCH - assert original < time.time() < EPOCH + 10.0 - diff --git a/dev-python/time-machine/time-machine-2.13.0.ebuild b/dev-python/time-machine/time-machine-2.13.0.ebuild deleted file mode 100644 index 040dc0489bc5..000000000000 --- a/dev-python/time-machine/time-machine-2.13.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2022-2023 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} ) - -inherit distutils-r1 - -DESCRIPTION="Travel through time in your tests" -HOMEPAGE=" - https://github.com/adamchainz/time-machine/ - https://pypi.org/project/time-machine/ -" -SRC_URI=" - https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] -" - -PATCHES=( "${FILESDIR}/${PN}-2.13.0-backport-pr400.patch" ) - -distutils_enable_tests pytest diff --git a/dev-python/time-machine/time-machine-2.14.0.ebuild b/dev-python/time-machine/time-machine-2.14.0.ebuild deleted file mode 100644 index 462fe2809ad3..000000000000 --- a/dev-python/time-machine/time-machine-2.14.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-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} ) - -inherit distutils-r1 - -DESCRIPTION="Travel through time in your tests" -HOMEPAGE=" - https://github.com/adamchainz/time-machine/ - https://pypi.org/project/time-machine/ -" -SRC_URI=" - https://github.com/adamchainz/time-machine/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - dev-python/python-dateutil[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest diff --git a/dev-python/twisted/Manifest b/dev-python/twisted/Manifest index da3ee019f95c..5743adbb9647 100644 --- a/dev-python/twisted/Manifest +++ b/dev-python/twisted/Manifest @@ -1,10 +1,6 @@ AUX twistd.conf 277 BLAKE2B 78ca35b410a6597c9afe6a9c8d3dfb1de113411634901f936794e8a59c0644233d0673e710bd0870ecf4312d079c46f62f43928605700559134f1fb62490559a SHA512 76d44caebab8404f16937c2515ad9ae8236732a48c7127366f7fa22c6ed3d88ace2d33b832a6d95f775973d41b7caf75344805fe5b01e964c04eb710bf3c89fb AUX twistd.init 563 BLAKE2B 24488118b025bf2068bbf07af900064ff6a7ee99106c3da30f15f2b3f85af7443212afebc6b52a12645488b85656f87b653df9263fc2be6bd09707917899f252 SHA512 7860601beba1efda2b0a045b2a044ec33caff9ee915d45225c05e281760a68da349b4c45080600177aab32aa806714327acf3cf5dda92be0874f781f129bb129 -DIST twisted-23.10.0.tar.gz 3495627 BLAKE2B 3b5c2dc56686203cfe7c863211f0be34f49b26273af7b0f54a891851cf5f32096da880f35dd549b8ff82c6885fda2f644ef747fc9574e830da4fe2ddb588e70f SHA512 da6cc663005776fca716503ec53ae367576e9c89ec2b90a367e73afb1e63c51a24dfad39b9ed1edb597e77e1d805dcbd179cefc1685faddd4044efc8f6c82d5f -DIST twisted-24.2.0rc1.tar.gz 3500738 BLAKE2B d286b8bbd8e3c9bef82bf3b6a3ea3714358f4447a2bd4b3e82a0f4be0bda89c9a0804f807592dd951b6bb4ff74076b4a35a13b98d9d99e4334a644fe668f7802 SHA512 6f8946e65ec6affce5cac79a6b6019a48ba6bb9c2eb42bc2a251a50bd33eb429dd6aec570ed51ce98c618cc220451a935f8e32c93281953ef4b2a9e658793b68 DIST twisted-24.3.0.tar.gz 3500456 BLAKE2B b2cebb2f3482dbeba250786b1977ddbb09e1a9a81f71ce5906efe8289b0e134a8b26c191c2262e8ee8ba3fccccea508c34145016b29ecf301541134dcea19e08 SHA512 c3dd227f5936ffa586a0b7447f5df4c2257dce0c0ba740373d82197a72029e7eeb0aef9789247dde73e2f24dd043f3b0b7d795f16e6e908583b054aad9b9eb6a DIST twisted-regen-cache.gz 911 BLAKE2B ffd3fcda6c67ffe6fd3ef581c8d507548396b66ed0708e9a5c790095e579c0d5f0f71596acf05712989da2ddef2b8d437eca973bc4d80ef8a9fa852915f38305 SHA512 95a9b931c73017d16d1b5e6b41345dddffe62b6af1a8e93b5e40d06d3d15be17b0dd0181c767ffeeb791534d463764ef9e066fa6c2ee2ac4b53c86d1da8fce03 -EBUILD twisted-23.10.0.ebuild 4134 BLAKE2B 48ad17b240e917bf0302c7e70a72fec9225108f07065110951685331bb3464588a0503c387efad0a16e3a1391cb8af1fe0b7461247b4462391adad25bb4d2076 SHA512 5619ee1cfb20422b6c3e2df29eb20d2d2c01748c2ef1201c009cd856e3f07f4811c703eb570429ac4de4bc051c532d32a8ee51f3f2c336a11ebe34380ec256a5 -EBUILD twisted-24.2.0_rc1.ebuild 4218 BLAKE2B fd42d75236c53fc50baab6c6000940eda5545d184096764b01624059dc02f1a970a3a6c694880187aa9a51bf357c39b69b23dfe9c0c8c3009fafbc947a884029 SHA512 1f7c84f034600d48686a641c736c120b71aaaad92729cfcd90720329831bdeb7391047ef3922e303f8501fdc665d1f01b9a2ed855abc50f5ec4415dc09694ca4 EBUILD twisted-24.3.0.ebuild 4210 BLAKE2B bef4f69b585556b6a7942a8e9c41bc47d224b1f56749f1a385a9338a4fcc01390796584c537231f5a93579b0583fcce005a71777d6d01a5520b1949022306f8b SHA512 8f044bc7749dbf23a0d6f44b8c090f8aae48f940e16a032b3a63abe6db026eabf755f29b3973241d688b6ca3af88ee50da5a100e281c4684f84665ef6c8e9bcd MISC metadata.xml 1231 BLAKE2B 60cd09e34c32152e6f08727c1281c65e871a51e64310a62a3104342fcb0e87e96b10cd4c7601668f054f9a2cb01fdf8ebeca3ed86b61ae2496a4d941897aa296 SHA512 800d9cd783d95cecb268362619deb346783149fa9226df714f9ce990da2d45edd3c8e5669e24ad15dfdf986a5816a5361c00f13719bb0dee3e6ae1578a889339 diff --git a/dev-python/twisted/twisted-23.10.0.ebuild b/dev-python/twisted/twisted-23.10.0.ebuild deleted file mode 100644 index edb96fcce0dd..000000000000 --- a/dev-python/twisted/twisted-23.10.0.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="An asynchronous networking framework written in Python" -HOMEPAGE=" - https://twisted.org/ - https://github.com/twisted/twisted/ - https://pypi.org/project/Twisted/ -" -SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -IUSE="conch http2 serial ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/automat-0.8.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1[${PYTHON_USEDEP}] - >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] - >=dev-python/zope-interface-5[${PYTHON_USEDEP}] - conch? ( - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - ) - http2? ( - =dev-python/h2-3.0.0[${PYTHON_USEDEP}] - =dev-python/priority-1.1.0[${PYTHON_USEDEP}] - ) - serial? ( - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - ) - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] - =dev-python/cython-test-exception-raiser-1.0.2[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.56[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/pyhamcrest-2[${PYTHON_USEDEP}] - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - virtual/openssh - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -python_prepare_all() { - # upstream test for making releases; not very useful and requires - # sphinx (including on py2) - rm src/twisted/python/test/test_release.py || die - - # multicast tests fail within network-sandbox - sed -e 's:test_joinLeave:_&:' \ - -e 's:test_loopback:_&:' \ - -e 's:test_multiListen:_&:' \ - -e 's:test_multicast:_&:' \ - -i src/twisted/test/test_udp.py || die - - distutils-r1_python_prepare_all -} - -src_test() { - # the test suite handles missing file & failing ioctl()s gracefully - # but not permission errors from sandbox - addwrite /dev/net/tun - virtx distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - "${EPYTHON}" -m twisted.trial twisted || - die "Tests failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # own the dropin.cache so we don't leave orphans - > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die - - python_doscript "${WORKDIR}"/twisted-regen-cache -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} - -python_postinst() { - twisted-regen-cache || die -} - -pkg_postinst() { - if [[ -z ${ROOT} ]]; then - python_foreach_impl python_postinst - fi -} - -python_postrm() { - rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die -} - -pkg_postrm() { - # if we're removing the last version, remove the cache file - if [[ ! ${REPLACING_VERSIONS} ]]; then - python_foreach_impl python_postrm - fi -} diff --git a/dev-python/twisted/twisted-24.2.0_rc1.ebuild b/dev-python/twisted/twisted-24.2.0_rc1.ebuild deleted file mode 100644 index 4869d844543e..000000000000 --- a/dev-python/twisted/twisted-24.2.0_rc1.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_TESTED=( python3_{10..12} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="An asynchronous networking framework written in Python" -HOMEPAGE=" - https://twisted.org/ - https://github.com/twisted/twisted/ - https://pypi.org/project/Twisted/ -" -SRC_URI+=" - https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="conch http2 serial ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] - >=dev-python/automat-0.8.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1[${PYTHON_USEDEP}] - >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}] - >=dev-python/zope-interface-5[${PYTHON_USEDEP}] - conch? ( - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/cryptography-3.3[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - ) - http2? ( - =dev-python/h2-3.0.0[${PYTHON_USEDEP}] - =dev-python/priority-1.1.0[${PYTHON_USEDEP}] - ) - serial? ( - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - ) - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - >=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}] - >=dev-python/incremental-22.10.0[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - $(python_gen_cond_dep ' - >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] - >=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}] - >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] - =dev-python/cython-test-exception-raiser-1.0.2[${PYTHON_USEDEP}] - >=dev-python/idna-2.4[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.56[${PYTHON_USEDEP}] - dev-python/pyasn1[${PYTHON_USEDEP}] - >=dev-python/pyhamcrest-2[${PYTHON_USEDEP}] - >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] - virtual/openssh - ssl? ( - >=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] - >=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] - ) - ' "${PYTHON_TESTED[@]}") - ) -" - -python_prepare_all() { - # upstream test for making releases; not very useful and requires - # sphinx (including on py2) - rm src/twisted/python/test/test_release.py || die - - # multicast tests fail within network-sandbox - sed -e 's:test_joinLeave:_&:' \ - -e 's:test_loopback:_&:' \ - -e 's:test_multiListen:_&:' \ - -e 's:test_multicast:_&:' \ - -i src/twisted/test/test_udp.py || die - - distutils-r1_python_prepare_all -} - -src_test() { - # the test suite handles missing file & failing ioctl()s gracefully - # but not permission errors from sandbox - addwrite /dev/net/tun - virtx distutils-r1_src_test -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON} (xfail)" - return - fi - - # breaks some tests by overriding empty environment - local -x SANDBOX_ON=0 - "${EPYTHON}" -m twisted.trial twisted || - die "Tests failed with ${EPYTHON}" -} - -python_install() { - distutils-r1_python_install - - # own the dropin.cache so we don't leave orphans - > "${D}$(python_get_sitedir)"/twisted/plugins/dropin.cache || die - - python_doscript "${WORKDIR}"/twisted-regen-cache -} - -python_install_all() { - distutils-r1_python_install_all - - newconfd "${FILESDIR}/twistd.conf" twistd - newinitd "${FILESDIR}/twistd.init" twistd -} - -python_postinst() { - twisted-regen-cache || die -} - -pkg_postinst() { - if [[ -z ${ROOT} ]]; then - python_foreach_impl python_postinst - fi -} - -python_postrm() { - rm -f "${ROOT}$(python_get_sitedir)/twisted/plugins/dropin.cache" || die -} - -pkg_postrm() { - # if we're removing the last version, remove the cache file - if [[ ! ${REPLACING_VERSIONS} ]]; then - python_foreach_impl python_postrm - fi -} -- cgit v1.2.3