From a210dbecf692b0ca24a4625a5292a4ea105280fe Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Thu, 16 Nov 2023 18:35:37 +0000 Subject: Adding metadata --- dev-python/a2wsgi/a2wsgi-1.8.0.ebuild | 2 +- dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild | 2 +- dev-python/astroid/astroid-3.0.1.ebuild | 2 +- dev-python/asttokens/asttokens-2.4.1.ebuild | 17 +++- dev-python/comm/comm-0.2.0.ebuild | 2 +- dev-python/dominate/Manifest | 1 + dev-python/dominate/dominate-2.9.0.ebuild | 21 +++++ dev-python/executing/executing-2.0.1.ebuild | 17 +++- dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.89.0.ebuild | 90 ++++++++++++++++++++++ dev-python/jedi/jedi-0.19.1.ebuild | 13 +++- .../jupyter-events/jupyter-events-0.9.0.ebuild | 2 +- dev-python/kurbopy/Manifest | 3 + dev-python/kurbopy/kurbopy-0.10.40.ebuild | 64 +++++++++++++++ dev-python/littleutils/littleutils-0.2.2-r1.ebuild | 2 +- dev-python/lxml/lxml-4.9.3-r2.ebuild | 2 +- dev-python/mautrix/Manifest | 2 +- dev-python/mautrix/mautrix-0.20.1.ebuild | 39 ---------- dev-python/mautrix/mautrix-0.20.3.ebuild | 39 ++++++++++ dev-python/minio/Manifest | 2 +- dev-python/minio/minio-7.1.16.ebuild | 23 ------ dev-python/minio/minio-7.2.0.ebuild | 23 ++++++ dev-python/nest-asyncio/nest-asyncio-1.5.8.ebuild | 2 +- dev-python/pdm-backend/pdm-backend-2.1.7.ebuild | 2 +- dev-python/pdm/Manifest | 1 + dev-python/pdm/pdm-2.10.3.ebuild | 79 +++++++++++++++++++ .../prompt-toolkit/prompt-toolkit-3.0.41.ebuild | 2 +- dev-python/pure-eval/Manifest | 1 + dev-python/pure-eval/metadata.xml | 10 +++ dev-python/pure-eval/pure-eval-0.2.2.ebuild | 37 +++++++++ dev-python/pure_eval/Manifest | 1 - dev-python/pure_eval/metadata.xml | 10 --- dev-python/pure_eval/pure_eval-0.2.2.ebuild | 19 ----- .../pytest-console-scripts-1.4.1.ebuild | 2 +- dev-python/python-efl/Manifest | 1 - dev-python/python-efl/python-efl-1.26.0.ebuild | 79 ------------------- dev-python/python-neutronclient/Manifest | 1 + .../python-neutronclient-11.1.0.ebuild | 78 +++++++++++++++++++ dev-python/pyzmq/pyzmq-25.1.1.ebuild | 48 ++++++------ dev-python/stack-data/stack-data-0.6.3.ebuild | 4 +- dev-python/svgelements/Manifest | 1 + dev-python/svgelements/svgelements-1.9.6.ebuild | 43 +++++++++++ dev-python/symengine/Manifest | 1 + dev-python/symengine/symengine-0.11.0.ebuild | 53 +++++++++++++ dev-python/traitlets/traitlets-5.13.0.ebuild | 2 +- dev-python/tulir-telethon/Manifest | 2 +- .../tulir-telethon-1.30.0_alpha2.ebuild | 41 ---------- .../tulir-telethon-1.32.0_alpha3.ebuild | 41 ++++++++++ dev-python/typeguard/typeguard-4.1.5.ebuild | 2 +- dev-python/types-protobuf/Manifest | 3 +- .../types-protobuf/types-protobuf-4.24.0.1.ebuild | 18 ----- .../types-protobuf/types-protobuf-4.24.0.2.ebuild | 18 ----- .../types-protobuf/types-protobuf-4.24.0.4.ebuild | 18 +++++ dev-python/types-requests/Manifest | 2 +- .../types-requests/types-requests-2.31.0.10.ebuild | 23 ++++++ .../types-requests/types-requests-2.31.0.8.ebuild | 23 ------ dev-python/uvloop/uvloop-0.19.0.ebuild | 2 +- dev-python/webrtcvad/Manifest | 1 + dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild | 27 +++++++ dev-python/webrtcvad/webrtcvad-2.0.10.ebuild | 27 ------- dev-python/zope-testrunner/Manifest | 2 +- .../zope-testrunner/zope-testrunner-6.0.ebuild | 53 ------------- .../zope-testrunner/zope-testrunner-6.2.ebuild | 53 +++++++++++++ 63 files changed, 800 insertions(+), 402 deletions(-) create mode 100644 dev-python/dominate/dominate-2.9.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.89.0.ebuild create mode 100644 dev-python/kurbopy/kurbopy-0.10.40.ebuild delete mode 100644 dev-python/mautrix/mautrix-0.20.1.ebuild create mode 100644 dev-python/mautrix/mautrix-0.20.3.ebuild delete mode 100644 dev-python/minio/minio-7.1.16.ebuild create mode 100644 dev-python/minio/minio-7.2.0.ebuild create mode 100644 dev-python/pdm/pdm-2.10.3.ebuild create mode 100644 dev-python/pure-eval/Manifest create mode 100644 dev-python/pure-eval/metadata.xml create mode 100644 dev-python/pure-eval/pure-eval-0.2.2.ebuild delete mode 100644 dev-python/pure_eval/Manifest delete mode 100644 dev-python/pure_eval/metadata.xml delete mode 100644 dev-python/pure_eval/pure_eval-0.2.2.ebuild delete mode 100644 dev-python/python-efl/python-efl-1.26.0.ebuild create mode 100644 dev-python/python-neutronclient/python-neutronclient-11.1.0.ebuild create mode 100644 dev-python/svgelements/svgelements-1.9.6.ebuild create mode 100644 dev-python/symengine/symengine-0.11.0.ebuild delete mode 100644 dev-python/tulir-telethon/tulir-telethon-1.30.0_alpha2.ebuild create mode 100644 dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha3.ebuild delete mode 100644 dev-python/types-protobuf/types-protobuf-4.24.0.1.ebuild delete mode 100644 dev-python/types-protobuf/types-protobuf-4.24.0.2.ebuild create mode 100644 dev-python/types-protobuf/types-protobuf-4.24.0.4.ebuild create mode 100644 dev-python/types-requests/types-requests-2.31.0.10.ebuild delete mode 100644 dev-python/types-requests/types-requests-2.31.0.8.ebuild create mode 100644 dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild delete mode 100644 dev-python/webrtcvad/webrtcvad-2.0.10.ebuild delete mode 100644 dev-python/zope-testrunner/zope-testrunner-6.0.ebuild create mode 100644 dev-python/zope-testrunner/zope-testrunner-6.2.ebuild (limited to 'dev-python') diff --git a/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild b/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild index 2c21b1d26874..2633f62f65d0 100644 --- a/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild +++ b/dev-python/a2wsgi/a2wsgi-1.8.0.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 arm ~arm64 hppa ~loong ~ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild b/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild index 8850e015d5f7..1e6368adbbaf 100644 --- a/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild +++ b/dev-python/aiohttp/aiohttp-3.8.6-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" IUSE="test-rust" RDEPEND=" diff --git a/dev-python/astroid/astroid-3.0.1.ebuild b/dev-python/astroid/astroid-3.0.1.ebuild index d42255464e34..9e775bdfd728 100644 --- a/dev-python/astroid/astroid-3.0.1.ebuild +++ b/dev-python/astroid/astroid-3.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/asttokens/asttokens-2.4.1.ebuild b/dev-python/asttokens/asttokens-2.4.1.ebuild index 0b8b90a0edaa..518ab0d33dfa 100644 --- a/dev-python/asttokens/asttokens-2.4.1.ebuild +++ b/dev-python/asttokens/asttokens-2.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 @@ -35,3 +35,18 @@ BDEPEND=" distutils_enable_tests pytest export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # already skipped in git + tests/test_tokenless.py::TestFstringPositionsWork::test_fstring_positions_work + ) + ;; + esac + + epytest +} diff --git a/dev-python/comm/comm-0.2.0.ebuild b/dev-python/comm/comm-0.2.0.ebuild index 2e91d33fb6d9..64c8052820de 100644 --- a/dev-python/comm/comm-0.2.0.ebuild +++ b/dev-python/comm/comm-0.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 diff --git a/dev-python/dominate/Manifest b/dev-python/dominate/Manifest index bfe88a494e08..cc3dbea7d591 100644 --- a/dev-python/dominate/Manifest +++ b/dev-python/dominate/Manifest @@ -1 +1,2 @@ DIST dominate-2.8.0.tar.gz 37089 BLAKE2B 651ff9ee21c4f5331ef990acfead146f816fc45309740220f68714c3accf7b98661a31400fe050c6b2119525749e9a132f8764d60b72661f7abf5246ebdb5835 SHA512 91b392af8e081dcf0df9f09aabe2cb4d8147bb07a398c5f9f06443fc2664d881afa372c8d4d0583b21e9f9bf687d1d14601e96a33a8ae6e099e1e039821f97df +DIST dominate-2.9.0.tar.gz 36289 BLAKE2B 8cc2ee67b027d4f1466ace7d39b47a330c87f5f0396b3bfe6a4b7ec3baff8e4e89d3f2cb7c6aa036aacd67743966508e50cdc289412781830f27878a614914ba SHA512 aec4f67bdc1ee0df9f0ed3fec5e41fca044d930d69bd7c508420d8b06d4f21f5d5fc9ec867cea68bd82723cac7b4df645748592dc4ded9213ec60f5bb6a6f421 diff --git a/dev-python/dominate/dominate-2.9.0.ebuild b/dev-python/dominate/dominate-2.9.0.ebuild new file mode 100644 index 000000000000..7d9cb3e8c7cd --- /dev/null +++ b/dev-python/dominate/dominate-2.9.0.ebuild @@ -0,0 +1,21 @@ +# 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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Library for creating and manipulating HTML documents using an elegant DOM API" +HOMEPAGE=" + https://github.com/Knio/dominate/ + https://pypi.org/project/dominate/ +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/executing/executing-2.0.1.ebuild b/dev-python/executing/executing-2.0.1.ebuild index dfec6c170126..e410c843e145 100644 --- a/dev-python/executing/executing-2.0.1.ebuild +++ b/dev-python/executing/executing-2.0.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 optfeature @@ -26,13 +26,14 @@ BDEPEND=" dev-python/setuptools-scm[${PYTHON_USEDEP}] test? ( >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] - dev-python/ipython[${PYTHON_USEDEP}] dev-python/littleutils[${PYTHON_USEDEP}] dev-python/rich[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/${PN}-2.0.1-additional-slow-tests.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-2.0.1-additional-slow-tests.patch" +) distutils_enable_tests pytest @@ -41,6 +42,11 @@ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { local EPYTEST_DESELECT=() case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + "tests/test_main.py::test_small_samples[46597f8f896f11c5d7f432236344cc7e5645c2a39836eb6abdd2437c0422f0f4.py]" + ) + ;; python3.10) EPYTEST_DESELECT+=( # crashes with infinite recursion (?) @@ -48,6 +54,11 @@ python_test() { ) ;; esac + if ! has_version "dev-python/ipython[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_ipython.py + ) + fi local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 8ff376334122..bbdbdf476767 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,3 +1,4 @@ DIST hypothesis-6.88.1.gh.tar.gz 9391389 BLAKE2B 0d258ff3e662bdef1c8321119c49ae4a8f1191edb316ab6262023c7da667f553b94386c28fcc40bfe06d545ae33a28b907750d4caaee8be7614a1ad578370f25 SHA512 e9376aaacd5cf405f0a28b9a9e63fc1d83506ad286579e1ae2165006cd87af1aefac68e34dd5164159f86bffa3f1da29ce86fc3254dcb11183d653b71377c41d DIST hypothesis-6.88.3.gh.tar.gz 9391730 BLAKE2B 439b5d4aca9f8163bebb7b0ba632fc1d7eb49a61e656c3849287b700bb92c5aea02a30d816029152243c03050e67351a8a6c4dd87ed6eaadd5a81f5a72c8c139 SHA512 780a83928ffdc976c581df43874a1d1e4ec82d9c27f6bc151e5a4103dd9e4d18de0609af8964136cc041ebec258b1fd2c6438b66636e9cd8e7f81a88381bf5ce DIST hypothesis-6.88.4.gh.tar.gz 9392092 BLAKE2B d33e764fc02111f37efa678927d48f1de7097156c401ab85c7a3fc16f22ff3582bfaec8fef60e010d9a9953bcdbbd8f212b5a7765a7967b93d6dd4bb1d6e5915 SHA512 420dd525abb56dad8983b16767cb4d7f4b411ee68439e2317d7be5582fcf9a8735929b4746bbfc37b286d389dcd36c38da797466bd6c4c555d108a56b30511ad +DIST hypothesis-6.89.0.gh.tar.gz 9393601 BLAKE2B e289c0a77493eed00373dfd91048d46f4030b3728b0d7adf2c6e46fa5749931a4c0077645d94a2ddb737a42cc4ed9213c4112f850f69bf888e82f1c033eab9cc SHA512 9439a39fcdf4acb530871248d9e673bbc657875d5d1f6d2fd9f9a8f45b8a58de8e6cf418ec86025aa959d6db7dd40538d2d4c2a9aaf762a013dc715246a12533 diff --git a/dev-python/hypothesis/hypothesis-6.89.0.ebuild b/dev-python/hypothesis/hypothesis-6.89.0.ebuild new file mode 100644 index 000000000000..f0d092b67f0b --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.89.0.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +CLI_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) +PYTHON_REQ_USE="threads(+),sqlite" + +inherit distutils-r1 multiprocessing optfeature + +TAG=hypothesis-python-${PV} +MY_P=hypothesis-${TAG} +DESCRIPTION="A library for property based testing" +HOMEPAGE=" + https://github.com/HypothesisWorks/hypothesis/ + https://pypi.org/project/hypothesis/ +" +SRC_URI=" + https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${MY_P}/hypothesis-python" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="cli" + +RDEPEND=" + >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] + >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}] + ' 3.9 3.10) + cli? ( + $(python_gen_cond_dep ' + dev-python/black[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + ' "${CLI_COMPAT[@]}") + ) +" +BDEPEND=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! + + + + python@gentoo.org + Python + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/pure-eval/pure-eval-0.2.2.ebuild b/dev-python/pure-eval/pure-eval-0.2.2.ebuild new file mode 100644 index 000000000000..f88343929b2f --- /dev/null +++ b/dev-python/pure-eval/pure-eval-0.2.2.ebuild @@ -0,0 +1,37 @@ +# 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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Safely evaluate AST nodes without side effects" +HOMEPAGE=" + https://github.com/alexmojaki/pure_eval/ + https://pypi.org/project/pure-eval/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # https://github.com/alexmojaki/pure_eval/issues/15 + tests/test_getattr_static.py::TestGetattrStatic::test_custom_object_dict + tests/test_utils.py::test_safe_name_samples + ) + ;; + esac + + epytest +} diff --git a/dev-python/pure_eval/Manifest b/dev-python/pure_eval/Manifest deleted file mode 100644 index 2e04617fdd08..000000000000 --- a/dev-python/pure_eval/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pure_eval-0.2.2.tar.gz 19395 BLAKE2B 19f86a1436e5f1a026a24f62c435e8970d84960f4cde1de80c58949b1aede6aa7562e8430e10e3f7171212c31d5699a3321fad5fb2ea1eed961a30d43a632a79 SHA512 35d20cbbfd513b7ac341759e619401a5f57b7b9df8abd09ce6414d4ee6bfa45dcadbad7529d067e81ad7ea2107c14fd03783a3a77f8074dad30d2e5161656804 diff --git a/dev-python/pure_eval/metadata.xml b/dev-python/pure_eval/metadata.xml deleted file mode 100644 index 853174b8f2ab..000000000000 --- a/dev-python/pure_eval/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - python@gentoo.org - Python - - - gentoo-staging - \ No newline at end of file diff --git a/dev-python/pure_eval/pure_eval-0.2.2.ebuild b/dev-python/pure_eval/pure_eval-0.2.2.ebuild deleted file mode 100644 index 34a0f1b86ad6..000000000000 --- a/dev-python/pure_eval/pure_eval-0.2.2.ebuild +++ /dev/null @@ -1,19 +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,12} ) -inherit distutils-r1 pypi - -DESCRIPTION="Safely evaluate AST nodes without side effects" -HOMEPAGE="https://github.com/alexmojaki/pure_eval" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" - -BDEPEND="dev-python/wheel[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest diff --git a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild index 97f254b16a9d..c46ff2d8c339 100644 --- a/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild +++ b/dev-python/pytest-console-scripts/pytest-console-scripts-1.4.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/python-efl/Manifest b/dev-python/python-efl/Manifest index 618825ce7c79..f3181cb0781f 100644 --- a/dev-python/python-efl/Manifest +++ b/dev-python/python-efl/Manifest @@ -1,2 +1 @@ -DIST python-efl-1.26.0.tar.xz 9547648 BLAKE2B b6fd9e86695569291b416140c92316aeb4e3bd42d12fc3fd656b86fe7fae364720c8457c53828dc00838a68620fa604426d86c5d4bce02e94eaa82a4fed120ee SHA512 fe552a65d7d4d3e3664310e6bb7189c883c64361a64a2def04e8d14df3e5a03211e2992333f1c05288b96f1d99f20ad4ac848baea91d43db280dad81315e2473 DIST python-efl-1.26.1.tar.xz 9554132 BLAKE2B d08c9c695c3667e0d3b1b45b1c7026f1af6ca1c100235c1a412dfa354e549c45db75442693c1d7a3f68b6c63a47cf6d120fd3071856a6e7c7da51f0ccdb309b0 SHA512 42b7586885d47fc67bf3692e65325e58cb0566fb772b415255b2f63b05adfdcdc44762f532bc951781ece118833486b33dc5a3f0aa10e0a14d5226ca4dc30f9e diff --git a/dev-python/python-efl/python-efl-1.26.0.ebuild b/dev-python/python-efl/python-efl-1.26.0.ebuild deleted file mode 100644 index d4e974bfa5ad..000000000000 --- a/dev-python/python-efl/python-efl-1.26.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit distutils-r1 flag-o-matic - -DESCRIPTION="Python bindings for Enlightenment Foundation Libraries" -HOMEPAGE="https://github.com/DaveMDS/python-efl https://docs.enlightenment.org/python-efl/current/" -SRC_URI="https://download.enlightenment.org/rel/bindings/python/${P}.tar.xz" - -LICENSE="|| ( GPL-3 LGPL-3 )" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" -IUSE="doc test" - -RESTRICT="!test? ( test )" - -RDEPEND="=dev-libs/efl-$(ver_cut 1-2)* - dev-python/dbus-python[${PYTHON_USEDEP}] - sys-apps/dbus" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/cython[${PYTHON_USEDEP}] - virtual/pkgconfig - doc? ( - dev-python/sphinx[${PYTHON_USEDEP}] - media-gfx/graphviz - )" - -PATCHES=( "${FILESDIR}/python-efl-1.25-clang-crosscompile.patch" ) - -src_prepare() { - default - - # Generate our own C files, discard the bundled ones. - export ENABLE_CYTHON=1 - - # Tries to download a file under /tmp - rm tests/ecore/test_09_file_download.py || die - - # Tries to use that file which failed to download - rm tests/ecore/test_10_file_monitor.py || die - - # Needs an active internet connection - rm tests/ecore/test_11_con.py || die - - # Test fails because of deleted files above - sed -i 's/>= 13/>= 10/g' tests/ecore/test_08_exe.py || die - - # Make tests verbose - sed -i 's:verbosity=1:verbosity=3:' tests/00_run_all_tests.py || die - - # Disable any optimization on x86, #704260 - if use x86; then - filter-flags -O? - append-cflags -O0 - fi -} - -python_compile_all() { - if use doc ; then - esetup.py build_doc --build-dir "${S}"/build/doc/ - fi - - distutils-r1_python_compile -} - -python_test() { - cd tests/ || die - ${EPYTHON} 00_run_all_tests.py --verbose || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - use doc && local HTML_DOCS=( ./build/doc/html/. ) - distutils-r1_python_install_all -} diff --git a/dev-python/python-neutronclient/Manifest b/dev-python/python-neutronclient/Manifest index 8f903d1da5a9..c94966357fe8 100644 --- a/dev-python/python-neutronclient/Manifest +++ b/dev-python/python-neutronclient/Manifest @@ -1 +1,2 @@ DIST python-neutronclient-11.0.0.tar.gz 206846 BLAKE2B e7ba4db5763a9310aa393e01d8561e9cfe85dfe584942de70a1b2254ccd8d5a79f6ffe5dc195fc3ef6f338c49686f8460b81111f6d4118315af38d7eea6f8c1c SHA512 3732892db34287343bc7015aa0be426e61f7a111e8a69c529f9baac0b6abbba09232d2d73e255dc82a816a1e9ff70237097c6269a287910a034787af58a730a1 +DIST python-neutronclient-11.1.0.tar.gz 210626 BLAKE2B c9b3328a57fb05a6bd4058b3a96a1a346caea08110724cc5d7d3855d08140bb2baeb3f133464aa02d74a6ed18e3b7f174560766134d15aa681fea68b169c7b2c SHA512 04f81f0dffc085a16ffca76d16c4de7b9c0a686053e45aacbedfb94902651c20dd34c6ccc29b15bb8e8836df5124e466d5f1bea94a82dc06d194fa6c2df62734 diff --git a/dev-python/python-neutronclient/python-neutronclient-11.1.0.ebuild b/dev-python/python-neutronclient/python-neutronclient-11.1.0.ebuild new file mode 100644 index 000000000000..af5177da0575 --- /dev/null +++ b/dev-python/python-neutronclient/python-neutronclient-11.1.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=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A client for the OpenStack Quantum API" +HOMEPAGE=" + https://opendev.org/openstack/python-neutronclient/ + https://github.com/openstack/python-neutronclient/ + https://pypi.org/project/python-neutronclient/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + >=dev-python/cliff-3.4.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-1.5.0[${PYTHON_USEDEP}] + >=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth1-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] +" +BDEPEND=" + >dev-python/pbr-2.1.0[${PYTHON_USEDEP}] + test? ( + dev-python/bandit[${PYTHON_USEDEP}] + dev-python/fixtures[${PYTHON_USEDEP}] + dev-python/oslotest[${PYTHON_USEDEP}] + dev-python/python-openstackclient[${PYTHON_USEDEP}] + dev-python/subunit[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + dev-python/testscenarios[${PYTHON_USEDEP}] + dev-python/tempest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # Needs osprofile + rm neutronclient/tests/unit/test_http.py || die + distutils-r1_src_prepare +} + +python_test() { + # functional tests require cloud instance access + eunittest -b neutronclient.tests.unit +} + +python_install() { + distutils-r1_python_install + # stupid stupid stupid + local SITEDIR="${D}$(python_get_sitedir)" || die + cd "${SITEDIR}" || die + local egg=( python_neutronclient*.dist-info ) + [[ -d ${egg[0]} ]] || die "python_quantumclient*.dist-info not found" + ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die + ln -s neutronclient quantumclient || die + ln -s neutron quantumclient/quantum || die +} diff --git a/dev-python/pyzmq/pyzmq-25.1.1.ebuild b/dev-python/pyzmq/pyzmq-25.1.1.ebuild index 4bdb1d0ce19c..9a9fed626124 100644 --- a/dev-python/pyzmq/pyzmq-25.1.1.ebuild +++ b/dev-python/pyzmq/pyzmq-25.1.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -31,11 +31,8 @@ DEPEND=" >=net-libs/zeromq-4.2.2-r2:=[drafts=] " # It uses cffi backend for pypy, cython backend for cpython -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/py[${PYTHON_USEDEP}] - dev-python/cffi:=[${PYTHON_USEDEP}] - ' pypy3) +RDEPEND=" + ${DEPEND} " BDEPEND=" $(python_gen_cond_dep ' @@ -52,22 +49,6 @@ PATCHES=( "${FILESDIR}"/${PN}-23.2.0-libdir.patch ) -EPYTEST_DESELECT=( - # TODO - zmq/tests/test_auth.py - zmq/tests/test_cython.py - zmq/tests/test_zmqstream.py - - # swap thrashing on low-mem hosts, per Debian: - # https://salsa.debian.org/python-team/packages/pyzmq/-/blob/master/debian/patches/skip_large_send - zmq/tests/test_socket.py::TestSocket::test_large_send -) - -EPYTEST_IGNORE=( - # Avoid dependency on mypy - zmq/tests/test_mypy.py -) - distutils_enable_tests pytest # TODO: Package enum_tools # distutils_enable_sphinx docs/source \ @@ -82,6 +63,29 @@ python_prepare_all() { } python_test() { + local EPYTEST_DESELECT=( + # TODO + zmq/tests/test_auth.py + zmq/tests/test_cython.py + zmq/tests/test_zmqstream.py + + # swap thrashing on low-mem hosts, per Debian: + # https://salsa.debian.org/python-team/packages/pyzmq/-/blob/master/debian/patches/skip_large_send + zmq/tests/test_socket.py::TestSocket::test_large_send + ) + local EPYTEST_IGNORE=( + # Avoid dependency on mypy + zmq/tests/test_mypy.py + ) + + case ${EPYTHON} in + pypy3) + EPYTEST_DESELECT+=( + # not implemented in cffi variant? + zmq/tests/test_draft.py::TestDraftSockets + ) + esac + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die epytest -p asyncio -p rerunfailures diff --git a/dev-python/stack-data/stack-data-0.6.3.ebuild b/dev-python/stack-data/stack-data-0.6.3.ebuild index 4140bda08f62..c4774afd6b3a 100644 --- a/dev-python/stack-data/stack-data-0.6.3.ebuild +++ b/dev-python/stack-data/stack-data-0.6.3.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi @@ -21,7 +21,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc RDEPEND=" >=dev-python/asttokens-2.1.0[${PYTHON_USEDEP}] >=dev-python/executing-1.2.0[${PYTHON_USEDEP}] - dev-python/pure_eval[${PYTHON_USEDEP}] + dev-python/pure-eval[${PYTHON_USEDEP}] " BDEPEND=" test? ( diff --git a/dev-python/svgelements/Manifest b/dev-python/svgelements/Manifest index 00eb6f4e0e25..d6f172c7eb5e 100644 --- a/dev-python/svgelements/Manifest +++ b/dev-python/svgelements/Manifest @@ -1 +1,2 @@ DIST svgelements-1.9.3.gh.tar.gz 132345 BLAKE2B 63e433f99fd0adc3f9512fd1457ace8c12d7f922960ae4cbc1b84ffda27ba1bf00e3dd12e88dabb70235227969298e4e6bedad450f29dda20afcaf9a342f0441 SHA512 9a3bc3c665566662859996ba06ac4c5bb5ee425b008b9312a44d07aaca64fb7bd6e3f7d614cdfd709944efdf74fb7da3cc0ab8ecd0c812dff3dcf16305ae8f22 +DIST svgelements-1.9.6.gh.tar.gz 134884 BLAKE2B c6b5c3e3b7a27b0972c78e8ad290c2880b7418d11cded3769d3c591ddcefa85d5e4ddcd5df186e181178cc6ca2054d1a48ea4a715f3506fcd16d53d5baed206f SHA512 c92004a103cb0073f91e0d4f2710a841855ba5079924d106db33df8994c482656a7c3358336c3fcae3127f2b6e668595b2339913e7c8f8364277fedbe0b854c3 diff --git a/dev-python/svgelements/svgelements-1.9.6.ebuild b/dev-python/svgelements/svgelements-1.9.6.ebuild new file mode 100644 index 000000000000..babc629f874c --- /dev/null +++ b/dev-python/svgelements/svgelements-1.9.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 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,12} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="SVG Parsing for Elements, Paths, and other SVG Objects." +HOMEPAGE="https://github.com/meerk40t/svgelements https://pypi.org/project/svgelements" +SRC_URI="https://github.com/meerk40t/svgelements/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ) +" +DEPEND="${BDEPEND}" + +distutils_enable_tests pytest + +src_prepare() { + default + mv "${S}/test" "${S}_tests" +} + +python_test() { + cd "${T}" || die + epytest "${S}_tests" +} + +pkg_postinst() { + optfeature "getting exact value for arc lenght computation" dev-python/scipy + optfeature "loading images" dev-python/pillow + optfeature "speeding up linearization for Shapes" dev-python/numpy +} diff --git a/dev-python/symengine/Manifest b/dev-python/symengine/Manifest index b9519c17a0eb..24b55142eccc 100644 --- a/dev-python/symengine/Manifest +++ b/dev-python/symengine/Manifest @@ -1,2 +1,3 @@ DIST symengine.py-0.10.0.gh.tar.gz 112272 BLAKE2B 8d8262c1abc48e3b84e14a5c825f0c19335b7374ecb8f641b20140467709c199af542a7e15036a4264d885ee0e425665faa97a2b320bfaf45e8de1ba469b53a4 SHA512 7e3f2554ab79d92d7247b573c383c2ac0dda421b5421d088362007f70b055bc59d9879b8f6d4c5788ddf127ea0974ad9305d23db701f3b9b32a17d6b03000e7d +DIST symengine.py-0.11.0.gh.tar.gz 111973 BLAKE2B 0e85e97b55b6a537a1a13cf308ddd878fe02968f0da648fafb8a11583b1ca39758ef38625cb95fbdeb03713d9e84ab6f0d3a092c1b9365cdfca179c4173c70a2 SHA512 9e70d84126b65fb8a9f7acf076ef8de39c3c65f1868708541cd861f694fb36cf4cc09ed676bac00b40460287c90ec411b56aba35e43308438a4830087c02e42e DIST symengine.py-0.9.2.gh.tar.gz 110856 BLAKE2B 11330acc04970d367fe66787521776dbd803929d91802ea09d1bc54a96c8fd87e85114042f57fc8c007de2dcaa1b0503a8389ac677797cc2efc866d71d76d1db SHA512 ea9e8cb7dd789b551f5372c32b98365ab251bac838204b5c832783f9866c2774f5d411f2f59e5e60f17939a1c341702acfc3e3f7e77246330ab3cb74f5ba7cca diff --git a/dev-python/symengine/symengine-0.11.0.ebuild b/dev-python/symengine/symengine-0.11.0.ebuild new file mode 100644 index 000000000000..24e5ad94f418 --- /dev/null +++ b/dev-python/symengine/symengine-0.11.0.ebuild @@ -0,0 +1,53 @@ +# 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,12} ) + +inherit distutils-r1 + +MY_P=symengine.py-${PV} +DESCRIPTION="Python wrappers to the symengine C++ library" +HOMEPAGE=" + https://github.com/symengine/symengine.py/ + https://pypi.org/project/symengine/ +" +SRC_URI=" + https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" + +BDEPEND=" + dev-util/cmake + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/sympy[${PYTHON_USEDEP}] + ) +" +# See bug #786582 for symengine constraint +# See also https://github.com/symengine/symengine.py/blob/master/symengine_version.txt +DEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + =sci-libs/symengine-$(ver_cut 1-2)* +" +RDEPEND=" + ${DEPEND} +" + +# The C library installs the same docs +DOCS=() + +distutils_enable_tests pytest + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} diff --git a/dev-python/traitlets/traitlets-5.13.0.ebuild b/dev-python/traitlets/traitlets-5.13.0.ebuild index 71d781b2aaa2..245a8c2e605d 100644 --- a/dev-python/traitlets/traitlets-5.13.0.ebuild +++ b/dev-python/traitlets/traitlets-5.13.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/tulir-telethon/Manifest b/dev-python/tulir-telethon/Manifest index ee5e9eb0e78d..44f62db6ad14 100644 --- a/dev-python/tulir-telethon/Manifest +++ b/dev-python/tulir-telethon/Manifest @@ -1,2 +1,2 @@ -DIST tulir-telethon-1.30.0_alpha2.gh.tar.gz 493240 BLAKE2B dd7d464c187a08b71d3a7578922c6da91cb4878b6a29d36cbe9211f7978a10b9b397ea799b11aa144cdb1e458bd0bc6f80acc9b844d5efda63752f75ecc98c53 SHA512 6f472f7c48ea6b5602c0fb1898fc08be8f8336a7b6cec671b49d7e81255a5e52b2442cb38a8aab342a26aef107ef73f242a4c967249d8a013deb584340c71826 DIST tulir-telethon-1.32.0_alpha2.gh.tar.gz 494857 BLAKE2B f39a8159716a5fd0f7f9d94bb6bdf9674fba678210f7c9dceb2bf7b90ddae5ee4eeade3f896dcb590f3e7f4985d18f72ea9fed35f59bc13680c1cf1c40fec890 SHA512 8b02b6f563844674fcf9449419cd68b646a10d7572534c5696501b1d043bf3b2c0d5969ca08c38664bd43ebefc1f99607649ec62180d6fca324bf799274e2873 +DIST tulir-telethon-1.32.0_alpha3.gh.tar.gz 495988 BLAKE2B ca2c7f64067369ad9b2424ef00d2697b1a836de7e4709ffeae4cd9b1bfaef50c998ffc49501830ad7e1564fada4ec804abf0b8a7f27f0659398f9112514ec837 SHA512 1a4f17d22f10a04c862433ce474b946c835ee954e4f5158fdc2c81f510cf5dd1041544b0df44f1c61d9dfcdfb27c023b213552230153e3a3f4ce5f1512094f9b diff --git a/dev-python/tulir-telethon/tulir-telethon-1.30.0_alpha2.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.30.0_alpha2.ebuild deleted file mode 100644 index 5eef2e2bc26d..000000000000 --- a/dev-python/tulir-telethon/tulir-telethon-1.30.0_alpha2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2022-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,12} ) - -inherit distutils-r1 - -MY_PV="${PV/_alph/}" -DESCRIPTION="Pure Python 3 MTProto API Telegram client library, for bots too!" -HOMEPAGE="https://github.com/tulir/Telethon/" -SRC_URI="https://github.com/tulir/Telethon/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}/Telethon-${MY_PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/cryptg[${PYTHON_USEDEP}] - dev-python/hachoir[${PYTHON_USEDEP}] - dev-python/pillow[${PYTHON_USEDEP}] - dev-python/pyaes[${PYTHON_USEDEP}] - dev-python/PySocks[${PYTHON_USEDEP}] - dev-python/python-socks[${PYTHON_USEDEP}] - dev-python/rsa[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - ) -" -DEPEND="${RDEPEND}" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - tests/readthedocs/quick_references/test_client_reference.py::test_all_methods_present -) diff --git a/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha3.ebuild b/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha3.ebuild new file mode 100644 index 000000000000..5eef2e2bc26d --- /dev/null +++ b/dev-python/tulir-telethon/tulir-telethon-1.32.0_alpha3.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022-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,12} ) + +inherit distutils-r1 + +MY_PV="${PV/_alph/}" +DESCRIPTION="Pure Python 3 MTProto API Telegram client library, for bots too!" +HOMEPAGE="https://github.com/tulir/Telethon/" +SRC_URI="https://github.com/tulir/Telethon/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/Telethon-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-python/cryptg[${PYTHON_USEDEP}] + dev-python/hachoir[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pyaes[${PYTHON_USEDEP}] + dev-python/PySocks[${PYTHON_USEDEP}] + dev-python/python-socks[${PYTHON_USEDEP}] + dev-python/rsa[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND}" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + tests/readthedocs/quick_references/test_client_reference.py::test_all_methods_present +) diff --git a/dev-python/typeguard/typeguard-4.1.5.ebuild b/dev-python/typeguard/typeguard-4.1.5.ebuild index 8b98d58736a1..4156594f36c6 100644 --- a/dev-python/typeguard/typeguard-4.1.5.ebuild +++ b/dev-python/typeguard/typeguard-4.1.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) inherit distutils-r1 pypi diff --git a/dev-python/types-protobuf/Manifest b/dev-python/types-protobuf/Manifest index fcb159d18b94..386d607f8bcf 100644 --- a/dev-python/types-protobuf/Manifest +++ b/dev-python/types-protobuf/Manifest @@ -1,2 +1 @@ -DIST types-protobuf-4.24.0.1.tar.gz 47648 BLAKE2B bed5e77f06ab0f051f8c93c212911727e7e94ba5142389fcdaaab051c5d955edc421760c7a6a9c144df74704fcab8f1a0648e4b9ab1e6f1c6aa3d7090d4d62d9 SHA512 af2324044890d6fa67102fd8d20335f2d39194c50667a19b15e936cdb9807e346e80cd16de311bc3b0f97e6a74d0f361987206f98e19d8c387af4bd57a66c6e7 -DIST types-protobuf-4.24.0.2.tar.gz 47831 BLAKE2B 9c18bbf2950bc57a46c8fbdaca05f6d0c66f55b3b11b78ffb78139135ad80e666a1db5fdba79b0f9ebdd5349812107e69ff40255737bda27651256c51b521b94 SHA512 2740c72811db1b75b5aca8bb61be54a88d724c51349f4beeaec2dd56180d929972a189ddcf88eee06c2da7085696d45c7573103797e887ded60a5c314e4885f0 +DIST types-protobuf-4.24.0.4.tar.gz 48077 BLAKE2B 8ed8488ddc2315587a5ef69d3a2fbcf6451854da6fe89ba311fba0b5ec47b7f98f6e21946fd193eb37673bf18cab44772c3e5e894b28b4fd4deaeeed589299f5 SHA512 5b84b38ecfae91c4e9477d8e2e6375c7cd9186f654469667889ef78928f2c5e1e61fa50d0b0dec490bcb028c8c423def7fccf1815315e9a690629c1d43a5dd68 diff --git a/dev-python/types-protobuf/types-protobuf-4.24.0.1.ebuild b/dev-python/types-protobuf/types-protobuf-4.24.0.1.ebuild deleted file mode 100644 index b90448169410..000000000000 --- a/dev-python/types-protobuf/types-protobuf-4.24.0.1.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 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,12} ) -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for protobuf" -HOMEPAGE=" - https://pypi.org/project/types-protobuf/ - https://github.com/python/typeshed/tree/master/stubs/protobuf/ -" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" diff --git a/dev-python/types-protobuf/types-protobuf-4.24.0.2.ebuild b/dev-python/types-protobuf/types-protobuf-4.24.0.2.ebuild deleted file mode 100644 index b90448169410..000000000000 --- a/dev-python/types-protobuf/types-protobuf-4.24.0.2.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -# Copyright 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,12} ) -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for protobuf" -HOMEPAGE=" - https://pypi.org/project/types-protobuf/ - https://github.com/python/typeshed/tree/master/stubs/protobuf/ -" -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" diff --git a/dev-python/types-protobuf/types-protobuf-4.24.0.4.ebuild b/dev-python/types-protobuf/types-protobuf-4.24.0.4.ebuild new file mode 100644 index 000000000000..b90448169410 --- /dev/null +++ b/dev-python/types-protobuf/types-protobuf-4.24.0.4.ebuild @@ -0,0 +1,18 @@ +# Copyright 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,12} ) +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for protobuf" +HOMEPAGE=" + https://pypi.org/project/types-protobuf/ + https://github.com/python/typeshed/tree/master/stubs/protobuf/ +" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" diff --git a/dev-python/types-requests/Manifest b/dev-python/types-requests/Manifest index 49af4c6d8414..3a56fab6b585 100644 --- a/dev-python/types-requests/Manifest +++ b/dev-python/types-requests/Manifest @@ -1,2 +1,2 @@ +DIST types-requests-2.31.0.10.tar.gz 16198 BLAKE2B a69ad9e54bb2cf186f5f66e099e837131819e4106ff946eeb3b25a9c0eea0eba5cd8cb8c82dad24071cac25960a159a82583c2529d62ef162e9eaae3718abee5 SHA512 15d4d6c9714fa32042bf77c283d681011198e925a2c3eb4e7ff3038c46fb09983ff96f33f1ec170f1408a494458c53d8e7bbbf04052f0978f696884bdfcfa8a9 DIST types-requests-2.31.0.6.tar.gz 15535 BLAKE2B 165bbedb94cf39b271a32c37e58333d0f59b053a3c882c964e5c46f8fe95fba4ce158434714f4352fc426b6c6fcc98e31caf79407d1778c4e514c0a8a6dfe457 SHA512 e35dc869c6192cea6408407fe024c9dcaeac7baa208df250671f0d99d31e36aa20647d3d1823069bdae27b899d1278010ebfc4ad19ef00a922cd1f64636bd521 -DIST types-requests-2.31.0.8.tar.gz 15960 BLAKE2B 141a6f5594685f6d2c90ee95b55cee78fa862768e201e1a4597c9bbf6a555d4e60ecc61f0120f79db3c8677e78c2e701093605b7bd89cf4d8d34aeece126ed08 SHA512 b551299283fab5761788df032eb5de75041bf9c2f94fff5fc2b679f116714b5b6b197f7a87dc610f8431e8a53994665ca86de735363bfeaa15ca278c2639746d diff --git a/dev-python/types-requests/types-requests-2.31.0.10.ebuild b/dev-python/types-requests/types-requests-2.31.0.10.ebuild new file mode 100644 index 000000000000..2a0cb51a440e --- /dev/null +++ b/dev-python/types-requests/types-requests-2.31.0.10.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-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,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Typing stubs for requests" +HOMEPAGE=" + https://pypi.org/project/types-requests/ + https://github.com/python/typeshed/tree/master/stubs/requests +" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64" + +# Depends on _typeshed util stub module bundled with mypy and other type checkers. +RDEPEND=">=dev-python/urllib3-2" diff --git a/dev-python/types-requests/types-requests-2.31.0.8.ebuild b/dev-python/types-requests/types-requests-2.31.0.8.ebuild deleted file mode 100644 index 2a0cb51a440e..000000000000 --- a/dev-python/types-requests/types-requests-2.31.0.8.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-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,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Typing stubs for requests" -HOMEPAGE=" - https://pypi.org/project/types-requests/ - https://github.com/python/typeshed/tree/master/stubs/requests -" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="~amd64" - -# Depends on _typeshed util stub module bundled with mypy and other type checkers. -RDEPEND=">=dev-python/urllib3-2" diff --git a/dev-python/uvloop/uvloop-0.19.0.ebuild b/dev-python/uvloop/uvloop-0.19.0.ebuild index 50494fb92b50..b53951cd5adb 100644 --- a/dev-python/uvloop/uvloop-0.19.0.ebuild +++ b/dev-python/uvloop/uvloop-0.19.0.ebuild @@ -15,7 +15,7 @@ HOMEPAGE=" https://pypi.org/project/uvloop/ " -KEYWORDS="amd64 arm arm64 ppc ppc64 -riscv sparc ~x86" +KEYWORDS="amd64 arm arm64 ppc ppc64 -riscv sparc x86" LICENSE="MIT" SLOT="0" IUSE="examples" diff --git a/dev-python/webrtcvad/Manifest b/dev-python/webrtcvad/Manifest index 6c9714040b3e..f7a5e1f0f423 100644 --- a/dev-python/webrtcvad/Manifest +++ b/dev-python/webrtcvad/Manifest @@ -1 +1,2 @@ +DIST webrtcvad-2.0.10-patches.tar.xz 36072 BLAKE2B efe6cfccfae8c2706e4c85d47fcf6cf91135ae85dfb59aec9d61457fa3f2856ea2e51c2df9b12dd0fc79d0484f56f56277e7782faf3564931d75e252b3ebbd3c SHA512 0f18dfe92d767cf16c49677a88089f5b3a44b9e2e593d89cbcd145c23a0d049f09eb720ccc5b13a464943e9b68f1a5e741a40ed300a9a28a0eee33277ca19bfb DIST webrtcvad-2.0.10.tar.gz 183166 BLAKE2B aa36c895c23cb9d4ea9679c3a7231abac7ef5be4adf61f06fc557fff69ab84181cabf737d4c0a7255d518454a94ca3c4c0fc969405777f02ab3c1a7c0403eac2 SHA512 ce414e39c3128e22495e8e21e46d09485952168ca763937cebb654dab87ffcfecea8198c74c009a47d8caed2a8ebc22572036fda4be36597d82e6e7057f80ae2 diff --git a/dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild b/dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild new file mode 100644 index 000000000000..6e1255ec5035 --- /dev/null +++ b/dev-python/webrtcvad/webrtcvad-2.0.10-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 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,12} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to the Google WebRTC Voice Activity Detector (VAD)" +HOMEPAGE="https://github.com/wiseman/py-webrtcvad" +SRC_URI="https://github.com/wiseman/py-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://gentoo.kropotkin.rocks/distfiles/${P}-patches.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +# Depends on a package removed from ::gento (bug #915162) +RESTRICT="test" + +S="${WORKDIR}/py-${P}" + +PATCHES=( "${WORKDIR}/${PN}-update-webrtc.patch" "${WORKDIR}/${PN}-fix-mem-leak.patch" "${WORKDIR}/${PN}-fix-oob.patch" ) + diff --git a/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild b/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild deleted file mode 100644 index e19d6f01bebe..000000000000 --- a/dev-python/webrtcvad/webrtcvad-2.0.10.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 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,12} ) - -inherit distutils-r1 - -DESCRIPTION="Python interface to the Google WebRTC Voice Activity Detector (VAD)" -HOMEPAGE="https://github.com/wiseman/py-webrtcvad" -SRC_URI="https://github.com/wiseman/py-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -S="${WORKDIR}/py-${P}" - -distutils_enable_tests nose - -DEPEND=" - test? ( - dev-python/memory-profiler[${PYTHON_USEDEP}] - ) - " diff --git a/dev-python/zope-testrunner/Manifest b/dev-python/zope-testrunner/Manifest index 5f6179cbcd23..62e0617ec514 100644 --- a/dev-python/zope-testrunner/Manifest +++ b/dev-python/zope-testrunner/Manifest @@ -1,2 +1,2 @@ -DIST zope.testrunner-6.0.tar.gz 149368 BLAKE2B 6ea443d389ec9b9df92cd2e3808679d292c87e63083572cfde6b9532ef2b81baf47985f24c883fe1ba648dabe4e21e8c8a3b10981b7e4788987b45b5ce880c92 SHA512 d6306e6980f4df93c8149695b363450341ff0ea3b3945edce6512fff116d90c6380b5ab9363541fbe7e81bf0424ac24e624f2044a77a7b55cc87ebf50cfd51d8 DIST zope.testrunner-6.1.tar.gz 154261 BLAKE2B e68c6449c1cccc059e5e07abb528fb39bc1409d6c56932299ffd3949c803d585bc432463f1e256a6fa47dc1c8b173c3f488220821a60c6e38c0191fa4af4f75d SHA512 6f23bcc7a27b0c5ab8b59ad0ea03a5482b4e7e924b8df41e5c78e86c402971761c875070c5b8553d3d90f772d04422a07bde675b8e2cb160fe5326031226fde3 +DIST zope.testrunner-6.2.tar.gz 150192 BLAKE2B 4ce0a5ed134910a4fb8cbc68700fbcd3d6e7508654e1ac68d51f5671e797e886a28ef0b55126f5b359cb704ec4b1c4d6f1ed9e66d25d0f83dd62e4884a262358 SHA512 5fc559c497c9db67c81af692e83d60d5cb75ee4cdb28b25c23040eccdaf01d704b2897b385e35e09e916792f6bf7155eded67d4b5de3c1beb1a435590c249dfd diff --git a/dev-python/zope-testrunner/zope-testrunner-6.0.ebuild b/dev-python/zope-testrunner/zope-testrunner-6.0.ebuild deleted file mode 100644 index d394c06558a2..000000000000 --- a/dev-python/zope-testrunner/zope-testrunner-6.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 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,12} ) - -PYPI_NO_NORMALIZE=1 -PYPI_PN="${PN/-/\.}" -inherit distutils-r1 pypi - -DESCRIPTION="This package provides a flexible test runner with layer support." -HOMEPAGE="https://github.com/zopefoundation/zope.testrunner" - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/six[${PYTHON_USEDEP}] - dev-python/zope-interface[${PYTHON_USEDEP}] - dev-python/zope-exceptions[${PYTHON_USEDEP}] - doc? ( dev-python/sphinxcontrib-programoutput[${PYTHON_USEDEP}] ) - test? ( dev-python/zope-testing[${PYTHON_USEDEP}] ) -" -DEPEND="${RDEPEND}" - -distutils_enable_sphinx docs -distutils_enable_tests unittest - -src_prepare() { - # strip rdep specific to namespaces - sed -i -e "/'setuptools'/d" setup.py || die - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - find "${BUILD_DIR}" -name '*.pth' -delete || die -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - distutils_write_namespace zope - eunittest -} - -python_install() { - # Do not install unit tests - rm -r "${BUILD_DIR}/install$(python_get_sitedir)/zope/testrunner/tests" || die - distutils-r1_python_install -} diff --git a/dev-python/zope-testrunner/zope-testrunner-6.2.ebuild b/dev-python/zope-testrunner/zope-testrunner-6.2.ebuild new file mode 100644 index 000000000000..d394c06558a2 --- /dev/null +++ b/dev-python/zope-testrunner/zope-testrunner-6.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 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,12} ) + +PYPI_NO_NORMALIZE=1 +PYPI_PN="${PN/-/\.}" +inherit distutils-r1 pypi + +DESCRIPTION="This package provides a flexible test runner with layer support." +HOMEPAGE="https://github.com/zopefoundation/zope.testrunner" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] + dev-python/zope-exceptions[${PYTHON_USEDEP}] + doc? ( dev-python/sphinxcontrib-programoutput[${PYTHON_USEDEP}] ) + test? ( dev-python/zope-testing[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx docs +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} + +python_install() { + # Do not install unit tests + rm -r "${BUILD_DIR}/install$(python_get_sitedir)/zope/testrunner/tests" || die + distutils-r1_python_install +} -- cgit v1.3.1