From 7752f623036698578288f3324ddc05912e421e92 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 24 Apr 2023 12:53:52 +0000 Subject: Adding metadata --- dev-python/PyQt-builder/Manifest | 2 - dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild | 37 ------ dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild | 36 ------ dev-python/PyQt5-sip/Manifest | 2 - dev-python/PyQt5-sip/PyQt5-sip-12.11.0.ebuild | 23 ---- dev-python/PyQt5-sip/PyQt5-sip-12.11.1.ebuild | 23 ---- dev-python/PyQt5/PyQt5-5.15.9.ebuild | 2 +- dev-python/argcomplete/Manifest | 1 + dev-python/argcomplete/argcomplete-3.0.8.ebuild | 41 +++++++ dev-python/bracex/bracex-2.3_p1.ebuild | 2 +- dev-python/hatchling/Manifest | 1 + dev-python/hatchling/hatchling-1.14.1.ebuild | 78 +++++++++++++ dev-python/imageio/Manifest | 1 + dev-python/imageio/imageio-2.28.0.ebuild | 82 +++++++++++++ dev-python/moto/Manifest | 1 + dev-python/moto/moto-4.1.8.ebuild | 106 +++++++++++++++++ dev-python/pylibacl/Manifest | 1 + dev-python/pylibacl/pylibacl-0.7.0.ebuild | 43 +++++++ dev-python/pyproject-api/Manifest | 1 - .../pyproject-api/pyproject-api-1.5.0.ebuild | 47 -------- dev-python/sip/sip-6.7.8.ebuild | 2 +- dev-python/sphinx/Manifest | 1 + dev-python/sphinx/sphinx-6.2.0.ebuild | 130 +++++++++++++++++++++ dev-python/termcolor/Manifest | 1 + dev-python/termcolor/termcolor-2.3.0.ebuild | 27 +++++ dev-python/watchdog/Manifest | 1 - dev-python/watchdog/watchdog-2.3.1.ebuild | 50 -------- dev-python/zeroconf/Manifest | 1 + dev-python/zeroconf/zeroconf-0.58.0.ebuild | 56 +++++++++ dev-python/zope-interface/Manifest | 1 - .../zope-interface/files/5.1.0-drop-coverage.patch | 24 ---- .../zope-interface/zope-interface-5.5.2.ebuild | 57 --------- .../zope-interface/zope-interface-6.0.ebuild | 4 - 33 files changed, 574 insertions(+), 311 deletions(-) delete mode 100644 dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild delete mode 100644 dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild delete mode 100644 dev-python/PyQt5-sip/PyQt5-sip-12.11.0.ebuild delete mode 100644 dev-python/PyQt5-sip/PyQt5-sip-12.11.1.ebuild create mode 100644 dev-python/argcomplete/argcomplete-3.0.8.ebuild create mode 100644 dev-python/hatchling/hatchling-1.14.1.ebuild create mode 100644 dev-python/imageio/imageio-2.28.0.ebuild create mode 100644 dev-python/moto/moto-4.1.8.ebuild create mode 100644 dev-python/pylibacl/pylibacl-0.7.0.ebuild delete mode 100644 dev-python/pyproject-api/pyproject-api-1.5.0.ebuild create mode 100644 dev-python/sphinx/sphinx-6.2.0.ebuild create mode 100644 dev-python/termcolor/termcolor-2.3.0.ebuild delete mode 100644 dev-python/watchdog/watchdog-2.3.1.ebuild create mode 100644 dev-python/zeroconf/zeroconf-0.58.0.ebuild delete mode 100644 dev-python/zope-interface/files/5.1.0-drop-coverage.patch delete mode 100644 dev-python/zope-interface/zope-interface-5.5.2.ebuild (limited to 'dev-python') diff --git a/dev-python/PyQt-builder/Manifest b/dev-python/PyQt-builder/Manifest index 6ff8953a4a34..5c6b7eecf2cd 100644 --- a/dev-python/PyQt-builder/Manifest +++ b/dev-python/PyQt-builder/Manifest @@ -1,3 +1 @@ -DIST PyQt-builder-1.12.2.tar.gz 5727071 BLAKE2B ca5d55989fec2a9a6f9d37abc307d4db7305bb06449cbf982aa3a2a3f210113319f7fb303ec0d77b513cce844b529e0e56f62c9d62ab3c51cf85a061ecd00c7a SHA512 022f2cd40c100543c4b442fc5b27bbf2ec853d94b531f8f6dc1d7f92b07bcc20e8f0a4eb64feb96d094ba0d5f01fddcc8aed23ddf67a61417e07983a73918230 -DIST PyQt-builder-1.14.1.tar.gz 3907982 BLAKE2B f2ac51b6af3b90d14e1acea1c292f71df6b84e4a6b930b70762a29d58e34303d9788911c99127ff15b85b4f7f7ae699ed2aa3094b7f187aeb92338feaaaadfb0 SHA512 4de9be2c42f38fbc22d46a31dd6da37c02620bb112a674ef846a4eb7f862715852e1d7328da1e0d0e33f78475166fe3c690e710e18bfeb48f840f137831a2182 DIST PyQt-builder-1.15.0.tar.gz 3908159 BLAKE2B aa92682a33057708d46bbec0bd19650042915177ca7574680a14b90045052a818df053fd9776195439aced3e57700196e9d7fbeb8bed4b01c52f0b5bac286ef1 SHA512 6eea424bdeb6921cd56590f95912e6341e09c48bff240005b7288ba2014b422ca84992b3ad48323dc6d5145c70dbfe8681f132142bba01ce95defba1cbf157fa diff --git a/dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild deleted file mode 100644 index bd2cb23d209d..000000000000 --- a/dev-python/PyQt-builder/PyQt-builder-1.12.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 - -DESCRIPTION="The PEP 517 compliant PyQt build system" -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/ https://pypi.org/project/PyQt-builder/" - -MY_P=${PN}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -fi -S=${WORKDIR}/${MY_P} - -LICENSE="|| ( GPL-2 GPL-3 SIP )" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/sip-6.3[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx doc --no-autodoc - -python_prepare_all() { - # don't install prebuilt Windows DLLs - sed -i -e "s:'dlls/\*/\*',::" setup.py || die - rm -r "${PN/-/_}.egg-info" || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild b/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild deleted file mode 100644 index 93d9c286ca4f..000000000000 --- a/dev-python/PyQt-builder/PyQt-builder-1.14.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -inherit distutils-r1 pypi - -DESCRIPTION="The PEP 517 compliant PyQt build system" -HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt-builder/ https://pypi.org/project/PyQt-builder/" - -if [[ ${PV} == *_pre* ]]; then - MY_P=${PN}-${PV/_pre/.dev} - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" - S=${WORKDIR}/${MY_P} -fi - -LICENSE="|| ( GPL-2 GPL-3 SIP )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" - -RDEPEND=" - dev-python/packaging[${PYTHON_USEDEP}] - >=dev-python/sip-6.7.1[${PYTHON_USEDEP}] -" - -distutils_enable_sphinx doc --no-autodoc - -python_prepare_all() { - # don't install prebuilt Windows DLLs - sed -i -e "s:'dlls/\*/\*',::" setup.py || die - rm -r "${PN/-/_}.egg-info" || die - - distutils-r1_python_prepare_all -} diff --git a/dev-python/PyQt5-sip/Manifest b/dev-python/PyQt5-sip/Manifest index bb94d2b46ba2..e8a998da8c57 100644 --- a/dev-python/PyQt5-sip/Manifest +++ b/dev-python/PyQt5-sip/Manifest @@ -1,3 +1 @@ -DIST PyQt5_sip-12.11.0.tar.gz 122792 BLAKE2B a2cde0a741fb5ef6d6805a382b66405dcebe09a18cbe1b7d88b277d96995b93b0a939900be9ed347ab46c8ed5d14b222c56f2e19e1506b72ebfda46aab8a22b1 SHA512 1542747ef1912c05b0054ffec16294046e20dd4eb757bb664fb92d7b6ed924521469e88d27e515146f725d153e3ebe3a3bf72805de6451fb52ff86ed5b9128d7 -DIST PyQt5_sip-12.11.1.tar.gz 122858 BLAKE2B 6e7dd31b290ed211b73162ee12b923ba46d7af1661094367ecf4d69f572bd7394576a55667fb99ada306c05eced79c1df68f4184d8fe937a1dedd0913f75379f SHA512 9a24b6e8356fdb1070672ee37e5f4259d72a75bb60376ad0946274331ae29a6cceb98a6c5a278bf5e8015a3d493c925bacab8593ef02c310ff3773bd3ee46a5d DIST PyQt5_sip-12.12.0.tar.gz 122886 BLAKE2B a090c3053086d789b2a54d63716302693233177256fe01e70a04bb67937094374aa7fff063988a307c6b75c3c0f99882c831bbae1684b94f2e42be5051975934 SHA512 0d1d5f483333dfa6a41ee98cc7a3c8940d6f30afc4358faa88e620043f2cf26667903fcdd9083e1b9f92cdef78ace0442b72b5e1d10889b057daa118cc5ba660 diff --git a/dev-python/PyQt5-sip/PyQt5-sip-12.11.0.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-12.11.0.ebuild deleted file mode 100644 index 43f564ed15b8..000000000000 --- a/dev-python/PyQt5-sip/PyQt5-sip-12.11.0.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 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="sip extension module for PyQt5" -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/ https://pypi.org/project/PyQt5-sip/" - -MY_P=${PN/-/_}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -fi -S="${WORKDIR}/${MY_P}" - -LICENSE="|| ( GPL-2 GPL-3 SIP )" -SLOT="0/$(ver_cut 1)" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" diff --git a/dev-python/PyQt5-sip/PyQt5-sip-12.11.1.ebuild b/dev-python/PyQt5-sip/PyQt5-sip-12.11.1.ebuild deleted file mode 100644 index 3101d0d2566a..000000000000 --- a/dev-python/PyQt5-sip/PyQt5-sip-12.11.1.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 - -PYTHON_COMPAT=( python3_{7,8,9,10,11} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="sip extension module for PyQt5" -HOMEPAGE="https://www.riverbankcomputing.com/software/sip/ https://pypi.org/project/PyQt5-sip/" - -MY_P=${PN/-/_}-${PV/_pre/.dev} -if [[ ${PV} == *_pre* ]]; then - SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz" -else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -fi -S="${WORKDIR}/${MY_P}" - -LICENSE="|| ( GPL-2 GPL-3 SIP )" -SLOT="0/$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-python/PyQt5/PyQt5-5.15.9.ebuild b/dev-python/PyQt5/PyQt5-5.15.9.ebuild index 2fd2ff938df7..dbcd9b700b01 100644 --- a/dev-python/PyQt5/PyQt5-5.15.9.ebuild +++ b/dev-python/PyQt5/PyQt5-5.15.9.ebuild @@ -18,7 +18,7 @@ fi LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~x86" # TODO: QtNfc, QtQuick3D, QtRemoteObjects IUSE="bluetooth dbus debug declarative designer examples gles2-only gui help location diff --git a/dev-python/argcomplete/Manifest b/dev-python/argcomplete/Manifest index a683a359040e..bd6241b6588e 100644 --- a/dev-python/argcomplete/Manifest +++ b/dev-python/argcomplete/Manifest @@ -1,2 +1,3 @@ DIST argcomplete-2.1.2.tar.gz 54114 BLAKE2B 19d29eb26c8d77998dcba51c263f49800ff98f22038964faf63d7b5963e8d62ca71ade9493937014f2e030add8a7d1032e2fdffce28765e12164906499cd2bcb SHA512 a91e3c0274c780da173659524f166b98f55342e54fbd38583757e65350b2288ea0e7f5acee7cb83b11478eda1b9b0f82ae6b0f559d7104c4ed67a6e1c9befa24 DIST argcomplete-3.0.5.tar.gz 65470 BLAKE2B ca9208edf7688aa7ff9a224befa2a84d2c9b6bdf4077a805efb107f256f98f0477c2c900dfb3c3bee3c08973aab8777cf6b01ab1a4698347e3ac457f131df0a0 SHA512 7ee0e8b961e4e9ba76194587da481908ac064306f1cd4fc0886d6facb4f2dab409dd1080ab440be761caebe358139cc8bc67fb720dd1d8e3f6105595dc8a5858 +DIST argcomplete-3.0.8.tar.gz 56035 BLAKE2B 0b63eff175c2780b63d07ef48169054705a4af5b0e7f1097fc74e525592491d42a48615b766e32cb69a673e26d867cae84fb23b98194c9fe618409d3eb312b83 SHA512 4667f0d03485c81048c53ecfd53fa1bbe50beea15f723f3ebd8a92aae37dd2bbca709f9b6a1e0a5a682f9e769883f94614b4fcefc1fd7c9fad9f1d8cbc1429f3 diff --git a/dev-python/argcomplete/argcomplete-3.0.8.ebuild b/dev-python/argcomplete/argcomplete-3.0.8.ebuild new file mode 100644 index 000000000000..a8131e060a2c --- /dev/null +++ b/dev-python/argcomplete/argcomplete-3.0.8.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=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Bash tab completion for argparse" +HOMEPAGE=" + https://github.com/kislyuk/argcomplete/ + https://pypi.org/project/argcomplete/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="test" +RESTRICT="!test? ( test )" + +# pip is called as an external tool +BDEPEND=" + test? ( + app-shells/fish + app-shells/tcsh + app-shells/zsh + dev-python/pexpect[${PYTHON_USEDEP}] + >=dev-python/pip-19 + ) +" + +src_prepare() { + sed -i -e 's:timeout=5:timeout=180:' test/test.py || die + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" test/test.py -v || die +} diff --git a/dev-python/bracex/bracex-2.3_p1.ebuild b/dev-python/bracex/bracex-2.3_p1.ebuild index 31cd2d71ccf1..b31af32ed819 100644 --- a/dev-python/bracex/bracex-2.3_p1.ebuild +++ b/dev-python/bracex/bracex-2.3_p1.ebuild @@ -25,7 +25,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index 42fd98105212..8c3d604cab80 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1,2 +1,3 @@ DIST hatch-hatchling-v1.13.0.gh.tar.gz 383610 BLAKE2B 0a3dc20f6c1c504c94c09897e23e6ade844318488093cf849e332cf08f7be178ddb3ae61d8ff01af93438c01216b056a3566e9d8758a0151e4d7498447a9524f SHA512 fb14e1d088676dfc2b76dda207aa514232c3c5b8472d7332c0d53e0bd4dbd1d0e3bd1ac9f261f72e1a32610c565485f5e382fc7071e80066735a04eb8cade13e DIST hatch-hatchling-v1.14.0.gh.tar.gz 378144 BLAKE2B e4fe0b22053e5be1ff330e96ad053e0461aa4e2ad1566313f03f265d42c7b63de8e3e7e7a52fa68639c4bdf4815e22e4040e8511eb43185cb3e7c8cf4d85ff92 SHA512 79a446c327022337c8c9e090c0aea0471fdad0a6c6d384797832bca09ece66c3b854c9626afccbb4fc49a9204ebb1e59a2ee55ff358b0eb1b10b16ddf7b4952a +DIST hatch-hatchling-v1.14.1.gh.tar.gz 378265 BLAKE2B ce990341dd4e41e98dbcc97af8e91bed37d4a4c08da7c86baeefb08b27b293c2d3e9a60c780338959bbbfe784603b762718aaf8721c85d3c0252170209d51235 SHA512 87f01d7bd8cc1be060c73a703cc6fe780ec8ef8ab5f1a883fb2b81a821c1be751bcff2301a21ffaec70a272b05cb47c387edfff97682fab402a142f31439677c diff --git a/dev-python/hatchling/hatchling-1.14.1.ebuild b/dev-python/hatchling/hatchling-1.14.1.ebuild new file mode 100644 index 000000000000..35c00f1a8a20 --- /dev/null +++ b/dev-python/hatchling/hatchling-1.14.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 + +TAG=${P/-/-v} +MY_P=hatch-${TAG} +DESCRIPTION="Modern, extensible Python build backend" +HOMEPAGE=" + https://pypi.org/project/hatchling/ + https://github.com/pypa/hatch/ +" +SRC_URI=" + https://github.com/pypa/hatch/archive/${TAG}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P}/backend + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# deps are listed in backend/src/hatchling/ouroboros.py +RDEPEND=" + >=dev-python/editables-0.3[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.10.1[${PYTHON_USEDEP}] + >=dev-python/pluggy-1.0.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.2[${PYTHON_USEDEP}] + ' 3.8 3.9 3.10) + dev-python/trove-classifiers[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" + +distutils_enable_tests pytest + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local -x EPYTEST_DESELECT=( + # these run pip to install stuff + tests/backend/dep/test_core.py::test_dependency_found + tests/backend/dep/test_core.py::test_extra_met + tests/backend/dep/test_core.py::test_extra_no_dependencies + tests/backend/dep/test_core.py::test_extra_unmet + tests/backend/dep/test_core.py::test_unknown_extra + tests/backend/dep/test_core.py::test_version_unmet + ) + + # top-level "tests" directory contains tests both for hatch + # and hatchling + cd "${WORKDIR}/${MY_P}" || die + local -x PYTHONPATH="src:${PYTHONPATH}" + epytest tests/backend +} diff --git a/dev-python/imageio/Manifest b/dev-python/imageio/Manifest index 46b6a0d2a0fd..b083415d713c 100644 --- a/dev-python/imageio/Manifest +++ b/dev-python/imageio/Manifest @@ -1,3 +1,4 @@ DIST imageio-2.27.0.gh.tar.gz 405391 BLAKE2B f013de16f460e04f5d30c7bcc3c64dc05cd2ca74b359ffe43f2f84e850bec907f899f8c2cc8bcd2a6594767746bd52bd8ae8f2f0c7bd9a3fe6b5450ef043830c SHA512 28d42b59d5c59c679786fced4d3f616d8ac832da0f76da31337875404a8382e66ead6531e02ec94099f481ce84aad5271199b16eadef03bcd5db9978010a7132 +DIST imageio-2.28.0.gh.tar.gz 406506 BLAKE2B 4021f872cd156461f216047d612ee985779e3cd1bb4d05e82ed12eb7582737ca60d1462a4d8fadeb56dd2aa197763f70f9aac5a1dced884276cf13bf43fdb990 SHA512 ba3aad7e32dd0468b9fc8ddc76c79b89be3e805a0d903b5fe6ff2279996db288b6809be6bc231f95751e1f55c8b12dedaa8b6c7635ba24a43f902f41f9bccf0d DIST imageio-chelsea.png 221294 BLAKE2B 58537d7a1678fa5be4cc899e5bacd925bfc180eb4ae691330a53749a49ff544e979609b529ed27e5c1fc9efe4bc050ca1ce49b777f4016fb1d66affd926ef9d3 SHA512 48470cdb843eed4dfa6673811c09c5aac9869ee23dd36be0c6b653d9f108d61d21b148c2a4435aaa6604887ba030e5bbc5e35d378da876366445dfc2d0ba4e27 DIST imageio-cockatoo.mp4 728751 BLAKE2B 45b22cd517c1cb7c0cd12f8865facaca6a847047aea716e49633cf2b1dc13826f94787c8a8f9dd5f48c6a896f5d37794c0058da1bde9e1469f196916476dbfa2 SHA512 e9cb7c25de8019c59ba4090cf10ab29f2b5d62ada37a877081ca07d2ecfe010036222ae843b41bbcc843130d97fa5e14421de252639e9481df1d1c27b19add49 diff --git a/dev-python/imageio/imageio-2.28.0.ebuild b/dev-python/imageio/imageio-2.28.0.ebuild new file mode 100644 index 000000000000..30875e33909b --- /dev/null +++ b/dev-python/imageio/imageio-2.28.0.ebuild @@ -0,0 +1,82 @@ +# 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_{10..11} ) + +inherit distutils-r1 + +BIN_COMMIT=224074bca448815e421a59266864c23041531a42 +DESCRIPTION="Python library for reading and writing image data" +HOMEPAGE=" + https://imageio.readthedocs.io/en/stable/ + https://github.com/imageio/imageio/ + https://pypi.org/project/imageio/ +" +SRC_URI=" + https://github.com/imageio/imageio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + test? ( + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/chelsea.png + -> ${PN}-chelsea.png + https://github.com/imageio/imageio-binaries/raw/${BIN_COMMIT}/images/cockatoo.mp4 + -> ${PN}-cockatoo.mp4 + ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# over 50% of tests rely on Internet +PROPERTIES="test_network" +RESTRICT="test" + +RDEPEND=" + >=dev-python/numpy-1.20.0[${PYTHON_USEDEP}] + >=dev-python/pillow-8.3.2[${PYTHON_USEDEP}] + media-libs/freeimage +" +# requests for fsspec[github] +BDEPEND=" + test? ( + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/imageio-ffmpeg[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tifffile[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + local PATCHES=( + # block silently downloading vulnerable libraries from the Internet + "${FILESDIR}"/imageio-2.22.0-block-download.patch + ) + + if use test; then + mkdir -p "${HOME}"/.imageio/images || die + local i + for i in chelsea.png cockatoo.mp4; do + cp "${DISTDIR}/${PN}-${i}" "${HOME}/.imageio/images/${i}" || die + done + fi + + distutils-r1_src_prepare +} + +EPYTEST_DESELECT=( + # Fails because of system installed freeimage + tests/test_core.py::test_findlib2 + # Tries to download ffmpeg binary ?! + tests/test_ffmpeg.py::test_get_exe_installed + # blocked by our patch + tests/test_core.py::test_fetching + tests/test_core.py::test_request + # known broken + # https://github.com/imageio/imageio/issues/890 + tests/test_freeimage.py::test_exr_write +) diff --git a/dev-python/moto/Manifest b/dev-python/moto/Manifest index 92ccd92c608d..03ba862c31a7 100644 --- a/dev-python/moto/Manifest +++ b/dev-python/moto/Manifest @@ -1,2 +1,3 @@ DIST moto-4.1.6.tar.gz 3470215 BLAKE2B 78f9c54128ba71fc5e3ba622be0596490bc82df0a17fa80d9f11bf135bdc91d9698cc29445b5765e6057e80f221c016ca8999186201b83b5f929f5831c417f60 SHA512 fb2dc73a66326216a4c5338660dab844de9a46e6626e0ef68bccb3573a3eba693b30b89961b019a4b7a51207ab11335e73cbdf523c75d91a5a9625a1bc409e61 DIST moto-4.1.7.tar.gz 3506753 BLAKE2B 76e38629f1a772816bfa647b90e89e3c4533cd36fa5a8a26e026229dd1dd8bf1cea404f99c85784a6eefa9173aecff7b88ba1ca7b3f890407c2ad7ef29106fac SHA512 3b20d2a535654cee22c909e19eb492e3b4b8fd382d26367c12cee00128dc4d1ea5228ccc97d40a01c5c2707ff3ca1039644268c47c525c79a9b68fc7ee78541c +DIST moto-4.1.8.tar.gz 3520127 BLAKE2B 623d97dbec357227ea401ac98f694eaaa129fcb47f6b160a22bf95f8d52facf9bb3917e00409990a7e447e70de5a94df9f234c3ed615081573169f3976169f3d SHA512 9c3e9825d1e8d09e278f8bbeb11719c4bee756f9e95b2edbe82b4ffbd3acb93008f6ffdc582eb46619104d0b839428b5e8078ef0e341a3b73f0bc61a7ebf806f diff --git a/dev-python/moto/moto-4.1.8.ebuild b/dev-python/moto/moto-4.1.8.ebuild new file mode 100644 index 000000000000..fb6f55956258 --- /dev/null +++ b/dev-python/moto/moto-4.1.8.ebuild @@ -0,0 +1,106 @@ +# 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_{10..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mock library for boto" +HOMEPAGE=" + https://github.com/getmoto/moto/ + https://pypi.org/project/moto/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/aws-xray-sdk-python-0.93[${PYTHON_USEDEP}] + >=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}] + >=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}] + dev-python/cookies[${PYTHON_USEDEP}] + >=dev-python/docker-py-3.0.0[${PYTHON_USEDEP}] + >=dev-python/idna-2.5[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}] + dev-python/boto3[${PYTHON_USEDEP}] + dev-python/botocore[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/flask-cors[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}] + >=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}] + dev-python/pretty-yaml[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-jose[${PYTHON_USEDEP}] + dev-python/python-sshpubkeys[${PYTHON_USEDEP}] + >=dev-python/responses-0.9.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.5[${PYTHON_USEDEP}] + dev-python/xmltodict[${PYTHON_USEDEP}] + dev-python/werkzeug[${PYTHON_USEDEP}] + dev-python/zipp[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + >=dev-python/sure-1.4.11[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + tests/test_firehose/test_firehose_put.py::test_put_record_http_destination + tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination + tests/test_swf/responses/test_decision_tasks.py::test_respond_decision_task_completed_with_schedule_activity_task_boto3 + tests/test_swf/responses/test_timeouts.py::test_activity_task_heartbeat_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_decision_task_start_to_close_timeout_boto3 + tests/test_swf/responses/test_timeouts.py::test_workflow_execution_start_to_close_timeout_boto3 + # broken code (local variable used referenced before definition) + tests/test_appsync/test_appsync_schema.py + tests/test_appsync/test_server.py::test_appsync_list_tags_for_resource + # Needs network (or docker?) but not marked as such, bug #807031 + # TODO: report upstream + tests/test_batch/test_batch_jobs.py::test_terminate_job + tests/test_batch/test_batch_jobs.py::test_cancel_pending_job + tests/test_batch/test_batch_jobs.py::test_cancel_running_job + tests/test_batch/test_batch_jobs.py::test_dependencies + tests/test_batch/test_batch_jobs.py::test_container_overrides + tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed + + tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function + tests/test_core/test_docker.py::test_docker_is_running_and_available + tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda + tests/test_sqs/test_integration.py::test_invoke_function_from_sqs_exception + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_exception + tests/test_s3/test_server.py::test_s3_server_post_to_bucket_redirect + tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]" + "tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]" + # TODO + tests/test_batch/test_batch_jobs.py::test_failed_dependencies + tests/test_batch/test_batch_jobs.py::test_failed_job + tests/test_batch_simple/test_batch_jobs.py::test_submit_job_by_name + tests/test_core/test_environ_patching.py::test_aws_keys_can_be_none + tests/test_core/test_mock_all.py::test_context_manager + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue + tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue + # require py_partiql_parser + tests/test_s3/test_s3_select.py + tests/test_dynamodb/test_dynamodb_statements.py + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # note: pytest-xdist causes random test failures + epytest -m 'not network' +} diff --git a/dev-python/pylibacl/Manifest b/dev-python/pylibacl/Manifest index 1375f3311cd5..5bce98e24acb 100644 --- a/dev-python/pylibacl/Manifest +++ b/dev-python/pylibacl/Manifest @@ -1 +1,2 @@ DIST pylibacl-0.6.0.gh.tar.gz 40231 BLAKE2B ba76f5540de62cec8572960b65f65289d7fe2066f76861240849c4c8175a9219b7ced086739b5a9b4d560a125c8fe759cc7b5b688bd4dc3d84ca4dc78897ea75 SHA512 a93ad199d9946490a863906411893a204bf801df71cf70217d6b29940a9365f05fd121116f22e054a3b8d27cd62e35c73566c1e0dd246ae5c0edd2f967df50ba +DIST pylibacl-0.7.0.tar.gz 47543 BLAKE2B 277c03d01ab184ffaaa2c07c56e8f2464cba8b6da0fbd251880d274bef3b27dc211f1571425d4216e02bbeba8c623edfa56cafbb27932092ffce254e6be8df5d SHA512 077515a00c7a048faf7792acd9c3e768d35674c0b3f4ec72fdf37561c90ed12bb392582a4fb9a23b7916db3375278c2636f2844f362a8335e7ad68e1e9b9c3bd diff --git a/dev-python/pylibacl/pylibacl-0.7.0.ebuild b/dev-python/pylibacl/pylibacl-0.7.0.ebuild new file mode 100644 index 000000000000..893074491835 --- /dev/null +++ b/dev-python/pylibacl/pylibacl-0.7.0.ebuild @@ -0,0 +1,43 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="POSIX ACLs (Access Control Lists) for Python" +HOMEPAGE=" + https://pylibacl.k1024.org/ + https://pypi.org/project/pylibacl/ + https://github.com/iustin/pylibacl/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=" + sys-apps/acl +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_test() { + if ! nonfatal epytest ; then + eerror + eerror "If you got the following errors:" + eerror "\"IOError: [Errno 95] Operation not supported\"," + eerror "then you should remount the filesystem containing" + eerror "build directory with \"acl\" option enabled." + eerror + die "Tests fail with ${EPYTHON}" + fi +} diff --git a/dev-python/pyproject-api/Manifest b/dev-python/pyproject-api/Manifest index 8d607289c8ae..2d16c660c2c7 100644 --- a/dev-python/pyproject-api/Manifest +++ b/dev-python/pyproject-api/Manifest @@ -1,2 +1 @@ -DIST pyproject-api-1.5.0.gh.tar.gz 22032 BLAKE2B 7e90bacffee70d2a2343f2360f5d0e6794a04a8b8b9be672150e5ac49e1dfabb0673b4c661ddc27f3fffa7bb3d04644e2b1809555987fc0d914a798fac667c8c SHA512 7a68df007e52c685f512fca26d371d1790f2fb9ced381025fe27462088cd4f1488b7edf4de94f6c1df989c4430336789b94d0b3bd634a2f6ec52f14f292b4474 DIST pyproject_api-1.5.1.tar.gz 22081 BLAKE2B 53ee778b4e04cac2f16ecd054adc7fd86373d6402f80d485fe22457252684f774b6a5df23d08cf6c6b1f96964d6dc1b1cc9014415f3d9105ffbb09421f69a11e SHA512 31936d242861027ea892e86219f430371aae18631c92893cefc8fb8fc02315906857ee57e5412eed62bf584e0bd24cca7ba82471c0ac6a72c71e8e93b8285a3e diff --git a/dev-python/pyproject-api/pyproject-api-1.5.0.ebuild b/dev-python/pyproject-api/pyproject-api-1.5.0.ebuild deleted file mode 100644 index 5156bacdad87..000000000000 --- a/dev-python/pyproject-api/pyproject-api-1.5.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -DESCRIPTION="API to interact with the python pyproject.toml based projects" -HOMEPAGE=" - https://github.com/tox-dev/pyproject-api/ - https://pypi.org/project/pyproject-api/ -" -SRC_URI=" - https://github.com/tox-dev/pyproject-api/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" - -RDEPEND=" - >=dev-python/packaging-21.3[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - ' 3.8 3.9 3.10) -" -BDEPEND=" - >=dev-python/hatch-vcs-0.2[${PYTHON_USEDEP}] - test? ( - >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] - >=dev-python/wheel-0.37.1[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.17[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -EPYTEST_DESELECT=( - # requires Python 2 installed - tests/test_frontend.py::test_can_build_on_python_2 -) diff --git a/dev-python/sip/sip-6.7.8.ebuild b/dev-python/sip/sip-6.7.8.ebuild index ad0e5bd76b4f..ee4486140a3e 100644 --- a/dev-python/sip/sip-6.7.8.ebuild +++ b/dev-python/sip/sip-6.7.8.ebuild @@ -24,7 +24,7 @@ fi LICENSE="|| ( GPL-2 GPL-3 SIP )" SLOT="5" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86" RDEPEND=" ! -Date: Tue, 14 Apr 2020 23:19:47 -0400 -Subject: [PATCH] Drop coverage dep for testing - ---- - setup.py | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/setup.py b/setup.py -index fb32743..1c9ef83 100644 ---- a/setup.py -+++ b/setup.py -@@ -81,7 +81,6 @@ else: - tests_require = [ - # The test dependencies should NOT have direct or transitive - # dependencies on zope.interface. -- 'coverage >= 5.0.3', - 'zope.event', - 'zope.testing', - ] --- -2.26.0 - diff --git a/dev-python/zope-interface/zope-interface-5.5.2.ebuild b/dev-python/zope-interface/zope-interface-5.5.2.ebuild deleted file mode 100644 index 66d21632bdfa..000000000000 --- a/dev-python/zope-interface/zope-interface-5.5.2.ebuild +++ /dev/null @@ -1,57 +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_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -MY_PN=${PN/-/.} -MY_P=${MY_PN}-${PV} - -DESCRIPTION="Interfaces for Python" -HOMEPAGE=" - https://github.com/zopefoundation/zope.interface/ - https://pypi.org/project/zope.interface/ -" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="ZPL" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - !dev-python/namespace-zope -" -BDEPEND=" - test? ( - dev-python/zope-event[${PYTHON_USEDEP}] - dev-python/zope-testing[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}"/5.1.0-drop-coverage.patch -) - -distutils_enable_tests unittest - -src_prepare() { - # strip rdep specific to namespaces - sed -e "/'setuptools'/d" -i 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 -} diff --git a/dev-python/zope-interface/zope-interface-6.0.ebuild b/dev-python/zope-interface/zope-interface-6.0.ebuild index 550b42390a49..fa059c3c4015 100644 --- a/dev-python/zope-interface/zope-interface-6.0.ebuild +++ b/dev-python/zope-interface/zope-interface-6.0.ebuild @@ -30,10 +30,6 @@ BDEPEND=" ) " -PATCHES=( - "${FILESDIR}"/5.1.0-drop-coverage.patch -) - distutils_enable_tests unittest src_prepare() { -- cgit v1.3