diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-16 18:42:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-16 18:42:09 +0000 |
| commit | e12e079d1d498ff525729f9e99dcaebcaafefd2e (patch) | |
| tree | 963d27692152e759128819ae63c51a8c29a4b563 /dev-python | |
| parent | c17b94d3a30692facd01f74b45895612f711137c (diff) | |
| download | baldeagleos-repo-e12e079d1d498ff525729f9e99dcaebcaafefd2e.tar.gz baldeagleos-repo-e12e079d1d498ff525729f9e99dcaebcaafefd2e.tar.xz baldeagleos-repo-e12e079d1d498ff525729f9e99dcaebcaafefd2e.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
39 files changed, 553 insertions, 173 deletions
diff --git a/dev-python/abydos/Manifest b/dev-python/abydos/Manifest deleted file mode 100644 index 08bbab06bd8c..000000000000 --- a/dev-python/abydos/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST abydos-0.5.0.gh.tar.gz 21321759 BLAKE2B 1f14675f42e849e5e1563dd858bfb2bf040e25b0f90cb3da9986492378892bedd0f23eea990cd65d804aececb350b0e90fb27921382a8df8b91e55d7f820c27e SHA512 28aeea4ba16ea88b077e8b9902f5d8b3a650eeced489687daf9af0e4aa437eaee6c8eeb0747dd5a8f95291594064a1221cc1da2dfa989978bcc870045fee3531 diff --git a/dev-python/abydos/abydos-0.5.0-r3.ebuild b/dev-python/abydos/abydos-0.5.0-r3.ebuild deleted file mode 100644 index 9ccaa9ea96c8..000000000000 --- a/dev-python/abydos/abydos-0.5.0-r3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11} ) - -inherit distutils-r1 - -DESCRIPTION="Abydos NLP/IR library" -HOMEPAGE=" - https://github.com/chrislit/abydos/ - https://pypi.org/project/abydos/ -" -SRC_URI=" - https://github.com/chrislit/abydos/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv x86" - -RDEPEND=" - dev-python/deprecation[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] -" - -PATCHES=( - "${FILESDIR}/${P}-fix-py3.10.patch" -) - -distutils_enable_tests pytest -# Extension error: You must configure the bibtex_bibfiles setting -#distutils_enable_sphinx docs dev-python/sphinx-rtd-theme dev-python/sphinxcontrib-bibtex - -EPYTEST_DESELECT=( - # Internet - tests/distance/test_distance_meta_levenshtein.py::MetaLevenshteinTestCases::test_meta_levenshtein_corpus - tests/distance/test_distance_softtf_idf.py::SoftTFIDFTestCases::test_softtf_idf_corpus - tests/distance/test_distance_tf_idf.py::TFIDFTestCases::test_tf_idf_corpus - tests/util/test_data.py::DataTestCases::test_data -) - -python_prepare_all() { - # do not depend on pytest-cov - sed -i -e '/addopts/d' setup.cfg || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/abydos/files/abydos-0.5.0-fix-py3.10.patch b/dev-python/abydos/files/abydos-0.5.0-fix-py3.10.patch deleted file mode 100644 index 9cdcf77f4674..000000000000 --- a/dev-python/abydos/files/abydos-0.5.0-fix-py3.10.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/abydos/distance/_synoname.py -+++ b/abydos/distance/_synoname.py -@@ -19,7 +19,7 @@ - Synoname. - """ - --from collections import Iterable -+from collections.abc import Iterable - - from deprecation import deprecated - ---- a/abydos/tokenizer/_q_grams.py -+++ b/abydos/tokenizer/_q_grams.py -@@ -19,7 +19,7 @@ - QGrams multi-set class - """ - --from collections import Iterable -+from collections.abc import Iterable - - from ._tokenizer import _Tokenizer - ---- a/abydos/tokenizer/_q_skipgrams.py -+++ b/abydos/tokenizer/_q_skipgrams.py -@@ -19,7 +19,7 @@ - Q-Skipgrams multi-set class - """ - --from collections import Iterable -+from collections.abc import Iterable - from itertools import combinations - - from ._tokenizer import _Tokenizer diff --git a/dev-python/abydos/metadata.xml b/dev-python/abydos/metadata.xml deleted file mode 100644 index f4c4fc90a218..000000000000 --- a/dev-python/abydos/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>andrewammerlaan@gentoo.org</email> - <name>Andrew Ammerlaan</name> - </maintainer> - - <origin>gentoo-staging</origin> - <stabilize-allarches/> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/aiodns/Manifest b/dev-python/aiodns/Manifest index 6a8648ad761a..38141778de8c 100644 --- a/dev-python/aiodns/Manifest +++ b/dev-python/aiodns/Manifest @@ -1,2 +1,3 @@ DIST aiodns-3.0.0.tar.gz 6743 BLAKE2B 2a3c61156069fa598df58191b35383da3e054396cdeb1bc8916cc0414bb6efc89d45789883a5b4f33e3a08a6ee544356b02d6c697c096deae3398f0ff4d3c316 SHA512 8c1016f3b0cb461e70e9a55034f9ad3b3db705a845bf20bb6503c7a5d592b4c5d2e8ddc60b375c5fafdc559dc4566736f4c93f26710be2dcbd181284ef039825 DIST aiodns-3.1.0.tar.gz 7156 BLAKE2B 0d3b5b84631e3ed378c4334966391a639d577fb6b983b4c8cbaf306fcbb167e897b6094f9cbb3a7fb8355c352830feda1fee3a923044bf5219836845d162d1b3 SHA512 6e432555924a3d53ba95ed160a6211486041dfee8c16f18cfd23be3f1d6a50a1fad28fd406acc5de87ba277f7172c3d8ff84633585323a3f659312c4a713b096 +DIST aiodns-3.1.1.tar.gz 7363 BLAKE2B bb5a465be00ff61406b61cef133cb5eed8e007114ddcd1475a12fed5481ec377bc96291fdc7fd6cc5936de865118f7008625ec5d69c09f96eacdb83b4b29c786 SHA512 7c28cc6256a575681778376cc197a9504133b1127eb3508f6e5cd1c992c95adef66cf8399b7e90ca012347485e476f71e3f032f7e2f555954ad9a0cade8df5f9 diff --git a/dev-python/aiodns/aiodns-3.1.1.ebuild b/dev-python/aiodns/aiodns-3.1.1.ebuild new file mode 100644 index 000000000000..ccd750b19fa8 --- /dev/null +++ b/dev-python/aiodns/aiodns-3.1.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Simple DNS resolver for asyncio" +HOMEPAGE="https://github.com/saghul/aiodns/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +# Tests fail with network-sandbox, since they try to resolve google.com +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=">=dev-python/pycares-3[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet changed, https://github.com/saghul/aiodns/issues/107 + tests.py::DNSTest::test_query_bad_chars + ) + + epytest tests.py +} diff --git a/dev-python/autopage/Manifest b/dev-python/autopage/Manifest index e6fa6e3fb264..746b49f9bf13 100644 --- a/dev-python/autopage/Manifest +++ b/dev-python/autopage/Manifest @@ -1 +1,2 @@ DIST autopage-0.5.1.gh.tar.gz 21406 BLAKE2B 45d67443fa882d6f824ea71a8f9d20eb1ae789a271d84dc566a2535de631b5ce644aa28f51c5be1db818194e39628b6526ac087cd6eccc425132f15fafda10e9 SHA512 3d6e10c222566fd5f5e07e3247ebe19ce7ffe3b4baf9948741ee9a8aaafbefb0fcfaf4b26f0a4a6392615e73c7e8539c9bcbff1112a291c193c0b653f33e8657 +DIST autopage-0.5.2.gh.tar.gz 21904 BLAKE2B 73597326f6d22d4cac9c9969edc0e6fc23f555d149947aa3aa81529347928a3f9112e9fb15a3ad65e17274ed308fb6fe20810d8364415fe7e59ab1bd47411361 SHA512 68e76dd4c4f049785e226eae499be85139bf57c59fd2161f5bb9df66878541e39a3edc1806f42382bd2d9a922cbdace0d05b60366f72d9a39c31fc39eae05883 diff --git a/dev-python/autopage/autopage-0.5.2.ebuild b/dev-python/autopage/autopage-0.5.2.ebuild new file mode 100644 index 000000000000..b01a93983099 --- /dev/null +++ b/dev-python/autopage/autopage-0.5.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="A library to provide automatic paging for console output" +HOMEPAGE=" + https://github.com/zaneb/autopage/ + https://pypi.org/project/autopage/ +" +SRC_URI=" + https://github.com/zaneb/autopage/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/fixtures[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + sed -e 's/test_short_streaming_output/_&/' \ + -e 's/test_interrupt_early/_&/' \ + -i autopage/tests/test_end_to_end.py || die + + distutils-r1_src_prepare +} + +python_test() { + unset LESS PAGER + eunittest +} diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index fbcc6c1caa96..ca661b2acf15 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -1 +1,2 @@ DIST cloudpickle-2.2.1.tar.gz 60800 BLAKE2B a89fb7b53665ddb328235d00f6b7a311815d740eedfef65552c6b782bc8339ed96bcca98eb28ff1dd6205270a44c90de22acd47df9304c11644bbf0956ff3e25 SHA512 a0174a382d531180704a90a4da4f83e1d1c90ebf4ad181778bed073763bf43104b7049ced12abc360948343d105a4390cb514585a1b493217a53a5b2c45cfde6 +DIST cloudpickle-3.0.0.gh.tar.gz 59519 BLAKE2B 6d5c7b98990bb4d59ffc4e75efe109814430c8b73753d630b169ce0c455e5d5105782a314d4921b5051d458758980c954b8a84cf79a9534c9a382a8066d03c27 SHA512 e091cc0de2489c06e020fac2852d25f7fd832036a2b2c4c34f0cda0c642a1c65413fc0f21dc51fec75803e7c7da37f26f613620150acd9ab4aa2bb7b1eaabb79 diff --git a/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild b/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild new file mode 100644 index 000000000000..c759d5674298 --- /dev/null +++ b/dev-python/cloudpickle/cloudpickle-3.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Extended pickling support for Python objects" +HOMEPAGE=" + https://github.com/cloudpipe/cloudpickle/ + https://pypi.org/project/cloudpickle/ +" +SRC_URI=" + https://github.com/cloudpipe/cloudpickle/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + +BDEPEND=" + test? ( + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg + # -s unbreaks some tests + # https://github.com/cloudpipe/cloudpickle/issues/252 + epytest -s +} diff --git a/dev-python/easygui/easygui-0.98.2.ebuild b/dev-python/easygui/easygui-0.98.2-r1.ebuild index 94938240e9da..db2a497a4f25 100644 --- a/dev-python/easygui/easygui-0.98.2.ebuild +++ b/dev-python/easygui/easygui-0.98.2-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11} ) PYTHON_REQ_USE="tk" diff --git a/dev-python/easygui/easygui-0.98.3.ebuild b/dev-python/easygui/easygui-0.98.3-r1.ebuild index 985581d7ab3c..0c2f408189cc 100644 --- a/dev-python/easygui/easygui-0.98.3.ebuild +++ b/dev-python/easygui/easygui-0.98.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/dev-python/jupyter-events/Manifest b/dev-python/jupyter-events/Manifest index d61bf2f128e2..415d36b3cb99 100644 --- a/dev-python/jupyter-events/Manifest +++ b/dev-python/jupyter-events/Manifest @@ -1,3 +1,4 @@ DIST jupyter_events-0.5.0.tar.gz 55838 BLAKE2B a3ac815a28d2592a10394569726b76de75cb3baab0bab4c1f276da33375ba93d6bfed71fbfaca404a238b7af58ebd7e75dd7fdf6c8717141517c2f790eeb9514 SHA512 49c21f0d5dce18b137f73911b0272919a56c972561deceb228558ea369f2091ce219ac335eec002b22ca1465b2622330fb3d8973d142df4b76e350345cb6249a DIST jupyter_events-0.6.3.tar.gz 59393 BLAKE2B 0f747cc099e8b0e30024b7fa61007d4449fad1be3b4807021df28668969dca18087634606d6f2c453da81da9c107576133e13ec373cf34362d0182320e84e809 SHA512 a9b9c180f7b4759a3d2c99421947a837020149ec1a91ad0cd06971d7ae99ad1050652f01f78c9478ce3fd3f1a1ab6b579e90c279fcee0771546f3c346becd61f DIST jupyter_events-0.7.0.tar.gz 59717 BLAKE2B 80ff725f4a39495ef7bf447d3bf1dcd3d7c28875c16f082788d948efec8498f01d74bb59b771537e22be7c57c0e75dd9bba70e7802262d676b531318a18d93cb SHA512 ce5ddabc4f540bfa6808319b783ad8ffcb908bc26e7435293bda4ed88221126284dfda1aafc165c8a13bdd6056ec0477915b008f4788bc19730718d4a9e3f162 +DIST jupyter_events-0.8.0.tar.gz 60373 BLAKE2B dc58ae9a561f7ffd81758b116d5cb93e6ee5d4bdc5ee3d067103aefbe66e01e1809e7194617f541abec84efdd81b4311024b2b50f863bad62127218eafdfbd31 SHA512 9b43e1f0f5e390455fac52971f41695a7c0d853ac4a84493e31efdd61a183e4a41c7824f963b89ee369cac8945d6258857b864315bbafe8be15145eee7075afd diff --git a/dev-python/jupyter-events/jupyter-events-0.8.0.ebuild b/dev-python/jupyter-events/jupyter-events-0.8.0.ebuild new file mode 100644 index 000000000000..21da5abc9e8a --- /dev/null +++ b/dev-python/jupyter-events/jupyter-events-0.8.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Jupyter Event System library" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/jupyter_events/ + https://pypi.org/project/jupyter-events/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# jsonschema[format-nongpl] deps are always on in our ebuild +RDEPEND=" + >=dev-python/jsonschema-4.18.0[${PYTHON_USEDEP}] + >=dev-python/python-json-logger-2.0.4[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.3[${PYTHON_USEDEP}] + dev-python/referencing[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/click[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +# TODO: package jupyterlite-sphinx +# distutils_enable_sphinx docs +distutils_enable_tests pytest diff --git a/dev-python/jupyter-server/Manifest b/dev-python/jupyter-server/Manifest index c8b9b99e07ba..c70ce5c8c839 100644 --- a/dev-python/jupyter-server/Manifest +++ b/dev-python/jupyter-server/Manifest @@ -2,3 +2,4 @@ DIST jupyter_server-2.5.0.tar.gz 694029 BLAKE2B bea1082709653617c812124378e1e2a6 DIST jupyter_server-2.7.0.tar.gz 704548 BLAKE2B d328b3254143191627d3f743a2ceb1ef16216e04db714ee75bb7e0002c3cb238b8ec7c7f06599ebb1e9a0b000dcb00c7844bc2c894f450bdf3e99d209dbb9106 SHA512 e8d9ec3b65b25844fbd8e5353a6d1899c07d83ce446c70cae563652b35761d8cbba5d9f5dd52c390e8294dddd70710383e615a7ca07f5e6836ec69708496eb7c DIST jupyter_server-2.7.2.tar.gz 705360 BLAKE2B fc896756caccacba82a65dbaf68f2e2e3dac816e22360b0a24b495fb54958925b85b71be2fbd552654fd5d588739b42ad18495b4ff1df3ac7628fa6d7a970a98 SHA512 ea3b968a742c47e90451e4d701801895ec16304705d65d48609a803934a77143ccff21de697aef061c1e0b9829c122ace0d1d9bdd5889bebbb58a9e6cda35e1f DIST jupyter_server-2.7.3.tar.gz 705798 BLAKE2B d5655968f17b2a5536539858769124650f41985d5d99b782e70d99140a7e61820b913b525fc10041a56b6946ec4feb7e05015a10970786d024628e8c840fae94 SHA512 ad9be38208ef4196417561355a62889e34d657f3114b710f13f974f4b453b465b7d473ced46eba873ee980d631d2648e0d4b29267011ed444247a33325f959e9 +DIST jupyter_server-2.8.0.tar.gz 708394 BLAKE2B 2beaba510b0e841203c58316db8507c8c503fdeacfbe7de1287d1ecf0740334c02b430ad7111043e21da45669cc1bd13bb313b5cd45f999490fa07c9057b1bea SHA512 e2ec60994737a9979545aaba3de1f846eb68c809cb952bfba6ce22c061f1e644a712f4b7b069ebfc393e8dd7a7bf723b2c3530a7a1b103eb1dbf42a60a59e6e6 diff --git a/dev-python/jupyter-server/jupyter-server-2.8.0.ebuild b/dev-python/jupyter-server/jupyter-server-2.8.0.ebuild new file mode 100644 index 000000000000..c1c9214b69b1 --- /dev/null +++ b/dev-python/jupyter-server/jupyter-server-2.8.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core services, APIs, and REST endpoints to Jupyter web applications" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server/ + https://pypi.org/project/jupyter-server/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + >=dev-python/anyio-3.1.0[${PYTHON_USEDEP}] + dev-python/argon2-cffi[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + >=dev-python/jupyter-client-7.4.4[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1.0[${PYTHON_USEDEP}] + dev-python/jupyter-server-terminals[${PYTHON_USEDEP}] + >=dev-python/jupyter-events-0.6.0[${PYTHON_USEDEP}] + >=dev-python/nbconvert-6.4.4[${PYTHON_USEDEP}] + >=dev-python/nbformat-5.3.0[${PYTHON_USEDEP}] + dev-python/overrides[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/prometheus-client[${PYTHON_USEDEP}] + >=dev-python/pyzmq-24[${PYTHON_USEDEP}] + >=dev-python/send2trash-1.8.2[${PYTHON_USEDEP}] + >=dev-python/terminado-0.8.3[${PYTHON_USEDEP}] + >=dev-python/tornado-6.2[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.6.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] + +" +BDEPEND=" + test? ( + dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-console-scripts[${PYTHON_USEDEP}] + dev-python/pytest-jupyter[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-tornasync[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # This fails if your terminal is zsh (and maybe other non-bash as well?) + tests/test_terminal.py + # Fails because above is ignored + tests/auth/test_authorizer.py + # Fails with additional extensions installed + tests/extension/test_app.py::test_stop_extension +) + +PATCHES=( + "${FILESDIR}/${PN}-2.0.1-skip-npm.patch" +) + +python_test() { + # FIXME: tests seem to be affected by previously installed version + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest \ + -p pytest_tornasync.plugin \ + -p jupyter_server.pytest_plugin \ + -p pytest_console_scripts \ + -p pytest_timeout +} diff --git a/dev-python/psutil/Manifest b/dev-python/psutil/Manifest index 583286a3a254..c3a41d0d1196 100644 --- a/dev-python/psutil/Manifest +++ b/dev-python/psutil/Manifest @@ -1,2 +1,4 @@ DIST psutil-5.9.5-tests-r2.patch.xz 3776 BLAKE2B ba67e50d22c0ff05c3d31d5bcc1eb91fce59d2f933bf8693382aecdd9f20f2a4c4c3b759a3c03ff069b87241ab9f84905ad3b1c5f03eb5f3a2b12ed8ad967cf6 SHA512 6b20c6c78f772af767abee887a426b83129e3a13bb1cc13fa0111ad4dbd0a2a22ccc986af86b80d766bdf2a93a3a234327c6b56637b554164d9b0b0bac535fb9 DIST psutil-5.9.5.tar.gz 493489 BLAKE2B 3db8ce374d9d81dcddc08f03418675318c5e447f9a3347154d025537ba090811926ced822f83ff5fc9239665b091803a30d167465495049569c3c820f7fbb32d SHA512 2afe1bad5359aeac90378faaa609bab855dfcaa58519c939fdadb02e6e2c8157c77f961ac0f90d104626cef3429e1ea2f686e4dc4c9dccf975e3e73e9b08872c +DIST psutil-5.9.6-tests.patch.xz 3780 BLAKE2B 002858235e7abf17c1426558cd9f8356cc7f21898f4488409e1cc4c6d76d6a017b8ca9e005e9973cfa890ff461691f5c0225e7c850ee4fde55cb1335d4ceca29 SHA512 1bd544ecd19ce7ff9a5e9f6e747b3f88ba44aabc289af87e3a1204028ebc26373dcdef9a9c5bd6ae13bc8d8d7d43ade41a8be2b14a02925afde1298ca0f9e6be +DIST psutil-5.9.6.tar.gz 496866 BLAKE2B 65bd35ff6bcc2cfcb5f75f732a5a6955cb1fb5d889a5827aa2da27268716b10aa1dea23a87ee25aafc54e035927216501ecb98e56c655bfada57616a0d67e189 SHA512 0c363bf998868e450f014d5c5ddc2448986cafcd21309571e067be1c4b49d0e78259a5388094cbf32af7bca12865c5f3692480737f0a5225bbcfb895a9bf81f6 diff --git a/dev-python/psutil/psutil-5.9.6.ebuild b/dev-python/psutil/psutil-5.9.6.ebuild new file mode 100644 index 000000000000..dded1b233ba5 --- /dev/null +++ b/dev-python/psutil/psutil-5.9.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-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_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +TEST_PATCH=psutil-5.9.6-tests.patch +DESCRIPTION="Retrieve information on running processes and system utilization" +HOMEPAGE=" + https://github.com/giampaolo/psutil/ + https://pypi.org/project/psutil/ +" +SRC_URI+=" + https://dev.gentoo.org/~mgorny/dist/${TEST_PATCH}.xz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${WORKDIR}/${TEST_PATCH}" +) + +python_test() { + # Since we are running in an environment a bit similar to CI, + # let's skip the tests that are disabled for CI + local -x TRAVIS=1 + local -x APPVEYOR=1 + local -x GITHUB_ACTIONS=1 + local -x GENTOO_TESTING=1 + "${EPYTHON}" psutil/tests/runner.py || + die "tests failed with ${EPYTHON}" +} + +python_compile() { + # Force -j1 to avoid .o linking race conditions + local MAKEOPTS=-j1 + distutils-r1_python_compile +} diff --git a/dev-python/pydevd/Manifest b/dev-python/pydevd/Manifest index aae4c501a8cd..cf94d827df04 100644 --- a/dev-python/pydevd/Manifest +++ b/dev-python/pydevd/Manifest @@ -1 +1,2 @@ +DIST PyDev.Debugger-pydev_debugger_2_10_0.gh.tar.gz 4019265 BLAKE2B e72c96576588ac3cbfcdd71a1a8e96d41b9d6757b3468c372b45a9c91a887c693f7309467fe8ea27d29c4775cc8df9ebd610b015cecabaaea43c8aa75229bc25 SHA512 a475e4f4cd9f883307d30b0bb2ebd5095de426b52f0f70b1a557095c06241149ad105ca4cbb31d311fa54e4387bbed27e5cf2712ba7447b19720d46dac21a101 DIST pydevd-2.9.5.gh.tar.gz 3982897 BLAKE2B 06f0712301b419c472bcef2443a2ed277eb477041ff2e40e41b57f61649d84a7559dcae82c30ac572b14e90b98c2b9b9542c7360deded087eec92aeb0372ad67 SHA512 9aa38bc9a238e6f2956883a6318536382726013ea9e4a9d902b36d60df0cf924c279545bcdf92afdb435bfe36598982edd5805725860798fb3970b105254ba1d diff --git a/dev-python/pydevd/pydevd-2.10.0.ebuild b/dev-python/pydevd/pydevd-2.10.0.ebuild new file mode 100644 index 000000000000..76e87580cff2 --- /dev/null +++ b/dev-python/pydevd/pydevd-2.10.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-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_{8,9,10,11} ) + +inherit distutils-r1 multiprocessing toolchain-funcs + +TAG="pydev_debugger_${PV//./_}" +MY_P="PyDev.Debugger-${TAG}" +DESCRIPTION="PyDev.Debugger (used in PyDev, PyCharm and VSCode Python)" +HOMEPAGE=" + https://github.com/fabioz/PyDev.Debugger/ + https://pypi.org/project/pydevd/ +" +SRC_URI=" + https://github.com/fabioz/PyDev.Debugger/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + sys-devel/gdb +" +BDEPEND=" + test? ( + dev-python/untangle[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # Drop -O3 and -flto compiler args + sed -i \ + -e 's/extra_link_args = extra_compile_args\[\:\]/pass/g' \ + -e '/extra_compile_args/d' \ + setup.py || die + + # Disable tests incompatible with new package versions + sed -e '/TEST_\(DJANGO\|FLASK\)/s:True:False:' \ + -i tests_python/debug_constants.py || die + + # Clean up some prebuilt files + rm -r third_party || die + cd pydevd_attach_to_process || die + + # Remove these Windows files + rm attach_{amd64,x86}.dll || die + rm inject_dll_{amd64,x86}.exe || die + rm run_code_on_dllmain_{amd64,x86}.dll || die + rm -r windows winappdbg || die + + # Remove these MacOS files + rm attach_x86_64.dylib || die + + # Remove these prebuilt linux files + rm attach_linux_{amd64,x86}.so || die + + cd linux_and_mac || die + rm compile_mac.sh || die +} + +src_compile() { + pushd pydevd_attach_to_process/linux_and_mac || die + # recompile removed file (extracted from compile_linux.sh) + $(tc-getBUILD_CXX) ${CXXFLAGS} ${CPPFLAGS} \ + -o "../attach_linux_${ARCH}.so" \ + ${LDFLAGS} -nostartfiles attach.cpp -ldl || die + popd || die + + distutils-r1_src_compile + + rm -r _pydevd_bundle || die +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + # NB: upstream seems to run tests via runfiles.py but that script + # is a horror and it seems broken for us anyway + tests_python/test_debugger.py::test_attach_to_pid_halted + tests_python/test_debugger.py::test_attach_to_pid_no_threads + 'tests_python/test_debugger.py::test_path_translation[False]' + tests_python/test_debugger.py::test_remote_debugger_threads + tests_python/test_debugger_json.py::test_attach_to_pid + tests_python/test_debugger_json.py::test_evaluate_exception_trace + tests_python/test_debugger_json.py::test_gui_event_loop_custom + tests_python/test_debugger_json.py::test_path_translation_and_source_reference + tests_python/test_utilities.py::test_tracing_basic + tests_python/test_utilities.py::test_tracing_other_threads + # incompatible version? + tests_python/test_debugger_json.py::test_pandas + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # this is only used to compare against getpid() to detect that xdist + # is being used + local -x PYDEV_MAIN_PID=1 + epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} + +python_install_all() { + distutils-r1_python_install_all + # Remove this duplicate that is installed directly to /usr/ + # These files are also correctly installed to the python site-packages dir + rm -r "${ED}/usr/pydevd_attach_to_process" || die +} diff --git a/dev-python/rawkit/rawkit-0.6.0.ebuild b/dev-python/rawkit/rawkit-0.6.0-r1.ebuild index c8541ea2b3da..6b49c06120b1 100644 --- a/dev-python/rawkit/rawkit-0.6.0.ebuild +++ b/dev-python/rawkit/rawkit-0.6.0-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11} ) DISTUTILS_USE_SETUPTOOLS=bdepend diff --git a/dev-python/requests-unixsocket/.audit b/dev-python/requests-unixsocket/.audit deleted file mode 100644 index 0c78f22ca7a8..000000000000 --- a/dev-python/requests-unixsocket/.audit +++ /dev/null @@ -1 +0,0 @@ -FL-4281. dependency for pylxd, not present in gentoo portage tree. diff --git a/dev-python/requests-unixsocket/Manifest b/dev-python/requests-unixsocket/Manifest index bf4f576cc087..55e09370ea47 100644 --- a/dev-python/requests-unixsocket/Manifest +++ b/dev-python/requests-unixsocket/Manifest @@ -1,2 +1 @@ -DIST requests-unixsocket-0.2.0.tar.gz 13303 BLAKE2B cda02b5d963b00fb06cf86819bcbf552ecc21e30064198da338f502f47547a1f93184fd06052047c6cb8a6181f0a2f7b7a7cc53183b18dc22165a41dc14144b5 SHA512 a670f136ff1d8fb427cd017d92d388fd48a8a853d50aaa6eed685f3b453e28c6dbf5a710d7394face3eec42f8bdd84f798c7c4c82dab7b53d7a8c229ade52405 DIST requests-unixsocket-0.3.0.tar.gz 14478 BLAKE2B 5b46ea051729326498f50ba7a952429d271deb102060f8e3019d259ddc21dbffdca8960e140c7ccb25898034cf37fb90dd143c970e75bdc6e6442e9515f14d6e SHA512 21c887b0c3fa526a2debb3960e0ea4dc3b3015cdd517459b6484501176321408d1b4c87dd2840c7d8b71d08fa9114f655ae03f8bc9ff1fca33c914900ef82f5b diff --git a/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch new file mode 100644 index 000000000000..3cbcd2dd59d3 --- /dev/null +++ b/dev-python/requests-unixsocket/files/requests-unixsocket-0.3.0-urllib3-2.patch @@ -0,0 +1,45 @@ +From 5a614f60e7b3639758a6b77691b4e0c0d6827e94 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Martin=20Roukala=20=28n=C3=A9=20Peres=29?= + <martin.roukala@mupuf.org> +Date: Fri, 5 May 2023 09:23:41 +0300 +Subject: [PATCH] Inherit HTTPConnection through urllib3.connection, not + httplib + +By inheriting from `urllib3.connection.HTTPConnection` (that inherits +from `httplib.HTTPConnection` itself), we can adapt to the internal +changes in urllib3 2.0 that added a `request()` method that is +incompatible with httplib.HTTPConnection.request. + +This fixes the incompatibility between urllib3 2.0 and requests 1.26+, +which was the first version that stopped vendoring urllib3. + +Reference: https://github.com/docker/docker-py/issues/3113#issuecomment-1531570788 +--- + requests_unixsocket/adapters.py | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/requests_unixsocket/adapters.py b/requests_unixsocket/adapters.py +index 83e1400..513c243 100644 +--- a/requests_unixsocket/adapters.py ++++ b/requests_unixsocket/adapters.py +@@ -3,11 +3,6 @@ + from requests.adapters import HTTPAdapter + from requests.compat import urlparse, unquote + +-try: +- import http.client as httplib +-except ImportError: +- import httplib +- + try: + from requests.packages import urllib3 + except ImportError: +@@ -16,7 +11,7 @@ + + # The following was adapted from some code from docker-py + # https://github.com/docker/docker-py/blob/master/docker/transport/unixconn.py +-class UnixHTTPConnection(httplib.HTTPConnection, object): ++class UnixHTTPConnection(urllib3.connection.HTTPConnection, object): + + def __init__(self, unix_socket_url, timeout=60): + """Create an HTTP connection to a unix domain socket diff --git a/dev-python/requests-unixsocket/metadata.xml b/dev-python/requests-unixsocket/metadata.xml index 36acccda7221..a0d4c5913ba0 100644 --- a/dev-python/requests-unixsocket/metadata.xml +++ b/dev-python/requests-unixsocket/metadata.xml @@ -2,9 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="project"> - <email>dev@liguros.net</email> - <name>Development</name> + <email>python@gentoo.org</email> </maintainer> - <origin>ports</origin> + <origin>gentoo-staging</origin> + <stabilize-allarches/> </pkgmetadata>
\ No newline at end of file diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild b/dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild deleted file mode 100644 index 11a0dc384bae..000000000000 --- a/dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2020-2021 by Liguros authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Use requests to talk HTTP via a UNIX domain socket" -HOMEPAGE="https://pypi.python.org/pypi/requests-unixsocket https://github.com/msabramo/requests-unixsocket" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="" -DEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] -" diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild new file mode 100644 index 000000000000..14f69bce7cc3 --- /dev/null +++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r4.ebuild @@ -0,0 +1,38 @@ +# Copyright 2020-2023 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=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Use requests to talk HTTP via a UNIX domain socket" +HOMEPAGE=" + https://github.com/msabramo/requests-unixsocket/ + https://pypi.org/project/requests-unixsocket/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + test? ( + dev-python/waitress[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # https://github.com/msabramo/requests-unixsocket/pull/69 + "${FILESDIR}/${P}-urllib3-2.patch" +) + +distutils_enable_tests pytest diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild deleted file mode 100644 index 3d01c69394d3..000000000000 --- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2020-2021 by Liguros authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="Use requests to talk HTTP via a UNIX domain socket" -HOMEPAGE="https://pypi.python.org/pypi/requests-unixsocket https://github.com/msabramo/requests-unixsocket" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="" - -RDEPEND="" -DEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] -" diff --git a/dev-python/scrypt/Manifest b/dev-python/scrypt/Manifest index 86a9482a3f2b..9e8be69b34ff 100644 --- a/dev-python/scrypt/Manifest +++ b/dev-python/scrypt/Manifest @@ -1,2 +1,2 @@ -DIST scrypt-0.8.19.tar.gz 54770 BLAKE2B cf4cc0343f661466394a012ecba61b85431ed4c4552d976ebe1e435d9b97a29ad584e5ab1e01d2387c61562cdbb5cdfacfc5da0b3e70ea0570221e85c31139b3 SHA512 26503aa5c06b4c47a25f7a8c1b4c9a81986ffef5816f11851b2db755b13eed11c0fade9e00942b389204089547718de05db540da91196c3a37ce219ff1a601f8 +DIST scrypt-0.8.19.tar.gz 66655 BLAKE2B b3216e4c5d0deaf72ddc5ea264018878812b1bfcf978d88ebf94e7931de08d2462a06f01cb3eadce8f15377fbc0afc3909c031df5da8d8a27828fd61352bf063 SHA512 a207675cfc368ed0f333af9ec6159397c2455aab58a781869d3b7ff8226ce3214465f5373b9ae21bb7b53266da651321c3d0b4618516524fd58f72c660674e15 DIST scrypt-0.8.20.tar.gz 55874 BLAKE2B b31c7dcec735944f6162709ba6ceb90160b3c9c403121a47e62563f8d2fc50f0505f180d7c18fa2c8e9037a097ca3bffea4c54c1f3b6861004f65a189a20b576 SHA512 da8d34755d4b6c98dc57ff7baf17839cf2434a6d7eb9f6fdc69b3e458d41b4fc49f7fd3a5631318b82bc4b2e46dedb806035897bf1be5a4670b4120f6b46efbc diff --git a/dev-python/scrypt/scrypt-0.8.19.ebuild b/dev-python/scrypt/scrypt-0.8.19-r1.ebuild index eb7f149c35e5..f1375ee110b6 100644 --- a/dev-python/scrypt/scrypt-0.8.19.ebuild +++ b/dev-python/scrypt/scrypt-0.8.19-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) +PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit distutils-r1 DESCRIPTION="Bindings for the scrypt key derivation function library" HOMEPAGE="https://github.com/holgern/py-scrypt/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/holgern/py-scrypt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos" diff --git a/dev-python/scrypt/scrypt-0.8.20.ebuild b/dev-python/scrypt/scrypt-0.8.20-r1.ebuild index ff1c9e5fa3c4..f1375ee110b6 100644 --- a/dev-python/scrypt/scrypt-0.8.20.ebuild +++ b/dev-python/scrypt/scrypt-0.8.20-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 2021-2022 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) +PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit distutils-r1 DESCRIPTION="Bindings for the scrypt key derivation function library" HOMEPAGE="https://github.com/holgern/py-scrypt/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/holgern/py-scrypt/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~x64-macos" diff --git a/dev-python/sounddevice/Manifest b/dev-python/sounddevice/Manifest index 48098c76ce49..46e11c550a45 100644 --- a/dev-python/sounddevice/Manifest +++ b/dev-python/sounddevice/Manifest @@ -1,2 +1,2 @@ -DIST sounddevice-0.4.5.tar.gz 51403 BLAKE2B 2288faa23280fd0a82fb239eac632e8a3e681ad9f681f7508312bad8be64b57a86de8e7384f168e362ae7c39a118fe9aeeaf40d16502b5aee3d25c7d1df48cfb SHA512 3343a1df57fadbfa1182171b3449ff513a6aab635aff2d6eafda505dd7bb5336f27d9931c87d947be9cba8ace9b3f9a9e9284e2f1b7023ff020ec9ea2e93123f +DIST sounddevice-0.4.5.tar.gz 51796 BLAKE2B 4be76ab22551e542965c15ac054c07c62efada19d0831e03ff3185e89941a44cbf06c783cb4a6d480297370338f85c8988ae1ff9c25a49a0c03b2526fadbd825 SHA512 6a6e17db31ba6088cda86721636b55222f4d6bcbc4ca23db85d092c79ad7e47624f6bd375b28a2daf905f500c79e1202c1f038c6a12c6a32c130c0332e2c0e29 DIST sounddevice-0.4.6.tar.gz 51300 BLAKE2B 27d8d0414f3fffa7aedc69a9795a905ab753829d7ea5f7a6baa34f32e0e8e015bd053aa7cbd56423083feb3481ad3843ff7e3da473635a6a742081a3ef765b1b SHA512 aaef01219d41b578c0dc11dc98891a896c674d87b13fb7e6a886d48a44c02646cd6ef4eadfa50f70957335adb39252c9edced5feaff3090a38db8ea8a7154df4 diff --git a/dev-python/sounddevice/sounddevice-0.4.6.ebuild b/dev-python/sounddevice/sounddevice-0.4.5-r1.ebuild index 7ed022b906aa..043b7cae3dbe 100644 --- a/dev-python/sounddevice/sounddevice-0.4.6.ebuild +++ b/dev-python/sounddevice/sounddevice-0.4.5-r1.ebuild @@ -6,8 +6,8 @@ PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit distutils-r1 DESCRIPTION="Python bindings for PortAudio" -HOMEPAGE="https://github.com/spatialaudio/python-sounddevice/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE="https://github.com/spatialaudio/python-sounddevice/ https://pypi.org/project/sounddevice/" +SRC_URI="https://github.com/spatialaudio/python-sounddevice/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/sounddevice/sounddevice-0.4.5.ebuild b/dev-python/sounddevice/sounddevice-0.4.6-r1.ebuild index 495fd34cd603..043b7cae3dbe 100644 --- a/dev-python/sounddevice/sounddevice-0.4.5.ebuild +++ b/dev-python/sounddevice/sounddevice-0.4.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,8 +6,8 @@ PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit distutils-r1 DESCRIPTION="Python bindings for PortAudio" -HOMEPAGE="https://github.com/spatialaudio/python-sounddevice/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE="https://github.com/spatialaudio/python-sounddevice/ https://pypi.org/project/sounddevice/" +SRC_URI="https://github.com/spatialaudio/python-sounddevice/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" diff --git a/dev-python/urwid_readline/Manifest b/dev-python/urwid_readline/Manifest index 7f31b2c4badf..be0625249d59 100644 --- a/dev-python/urwid_readline/Manifest +++ b/dev-python/urwid_readline/Manifest @@ -1 +1 @@ -DIST urwid_readline-0.13.tar.gz 7893 BLAKE2B 7ca70ddbf87ca207ff7dd69d1f5236bd232aea82020d19d173f4e264096e318492075246852713e3a4594816889fd0c7edd43e9d643feb25782646c228deb40a SHA512 4801e34fc2c549db3ffbe0f125bf6322d692394921ef3d952b1f57ddd671b01c22d9e037f4a0e207ed4e30385b0a1334b8fa6b111aad779d8a1f0b2ddab5115f +DIST urwid_readline-0.13.tar.gz 8356 BLAKE2B 3de62c98fb2a17ce91c023c32d1bcbfaa8a6280bbb20b654bac65d37c02eec2d87f0bceace600cbe934352efb984073b1fa29b626cb3bb4a114660d646f41eb0 SHA512 49087b2b0e47d6adba317941b6be99d7d61fd66ae28fa2ed89730c24cc04b8fa4ce20cb8eb35ebab56f838491432684bb8892463439dcd5d06d087b509182d3d diff --git a/dev-python/urwid_readline/urwid_readline-0.13.ebuild b/dev-python/urwid_readline/urwid_readline-0.13-r1.ebuild index 0c96fb7936f1..74f0287e3e4e 100644 --- a/dev-python/urwid_readline/urwid_readline-0.13.ebuild +++ b/dev-python/urwid_readline/urwid_readline-0.13-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 2021 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8,9,10,11} ) PYTHON_REQ_USE="ncurses" @@ -9,7 +9,7 @@ inherit distutils-r1 DESCRIPTION="Text input widget for urwid that supports readline shortcuts." HOMEPAGE="https://pypi.org/project/urwid-readline/ https://github.com/rr-/urwid_readline" -SRC_URI="https://files.pythonhosted.org/packages/ab/bb/c5b3fec22268d97ad30232f5533d4a5939d4df7ed3917a8d20d447f1d0a7/urwid_readline-0.13.tar.gz" +SRC_URI="https://github.com/rr-/urwid_readline/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest index 9cca20533dbc..785b7de59981 100644 --- a/dev-python/xlsxwriter/Manifest +++ b/dev-python/xlsxwriter/Manifest @@ -1 +1,2 @@ DIST XlsxWriter-RELEASE_3.1.7.gh.tar.gz 37369556 BLAKE2B e7eefd4fac6a791f917e19fd5559ac1fef436a0b304a1db9d436e21a2fc412b73de94a2a05a81acec5e297a07a11bdc953774947ec196fe666beb2ce85a2a21a SHA512 fd144eebbcb04e914aff1c2980353f0ddb88ef7841c70d1681561c86d925a201000931dba18bc15965fdb195bf3b2ea959b7c1ba21be8d1c7c6ed678c90c0fc7 +DIST XlsxWriter-RELEASE_3.1.8.gh.tar.gz 37375781 BLAKE2B 152546520391e3900cf00482b9008acc59051dc1a3c459f0d520d30101eeff3e8c999138738cc3fdfb054688f181f8326aae09642d01537f6383f14c34e55c6d SHA512 5d9c101d488d35ec57848bc9c96f397090340f039fb0b291dadb547fe933fecb3e7975d9ebf5b22f1dc4c0276c1357fa381db45bc2e77c223c71483c1db2a66a diff --git a/dev-python/xlsxwriter/xlsxwriter-3.1.8.ebuild b/dev-python/xlsxwriter/xlsxwriter-3.1.8.ebuild new file mode 100644 index 000000000000..476cb87e9096 --- /dev/null +++ b/dev-python/xlsxwriter/xlsxwriter-3.1.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} pypy3 ) + +inherit distutils-r1 + +TAG=RELEASE_${PV} +MY_P=XlsxWriter-${TAG} +DESCRIPTION="Python module for creating Excel XLSX files" +HOMEPAGE=" + https://github.com/jmcnamara/XlsxWriter/ + https://pypi.org/project/XlsxWriter/ +" +SRC_URI=" + https://github.com/jmcnamara/XlsxWriter/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/zulip-api/zulip-api-0.8.2-r1.ebuild b/dev-python/zulip-api/zulip-api-0.8.2-r2.ebuild index 0a332ede84a2..9a18f0865ed6 100644 --- a/dev-python/zulip-api/zulip-api-0.8.2-r1.ebuild +++ b/dev-python/zulip-api/zulip-api-0.8.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Liguros Authors +# Copyright 2021-2023 Liguros Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ inherit distutils-r1 DESCRIPTION="Zulip's PyPI packages" HOMEPAGE="https://pypi.org/project/zulip/ https://github.com/zulip/python-zulip-api" -SRC_URI="https://github.com/zulip/python-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/zulip/python-zulip-api/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" |
