From 9d282869c8cbc652d8e34a3b8a9ef0898517dd8c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 10 Feb 2023 11:23:36 +0000 Subject: Adding metadata --- dev-python/Faker/Faker-16.8.1.ebuild | 33 ++++++ dev-python/Faker/Manifest | 1 + dev-python/aiocache/Manifest | 1 + dev-python/aiocache/aiocache-0.12.0.ebuild | 35 ++++++ .../aiocache-0.12.0-fix-test-installation.patch | 12 ++ dev-python/aiocache/metadata.xml | 14 +++ dev-python/argh/Manifest | 1 + dev-python/argh/argh-0.27.2.ebuild | 28 +++++ dev-python/arsenic/Manifest | 1 + dev-python/arsenic/arsenic-21.8.ebuild | 21 ++++ dev-python/arsenic/metadata.xml | 14 +++ dev-python/aws-sam-translator/Manifest | 2 - .../aws-sam-translator-1.57.0.ebuild | 66 ----------- .../aws-sam-translator-1.58.0.ebuild | 69 ----------- dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.26.68.ebuild | 68 +++++++++++ dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.29.68.ebuild | 74 ++++++++++++ dev-python/browser-cookie3/Manifest | 1 + .../browser-cookie3/browser-cookie3-0.17.0.ebuild | 29 +++++ dev-python/browser-cookie3/metadata.xml | 14 +++ .../click-plugins/click-plugins-1.1.1-r1.ebuild | 21 ++++ .../colored-traceback-0.3.0.ebuild | 2 +- dev-python/cx_Freeze/Manifest | 1 + dev-python/cx_Freeze/cx_Freeze-6.14.2.ebuild | 57 +++++++++ dev-python/cx_Freeze/metadata.xml | 4 - dev-python/hatchling/Manifest | 1 + dev-python/hatchling/hatchling-1.13.0.ebuild | 77 +++++++++++++ dev-python/hypothesis/Manifest | 1 + dev-python/hypothesis/hypothesis-6.68.0.ebuild | 77 +++++++++++++ dev-python/intervaltree/intervaltree-3.1.0.ebuild | 2 +- dev-python/jupyter_console/Manifest | 1 + .../jupyter_console/jupyter_console-6.5.0.ebuild | 39 +++++++ dev-python/lit/lit-16.0.0_rc2.ebuild | 2 +- dev-python/mkdocs-material/Manifest | 1 + .../mkdocs-material/mkdocs-material-9.0.12.ebuild | 53 +++++++++ dev-python/parallax/metadata.xml | 4 - dev-python/pdm-pep517/Manifest | 1 - dev-python/pdm-pep517/pdm-pep517-1.1.1-r1.ebuild | 63 ---------- dev-python/pdm-pep517/pdm-pep517-1.1.2-r1.ebuild | 63 ++++++++++ dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild | 63 ---------- dev-python/plumbum/plumbum-1.8.1.ebuild | 2 +- dev-python/podman-py/Manifest | 1 + dev-python/podman-py/podman-py-4.4.0.ebuild | 50 ++++++++ dev-python/pyproject-fmt/Manifest | 1 + .../pyproject-fmt/pyproject-fmt-0.8.0.ebuild | 38 ++++++ dev-python/pytest-check/Manifest | 1 + dev-python/pytest-check/pytest-check-2.1.3.ebuild | 30 +++++ dev-python/pytest-rerunfailures/Manifest | 1 + .../pytest-rerunfailures-11.1.ebuild | 31 +++++ dev-python/python-utils/Manifest | 1 + dev-python/python-utils/python-utils-3.5.2.ebuild | 38 ++++++ dev-python/rpyc/rpyc-5.2.3_p1.ebuild | 2 +- dev-python/setuptools/Manifest | 2 - dev-python/setuptools/setuptools-67.0.0.ebuild | 126 -------------------- dev-python/setuptools/setuptools-67.1.0.ebuild | 126 -------------------- dev-python/setuptools/setuptools-67.2.0-r1.ebuild | 128 +++++++++++++++++++++ dev-python/setuptools/setuptools-67.2.0.ebuild | 121 ------------------- dev-python/sqlalchemy/Manifest | 4 +- dev-python/sqlalchemy/sqlalchemy-1.4.44.ebuild | 96 ---------------- dev-python/sqlalchemy/sqlalchemy-2.0.0.ebuild | 112 ------------------ dev-python/sqlalchemy/sqlalchemy-2.0.1.ebuild | 112 ------------------ dev-python/sqlalchemy/sqlalchemy-2.0.3.ebuild | 110 ++++++++++++++++++ dev-python/structlog/Manifest | 1 + dev-python/structlog/metadata.xml | 14 +++ dev-python/structlog/structlog-22.3.0.ebuild | 26 +++++ dev-python/tenacity/Manifest | 1 + dev-python/tenacity/tenacity-8.2.1.ebuild | 40 +++++++ dev-python/trimesh/Manifest | 1 + dev-python/trimesh/trimesh-3.19.3.ebuild | 66 +++++++++++ dev-python/zipp/Manifest | 1 + dev-python/zipp/zipp-3.13.0.ebuild | 51 ++++++++ 72 files changed, 1378 insertions(+), 975 deletions(-) create mode 100644 dev-python/Faker/Faker-16.8.1.ebuild create mode 100644 dev-python/aiocache/Manifest create mode 100644 dev-python/aiocache/aiocache-0.12.0.ebuild create mode 100644 dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch create mode 100644 dev-python/aiocache/metadata.xml create mode 100644 dev-python/argh/argh-0.27.2.ebuild create mode 100644 dev-python/arsenic/Manifest create mode 100644 dev-python/arsenic/arsenic-21.8.ebuild create mode 100644 dev-python/arsenic/metadata.xml delete mode 100644 dev-python/aws-sam-translator/aws-sam-translator-1.57.0.ebuild delete mode 100644 dev-python/aws-sam-translator/aws-sam-translator-1.58.0.ebuild create mode 100644 dev-python/boto3/boto3-1.26.68.ebuild create mode 100644 dev-python/botocore/botocore-1.29.68.ebuild create mode 100644 dev-python/browser-cookie3/Manifest create mode 100644 dev-python/browser-cookie3/browser-cookie3-0.17.0.ebuild create mode 100644 dev-python/browser-cookie3/metadata.xml create mode 100644 dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild create mode 100644 dev-python/cx_Freeze/cx_Freeze-6.14.2.ebuild create mode 100644 dev-python/hatchling/hatchling-1.13.0.ebuild create mode 100644 dev-python/hypothesis/hypothesis-6.68.0.ebuild create mode 100644 dev-python/jupyter_console/jupyter_console-6.5.0.ebuild create mode 100644 dev-python/mkdocs-material/mkdocs-material-9.0.12.ebuild delete mode 100644 dev-python/pdm-pep517/pdm-pep517-1.1.1-r1.ebuild create mode 100644 dev-python/pdm-pep517/pdm-pep517-1.1.2-r1.ebuild delete mode 100644 dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild create mode 100644 dev-python/podman-py/podman-py-4.4.0.ebuild create mode 100644 dev-python/pyproject-fmt/pyproject-fmt-0.8.0.ebuild create mode 100644 dev-python/pytest-check/pytest-check-2.1.3.ebuild create mode 100644 dev-python/pytest-rerunfailures/pytest-rerunfailures-11.1.ebuild create mode 100644 dev-python/python-utils/python-utils-3.5.2.ebuild delete mode 100644 dev-python/setuptools/setuptools-67.0.0.ebuild delete mode 100644 dev-python/setuptools/setuptools-67.1.0.ebuild create mode 100644 dev-python/setuptools/setuptools-67.2.0-r1.ebuild delete mode 100644 dev-python/setuptools/setuptools-67.2.0.ebuild delete mode 100644 dev-python/sqlalchemy/sqlalchemy-1.4.44.ebuild delete mode 100644 dev-python/sqlalchemy/sqlalchemy-2.0.0.ebuild delete mode 100644 dev-python/sqlalchemy/sqlalchemy-2.0.1.ebuild create mode 100644 dev-python/sqlalchemy/sqlalchemy-2.0.3.ebuild create mode 100644 dev-python/structlog/Manifest create mode 100644 dev-python/structlog/metadata.xml create mode 100644 dev-python/structlog/structlog-22.3.0.ebuild create mode 100644 dev-python/tenacity/tenacity-8.2.1.ebuild create mode 100644 dev-python/trimesh/trimesh-3.19.3.ebuild create mode 100644 dev-python/zipp/zipp-3.13.0.ebuild (limited to 'dev-python') diff --git a/dev-python/Faker/Faker-16.8.1.ebuild b/dev-python/Faker/Faker-16.8.1.ebuild new file mode 100644 index 000000000000..a1f375d5c26e --- /dev/null +++ b/dev-python/Faker/Faker-16.8.1.ebuild @@ -0,0 +1,33 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python package that generates fake data for you" +HOMEPAGE=" + https://github.com/joke2k/faker/ + https://pypi.org/project/Faker/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}] + !dev-ruby/faker +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP},tiff] + dev-python/validators[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/Faker/Manifest b/dev-python/Faker/Manifest index 31b2feb98f4a..cafd0243665e 100644 --- a/dev-python/Faker/Manifest +++ b/dev-python/Faker/Manifest @@ -5,3 +5,4 @@ DIST Faker-16.4.0.tar.gz 1624299 BLAKE2B 3f3fd6f1ca60c4c481817bcb6f822f265843099 DIST Faker-16.6.0.tar.gz 1625783 BLAKE2B d5a1cd6d8a7161eabf9a36bade94ae0003c5bd4cef48c33b19f6e7a30289267962ec9820cdae85316cb53b16b1a3734d751160db1aa5803ee60c746baa1828c1 SHA512 32f4d8c19ff09c4e415936f458a1ab821be74c4e0e8a79e01d584a8f46ad641b7d873f3a5c2bb3990ffaedb16d0b84eb8a7c610dc6e17b00619045a2c70ed433 DIST Faker-16.6.1.tar.gz 1626043 BLAKE2B 2fc44018b76fffa1f0e249905d20fbc78bc1ab4ffcc3d2448067bfce8c1fd16caf64ce0e073b706a4d0461fd12f4758777a9f9df79b2682a74681dcbcbb7479e SHA512 d2a9add29c6511c452e1ac6749af6772ec5cf0713fe88d773f338f7d1173202bbbc55265e3bbd5cd8d84d9cd4bde153bf614b6840913b704d5c7eed30f4b5512 DIST Faker-16.7.0.tar.gz 1626808 BLAKE2B e2a93903436ee113d76fe5b1403b6e239237c78a64b70b297eb5f5e348a388f7ea681c08f7b60b4ff3bbdcdbdf1a1b348359e690c0c959ec4948b10ec3cec69f SHA512 e3079651d1448dd6a5ff231a1676c00de00703857284c1b5a4261dad2414a84e3cc72891b038bcf52ef9da55075db3b3ee2c742b74832aeaba34bece5a0f8353 +DIST Faker-16.8.1.tar.gz 1649844 BLAKE2B 3ec9b7566342e569580fa8db4df20708ef9b1b6ab0ccdb31b9a33dbe0c7ff3c77ff1b7698e1cf478254d3625d9c516b2b84bcda9bb1d1bdff2161b6d5fcb1056 SHA512 9ea00ec96af0de6a939b9ab3812c75627f2a76514ac6236614d7455b123e4909f9ffe12e9e84f161e0b0b0f2b0f0ddc4ff6661dce788653dd4b8c12098a871fa diff --git a/dev-python/aiocache/Manifest b/dev-python/aiocache/Manifest new file mode 100644 index 000000000000..421a8f796e2c --- /dev/null +++ b/dev-python/aiocache/Manifest @@ -0,0 +1 @@ +DIST aiocache-0.12.0.tar.gz 127002 BLAKE2B efb07ff146d777e99154c839d01665d35fbba410e1a1ca80d4c71f639e69abf43509d79398679027f0a94eb24cfdf933f5762418bd3f43dd441281cc1b1b5236 SHA512 8437c148cc2d40737c0352b0a2fa19636124b71bc03f206066e5c7b8910aa0f0bddfa40587d50a4acd86abd88e8db595a92e267d4b25234f20ccba94e5a63e7e diff --git a/dev-python/aiocache/aiocache-0.12.0.ebuild b/dev-python/aiocache/aiocache-0.12.0.ebuild new file mode 100644 index 000000000000..d1e8efd6d95e --- /dev/null +++ b/dev-python/aiocache/aiocache-0.12.0.ebuild @@ -0,0 +1,35 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Asyncio cache manager" +HOMEPAGE="https://github.com/aio-libs/aiocache/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# TODO add optional cache systems deps (and new package aiomcache) +# Tests require all backends +RESTRICT="test" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + )" + +PATCHES=( "${FILESDIR}/${PN}-0.12.0-fix-test-installation.patch" ) + +distutils_enable_tests pytest + +python_test() { + epytest -o addopts= +} diff --git a/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch b/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch new file mode 100644 index 000000000000..a64f618931ed --- /dev/null +++ b/dev-python/aiocache/files/aiocache-0.12.0-fix-test-installation.patch @@ -0,0 +1,12 @@ +diff -Naur aiocache-0.12.0.orig/setup.py aiocache-0.12.0/setup.py +--- aiocache-0.12.0.orig/setup.py 2023-01-13 21:54:07.000000000 +0100 ++++ aiocache-0.12.0/setup.py 2023-02-09 22:45:48.004077571 +0100 +@@ -29,7 +29,7 @@ + "Programming Language :: Python :: 3.11", + "Framework :: AsyncIO", + ], +- packages=find_packages(), ++ packages=find_packages(exclude=['tests*']), + install_requires=None, + extras_require={ + "redis": ["redis>=4.2.0"], diff --git a/dev-python/aiocache/metadata.xml b/dev-python/aiocache/metadata.xml new file mode 100644 index 000000000000..77f28a89159f --- /dev/null +++ b/dev-python/aiocache/metadata.xml @@ -0,0 +1,14 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + python@gentoo.org + Python + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/argh/Manifest b/dev-python/argh/Manifest index 4ed4fb355d9f..d6476d33119f 100644 --- a/dev-python/argh/Manifest +++ b/dev-python/argh/Manifest @@ -1,2 +1,3 @@ DIST argh-0.26.2.tar.gz 32913 BLAKE2B 315dc36c4a98cb4a8fdab68a30ed3d4d87d1565717722ed496255d8b1b4e505277032217da4c5d750f210974890d8094c52f920044173ff2168adf7cb7f6a2bd SHA512 90382900d5cec9629dacb4459a2c9491d1425b66fa3f90d7cbf511dec846a99dbb9424f3e08f0c006da48fbf9c067078705be70b314700541fd800630e4b1707 DIST argh-0.27.1.tar.gz 49106 BLAKE2B 48f21d920d97111656cb5b18c956c7fdda94ae242f92ebfb02c47b55d5ccc1b82b0ef8b94a721f97fb3638b15b38ce3293fbe46ab123ed9c968efdb2e881d8f3 SHA512 edddd35b2a90c6286818986945e9ea8484dd06bc263016d8c52b0e29475dbad610d673acc0918d0cf62657b1d965bb0d59e51af4c384ae0610f471c748a90999 +DIST argh-0.27.2.tar.gz 49200 BLAKE2B 4599781854feb0aa1b5251f6361bcf4e5e4f96c391fd8be3e5a3397d2a6130ec9111f36ad87dd553345a0d9d6471d20ecca7cd7462d41012c8117d2a07f18290 SHA512 9bed6d5f4ea6407be675b4b5c015e0bda5015ef78289ba9c08503687dc33d91fcda9aabdb9a94b9e3dc11020edf873e51eb1ef9d7ee0831b4f0eb0e302b83b98 diff --git a/dev-python/argh/argh-0.27.2.ebuild b/dev-python/argh/argh-0.27.2.ebuild new file mode 100644 index 000000000000..8e5716e7e64a --- /dev/null +++ b/dev-python/argh/argh-0.27.2.ebuild @@ -0,0 +1,28 @@ +# 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} pypy3 ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 pypi + +DESCRIPTION="A simple argparse wrapper" +HOMEPAGE=" + https://pythonhosted.org/argh/ + https://github.com/neithere/argh/ + https://pypi.org/project/argh/ +" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +LICENSE="LGPL-3" + +BDEPEND=" + test? ( + dev-python/iocapture[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/arsenic/Manifest b/dev-python/arsenic/Manifest new file mode 100644 index 000000000000..596bae7270d4 --- /dev/null +++ b/dev-python/arsenic/Manifest @@ -0,0 +1 @@ +DIST arsenic-21.8.tar.gz 16300 BLAKE2B 8260ab046c4d87e2a91ed366f46954a00a853d586acbd534b84addfd654610e4c5d03509d97bba653a699fa0b64fe66a1af6d89f638bab407d7725e94d9c58ee SHA512 55fd0e6f9acf1f578d990146b81f7f91d8c58aa68601840346c80cf7c535d5412a983c1cf0ee355383f80f6b667ef7a63b22dae8192b51e85541258a143ab366 diff --git a/dev-python/arsenic/arsenic-21.8.ebuild b/dev-python/arsenic/arsenic-21.8.ebuild new file mode 100644 index 000000000000..9bf139115b0e --- /dev/null +++ b/dev-python/arsenic/arsenic-21.8.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=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Asynchronous WebDriver client" +HOMEPAGE="https://github.com/HENNGE/arsenic" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/structlog[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" diff --git a/dev-python/arsenic/metadata.xml b/dev-python/arsenic/metadata.xml new file mode 100644 index 000000000000..77f28a89159f --- /dev/null +++ b/dev-python/arsenic/metadata.xml @@ -0,0 +1,14 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + python@gentoo.org + Python + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/aws-sam-translator/Manifest b/dev-python/aws-sam-translator/Manifest index d3348152b78a..12a352f19925 100644 --- a/dev-python/aws-sam-translator/Manifest +++ b/dev-python/aws-sam-translator/Manifest @@ -1,4 +1,2 @@ -DIST aws-sam-translator-1.57.0.gh.tar.gz 1137862 BLAKE2B c164745cf0777dbaea3b95aff8a2ae64973157481edf6f27aab8d376bb4efce322edb40094f0a485ff16abf29fbe02f983a76d41fef20d012a99510fdfe66727 SHA512 0451ffdd4ce79ab3416d63807e068d0431e18180bbd82fb2abb5c14d03ef7232d5e7a2ee13e454df17894bdaca1813fb2af4bbfb87ef274c5c31d64371f05336 -DIST aws-sam-translator-1.58.0.gh.tar.gz 1151591 BLAKE2B 77c5aa88330156ce1c9496a1ab6e5f1ec35bf8405fc24cc95ee78b40f6c57813605365c903e66566f93877989c8a2cfcc9c10184df27791fd4c7b4519a9b41dd SHA512 ce2002c967b9dfc973d61ee2462010ccfc0b8dc9aa2233234205fe38467c5bfc115f27bb34c1e3a8f7d5b669b4190ca2bd983590fa8de898899133e54190223b DIST aws-sam-translator-1.58.1.gh.tar.gz 1151817 BLAKE2B a3ba2cc304e25a5d527fdef793deb232c1852ceda51df1bfe75ccbe150c8b08d8dfebfa1933f1722e20cecad6f88af596bbeffd203fce7855c3faaaee2f434bf SHA512 341d6346f7daaab3713962613a89b53d0e852d274222e408d9f314a01ec55fa1bc4ac0111bab54ab802caaa956923f0504c2bf620f06073a85c70c8fa28d15ad DIST aws-sam-translator-1.59.0.gh.tar.gz 1688806 BLAKE2B 66e63f5d008b120d95b2258552ba7ea531b6dc2d0090360c3777bcac167f95a0167cf200a8b29d798699e87a060befee71f7e8316ed395eded073960b4f1a18b SHA512 558b5dfe586c0badb7b5b5f35a6b841ffe94f2e6fb68acf7c492529abfe3756760fc5d8cdb16550ebbc47671fa12e09620b445d086f008d05f80606710ec67a9 diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.57.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.57.0.ebuild deleted file mode 100644 index 621b6c49bb05..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.57.0.ebuild +++ /dev/null @@ -1,66 +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_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE=" - https://github.com/aws/serverless-application-model/ - https://pypi.org/project/aws-sam-translator/ -" -SRC_URI=" - https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/serverless-application-model-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - =dev-python/boto3-1.19.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - tests/validator/test_validator_api.py::TestValidatorApi::test_errors_13_error_definitionuri - tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2 - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_success_one_app - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_throttling_doesnt_stop_processing - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sleep_between_sar_checks - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_unexpected_sar_error_stops_processing - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_and_on_after_transform_template::test_time_limit_exceeds_between_combined_sar_calls -) - -python_prepare_all() { - # remove pytest-cov dependency - sed -i -e '/addopts/d' pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/aws-sam-translator/aws-sam-translator-1.58.0.ebuild b/dev-python/aws-sam-translator/aws-sam-translator-1.58.0.ebuild deleted file mode 100644 index eaf92854bf46..000000000000 --- a/dev-python/aws-sam-translator/aws-sam-translator-1.58.0.ebuild +++ /dev/null @@ -1,69 +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_{10..11} ) - -inherit distutils-r1 - -DESCRIPTION="A library that transform SAM templates into AWS CloudFormation templates" -HOMEPAGE=" - https://github.com/aws/serverless-application-model/ - https://pypi.org/project/aws-sam-translator/ -" -SRC_URI=" - https://github.com/aws/serverless-application-model/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/serverless-application-model-${PV}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - =dev-python/boto3-1.19.5[${PYTHON_USEDEP}] - >=dev-python/jsonschema-3.2[${PYTHON_USEDEP}] - >=dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -EPYTEST_DESELECT=( - tests/validator/test_validator_api.py::TestValidatorApi::test_errors_13_error_definitionuri - tests/unit/test_region_configuration.py::TestRegionConfiguration::test_is_service_supported_positive_4_ec2 - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_success_one_app - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sar_throttling_doesnt_stop_processing - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_sleep_between_sar_checks - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_transform_template_translate::test_unexpected_sar_error_stops_processing - tests/plugins/application/test_serverless_app_plugin.py::TestServerlessAppPlugin_on_before_and_on_after_transform_template::test_time_limit_exceeds_between_combined_sar_calls - tests/model/eventsources/test_msk_event_source.py::MSKEventSource::test_get_policy_arn - tests/swagger/test_swagger.py::TestSwaggerEditor_add_lambda_integration::test_must_add_credentials_to_the_integration - tests/swagger/test_swagger.py::TestSwaggerEditor_add_lambda_integration::test_must_add_credentials_to_the_integration_overrides -) - -python_prepare_all() { - # remove pytest-cov dependency - sed -i -e '/addopts/d' pytest.ini || die - - # deps are installed by ebuild, don't try to reinstall them via pip - truncate --size=0 requirements/*.txt || die - - distutils-r1_python_prepare_all -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0460eed3687c..d5553493d1fc 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.26.64.gh.tar.gz 597913 BLAKE2B f3dc63388cf4055c58610eaf980c10ff4d29 DIST boto3-1.26.65.gh.tar.gz 598836 BLAKE2B f6e5c14f120bdaa2e797cbd2f62eb0420a28ee5d677705fff8724d22b730ed28090a106ae69cc5b948e8cb5d50dc2d237c2f769d50f1d33634919fd1f116e897 SHA512 575718f82fc0bcf59b724233aca55ca265add7c45b84f8dd63c475a2c6c6ad821dedf4846aa61bc7a8d875fa5bcf438b50d09112bfddaf72373dfdde4f1f7882 DIST boto3-1.26.66.gh.tar.gz 598939 BLAKE2B c3c8c4bebdb4432beea858226dbb5eb3bfb33d51c776bd619d08b67789a9851963066c50f2e1bd41dccf0c7b35169824b2d8a0a0a9abf98f087890654251f996 SHA512 bd74f1a0264f67532a54f055c7269d53c12298d265a136e431586448eaf2cac23b0fbc133c69a19954cb3b3c52fd4604ac0e0e1a7d04a3ddded67b5a90d7096c DIST boto3-1.26.67.gh.tar.gz 599119 BLAKE2B e9cd1877eaa3b6d26cbcece1983a5e89a88f7ecdab1e90b436f358015d4fde13f544b004166917c611cb7bfcd882d3ee9040001c719f2ed44e5ed1ce19bf01b7 SHA512 26e4fbaedc0af7ba94e804c6937984919742e7adcdc65179fa1fb6cf183406d1d5ca15b3a1972b68c3154f1cd7b108d5c626357c4a58185f23edb6a86c63b3d6 +DIST boto3-1.26.68.gh.tar.gz 599758 BLAKE2B 213c77035158e5c410f35432a5ff4c75ec07cb15719873846c07a319c7b236fc641f81eea239ea25c09eef136415547aede925663c33c243e604327e51416b05 SHA512 0fa313f3ba50f2fec1c16c88b1a2bbfacad4dd4d7db13a7994f7ae08e225f170b4355d0a549b80a451db5047872926d791c4feb2b68451bf83ff11ff7a303cbd diff --git a/dev-python/boto3/boto3-1.26.68.ebuild b/dev-python/boto3/boto3-1.26.68.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.68.ebuild @@ -0,0 +1,68 @@ +# 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 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 7d58c84efc2e..6d8a1205eac1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -5,3 +5,4 @@ DIST botocore-1.29.64.gh.tar.gz 11141125 BLAKE2B 955c7ac0630bd8df8004a0a3d0ec64a DIST botocore-1.29.65.gh.tar.gz 11138878 BLAKE2B 6757ec86d6c3428a345217cf4903c8a74de4389f52528779ba3cf575098730c61bd228e7d9476665f4fd141bc5a3fc42c30edfcfcf4f2dc85c9ee5421c3bfc7a SHA512 e4472d44014502f468ec5009bd11015f44913fb7d1a42a51190ec70e74972613513c98cc0f7bc6b3646b7156831e1421c4a225d6fb350edd83006891313795c2 DIST botocore-1.29.66.gh.tar.gz 11139268 BLAKE2B c95ac52a4b0cf4cb407b0ed7452d1454f78ec48a9a4903b18f77fec223fde18dfa0507bfdd89a45428efdfd1cda19f48e881cb0fcae0e1afa9d05f33a2e43434 SHA512 27b0253ea7bd094adb7978207c82cc11460fecd301642ab831c9c7f7d960642bebedec8ac7f88af911b804ec3d085dffff01cccfedc0165f19be8e2154e7b7e4 DIST botocore-1.29.67.gh.tar.gz 11137715 BLAKE2B 584e7db3adc61dd96b05384e1572c68857e2c5e8c473ade147722ccf7691dc5bd59833e7a8ea4a46149b5acda0f159aca1ce9e67212f0f5c3378b65962752680 SHA512 44059a8cf95b47e11e51e7bff9ae9e9c014ff8cac414fa885b21d1e9b55b599038d3ea72930ae1f1799963297cf9ed545eceb7ed5cfec51a585468481e9e9919 +DIST botocore-1.29.68.gh.tar.gz 11140752 BLAKE2B c95a8830dcf308e9228aedbd6e168ba86fc4690c355525d9417cf15bb87f387deba6a2b32d848e3ce5052654b3709063f94eff9694d1d9b7f564cf83c13f4e94 SHA512 fc311c555881b752b646d6e376b766c1a480ba20d675e999e7da198fcd1fcd44cd0744369ca5314a26b9f6bac0e274a050509ba6982f34bcf37df7fc6b0dbba6 diff --git a/dev-python/botocore/botocore-1.29.68.ebuild b/dev-python/botocore/botocore-1.29.68.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.68.ebuild @@ -0,0 +1,74 @@ +# 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 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} diff --git a/dev-python/browser-cookie3/Manifest b/dev-python/browser-cookie3/Manifest new file mode 100644 index 000000000000..5cfca6d0eaa2 --- /dev/null +++ b/dev-python/browser-cookie3/Manifest @@ -0,0 +1 @@ +DIST browser-cookie3-0.17.0.tar.gz 14926 BLAKE2B 9be2310f0250ea1f20a1b3ee2ef252f8d6fe0100e63f6cc63a22b1ea28ae138c71e383ce0e84955a3399cc7b88079669c97a1577033dfe360f77ac7304e08b53 SHA512 db9a734c3fd76d770d2f0ef8f821ba4e38880e883e8b19a9953b9edf9df9e5eeea053f3005b596caa9f5d54e7e17f4a7b2db056c2c17616d6d5702853e0f3fae diff --git a/dev-python/browser-cookie3/browser-cookie3-0.17.0.ebuild b/dev-python/browser-cookie3/browser-cookie3-0.17.0.ebuild new file mode 100644 index 000000000000..ecafbbe23126 --- /dev/null +++ b/dev-python/browser-cookie3/browser-cookie3-0.17.0.ebuild @@ -0,0 +1,29 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Loads cookies from your browser into a cookiejar object" +HOMEPAGE="https://github.com/borisbabic/browser_cookie3/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/lz4[${PYTHON_USEDEP}] + dev-python/pycryptodome[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +python_prepare_all() { + # make cryptodome-friendly + sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die + sed -i -e 's:Cryptodome:Crypto:g' __init__.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/browser-cookie3/metadata.xml b/dev-python/browser-cookie3/metadata.xml new file mode 100644 index 000000000000..77f28a89159f --- /dev/null +++ b/dev-python/browser-cookie3/metadata.xml @@ -0,0 +1,14 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + python@gentoo.org + Python + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild b/dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild new file mode 100644 index 000000000000..b50f19c0a573 --- /dev/null +++ b/dev-python/click-plugins/click-plugins-1.1.1-r1.ebuild @@ -0,0 +1,21 @@ +# 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 pypi + +DESCRIPTION="Module for click to enable registering CLI commands via setuptools entry-points" +HOMEPAGE="https://github.com/click-contrib/click-plugins" + +LICENSE="BSD" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +SLOT="0" + +RDEPEND="dev-python/click[${PYTHON_USEDEP}]" +BDEPEND="test? ( ${RDEPEND} )" + +distutils_enable_tests pytest diff --git a/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild b/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild index 72ed8af48ebe..44c2272230ec 100644 --- a/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild +++ b/dev-python/colored-traceback/colored-traceback-0.3.0.ebuild @@ -14,6 +14,6 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~riscv ~x86" RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" diff --git a/dev-python/cx_Freeze/Manifest b/dev-python/cx_Freeze/Manifest index f12780ddaa16..5a9dc4704f75 100644 --- a/dev-python/cx_Freeze/Manifest +++ b/dev-python/cx_Freeze/Manifest @@ -1 +1,2 @@ DIST cx_Freeze-6.13.1.gh.tar.gz 1486207 BLAKE2B aa0151fed482714e41a859059f9672950249ad7fe50fa2accaa9d6af7ddc183a8f74d87337f274849a34a404dda0c732300343b58cd872f3bd03bf275c2f4d97 SHA512 48d569fdce5c6cb100232ce3577f0a55a40f3d1dcafa884a4d62af7f27200a21eb892504b47fb7cd106f410354b70d98a8e5245382431bc1f6d990510c77cb36 +DIST cx_Freeze-6.14.2.gh.tar.gz 1647508 BLAKE2B 7b14a75a21dbeb360c61609e9ac018c6e8bba6ffb357781cc2d8d27cd3cc27e054587845d117ce25912cd57b3fe83c037e5b76f55cd593890f66056ff18039df SHA512 40158afb0e2291c4a2f161eb2ef733fc8a2107c620dcf87f812bb0f6b81bfd06e3ec1b4108333c7d43a4855605621745395e765a825a68f3dd62b3edc21fc3c3 diff --git a/dev-python/cx_Freeze/cx_Freeze-6.14.2.ebuild b/dev-python/cx_Freeze/cx_Freeze-6.14.2.ebuild new file mode 100644 index 000000000000..3ef0f7762c5d --- /dev/null +++ b/dev-python/cx_Freeze/cx_Freeze-6.14.2.ebuild @@ -0,0 +1,57 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="Create standalone executables from Python scripts" +HOMEPAGE=" + https://cx-freeze.readthedocs.io/ + https://github.com/marcelotduarte/cx_Freeze/ + https://pypi.org/project/cx-Freeze/ +" +SRC_URI=" + https://github.com/marcelotduarte/cx_Freeze/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PYTHON" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/importlib_metadata[${PYTHON_USEDEP}] + dev-util/patchelf + virtual/libcrypt:= + $(python_gen_cond_dep ' + dev-python/backports-zoneinfo[${PYTHON_USEDEP}] + ' 3.8) +" +BDEPEND=" + test? ( + dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + # bug #491602 + "${FILESDIR}/${PN}-6.8.2-buildsystem.patch" +) + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # new setuptools? + tests/test_command_bdist_rpm.py::test_bdist_rpm +) diff --git a/dev-python/cx_Freeze/metadata.xml b/dev-python/cx_Freeze/metadata.xml index c536f103f8e7..853174b8f2ab 100644 --- a/dev-python/cx_Freeze/metadata.xml +++ b/dev-python/cx_Freeze/metadata.xml @@ -1,10 +1,6 @@ - - pinkbyte@gentoo.org - Sergey Popov - python@gentoo.org Python diff --git a/dev-python/hatchling/Manifest b/dev-python/hatchling/Manifest index f472955e43c3..1ddb0224582e 100644 --- a/dev-python/hatchling/Manifest +++ b/dev-python/hatchling/Manifest @@ -1 +1,2 @@ DIST hatch-hatchling-v1.12.2.gh.tar.gz 381872 BLAKE2B 6290daca1f2d2cd4eb9479b2f34b782881651c0106008c8876c355e5f3aa12cdbd0168765fdc04dd7870f9b88d44cc1be8d3849b2f20393bf64bebe9dbf09dd9 SHA512 74404b3b5369f6a8350cbde9675de6d9d7a72aca721714d47d8c4052c341affed1ebb4f4caae96877c2ccf2c4bab29b8323643e2a3d7de67bfe5888f3a08cdca +DIST hatch-hatchling-v1.13.0.gh.tar.gz 383610 BLAKE2B 0a3dc20f6c1c504c94c09897e23e6ade844318488093cf849e332cf08f7be178ddb3ae61d8ff01af93438c01216b056a3566e9d8758a0151e4d7498447a9524f SHA512 fb14e1d088676dfc2b76dda207aa514232c3c5b8472d7332c0d53e0bd4dbd1d0e3bd1ac9f261f72e1a32610c565485f5e382fc7071e80066735a04eb8cade13e diff --git a/dev-python/hatchling/hatchling-1.13.0.ebuild b/dev-python/hatchling/hatchling-1.13.0.ebuild new file mode 100644 index 000000000000..963b8aa23a67 --- /dev/null +++ b/dev-python/hatchling/hatchling-1.13.0.ebuild @@ -0,0 +1,77 @@ +# 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 ~mips ~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) +" +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/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 8ea33655c8f4..bd1899da9b29 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -8,3 +8,4 @@ DIST hypothesis-6.66.0.gh.tar.gz 9349578 BLAKE2B 3dcdd9bcca00849d68a4bf136878409 DIST hypothesis-6.66.1.gh.tar.gz 9349822 BLAKE2B 728b6e1cb2a28a07cae066bb2e2f8099f21f9a27dbbcc27db1c4f97f6541f60464d90344630df75eb5cea9a65e865a296dbd8b5e20bcbbc17840c92d8f269ac7 SHA512 58ddb6c2bb77064d25ace1740bc5a9ba4d4b6c311da065aa065854c19d4920ec9d70b83935e1b9d057eb10c96c4fdfb445d17c6f321578cbde449df3c5edf704 DIST hypothesis-6.67.0.gh.tar.gz 9349921 BLAKE2B 03c2a16a1895ed45d9b902c378b6f5d55ef205999f7e69f4405a350b615e6dfccf225c76a193be412efa16d9e13a86a8f003955738e53f669578c01bca30ea9b SHA512 9ce51254d3285d859c877bd2a074fc837ea817f9eb8dcc6b4048d5af4650a958da66f5d46b7e68108a98fe0b4b6115fa2531adb43b94a4f38c8494c54b0e9a9d DIST hypothesis-6.67.1.gh.tar.gz 9349899 BLAKE2B 279c0d6e1c690174ad5b2f2fa4c8eb42eb5f319d20b7fa362d8c69632ed05d54251e0a09a5025ef090df53d0660cfa3b4925b721ceadbad3cd59a64ea2ed882f SHA512 ea89f7cbd5bb1e5756a24da4996c3420f8eef5c7db543004d66d023bdcd05687c3d09d6b0a4213af42f449ea3c7c5140a96410cf94de15084a421c7cab95504e +DIST hypothesis-6.68.0.gh.tar.gz 9350032 BLAKE2B c122455b7f941eaba8b37b7c4bd4760b2ea0d7c5cf3e973544b80edfa17ea13870c9c5121a121178850154f0058e55c4051ff0ea98d35d3c312468202108a04d SHA512 7ca3e79c1c5e091ae829244e1f6b3563c61add0a5bbe7a7b254df85191778a4b05a21f82ca3f50ba6e77a5ec5c9ec06d7dd15c6cf423c1a2eb524a2aeb3f2c91 diff --git a/dev-python/hypothesis/hypothesis-6.68.0.ebuild b/dev-python/hypothesis/hypothesis-6.68.0.ebuild new file mode 100644 index 000000000000..c1f03337fcd2 --- /dev/null +++ b/dev-python/hypothesis/hypothesis-6.68.0.ebuild @@ -0,0 +1,77 @@ +# 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_{9..10} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} 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.8 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/mock[${PYTHON_USEDEP}] + dev-python/pexpect[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + !! gentoo_version.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/parallax/metadata.xml b/dev-python/parallax/metadata.xml index 1ef9d559dd8d..6cf040749c70 100644 --- a/dev-python/parallax/metadata.xml +++ b/dev-python/parallax/metadata.xml @@ -1,10 +1,6 @@ - - pinkbyte@gentoo.org - Sergey Popov - cluster@gentoo.org Gentoo Cluster Project diff --git a/dev-python/pdm-pep517/Manifest b/dev-python/pdm-pep517/Manifest index 7d9c88cf1261..9cbc840b0615 100644 --- a/dev-python/pdm-pep517/Manifest +++ b/dev-python/pdm-pep517/Manifest @@ -1,3 +1,2 @@ DIST pdm-pep517-1.0.6.gh.tar.gz 315755 BLAKE2B 7b221d9ddc9683521e901177cafd2ffd2908af4acbe083b4a7d6525a81ece64d3768331135451d45ffc5c40c67c8c72802d75d52fdf85fa89a13f30110436a13 SHA512 5aeef3179d508d2acaedf4b99df41e64b26537120e586a01870651d2b379e2e5a1bf42934ee28a4b285cb83fe10ead073408b6b7d022ca1f55653533d12a2da1 -DIST pdm-pep517-1.1.1.gh.tar.gz 234424 BLAKE2B 7bf64c741c6e0e135d8d2358c7eee0777af792a32a825813e1d8dddbfeeeacfb232861dec063ba18a8f8f3587748bb63706a225114eaa60dcc02b40ce8a9ae5c SHA512 5ea8beb0275a2faae9b13c0f13da0f6d3ed8f3bf8f46572b9805daec6174fbfadc093158608b7b6ede4b682240d39edf904d2ad412c1fbdf4054ecb0b6d01283 DIST pdm-pep517-1.1.2.gh.tar.gz 231983 BLAKE2B b2225da24f52d4d2c1a903db57f000a1fb2ba8435083d956ff740d272ee2fa8f00cf001673e32800fc0437ae2d1016cac661fda24f8b5f34c83a342fd3e8c353 SHA512 8f6140492ef8323044f01887895e6664019092f964e1fae3a829bcefb3d5d9c9223ef163183899681270f95b4a3a517951b7e44629ec3f37598c04ccbb221cac diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.1-r1.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.1-r1.ebuild deleted file mode 100644 index e2e2f7b655b3..000000000000 --- a/dev-python/pdm-pep517/pdm-pep517-1.1.1-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -# upstream has renamed the repo but the legacy branch is still published -# as pdm-pep517, sigh -MY_P=pdm-backend-${PV} -DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" -HOMEPAGE=" - https://pypi.org/project/pdm-pep517/ - https://github.com/pdm-project/pdm-backend/ -" -SRC_URI=" - https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] - dev-python/license-expression[${PYTHON_USEDEP}] - >=dev-python/packaging-23[${PYTHON_USEDEP}] - >=dev-python/tomli-2[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/setuptools[${PYTHON_USEDEP}] - dev-vcs/git - ) -" -# setuptools are used to build C extensions -RDEPEND+=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - rm -r pdm/pep517/_vendor || die - find -name '*.py' -exec sed \ - -e 's:from pdm\.pep517\._vendor\.:from :' \ - -e 's:from pdm\.pep517\._vendor ::' \ - -i {} + || die - distutils-r1_src_prepare -} - -src_test() { - git config --global user.email "test@example.com" || die - git config --global user.name "Test User" || die - distutils-r1_src_test -} diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.2-r1.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.2-r1.ebuild new file mode 100644 index 000000000000..572c086c9da5 --- /dev/null +++ b/dev-python/pdm-pep517/pdm-pep517-1.1.2-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 + +# upstream has renamed the repo but the legacy branch is still published +# as pdm-pep517, sigh +MY_P=pdm-backend-${PV} +DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" +HOMEPAGE=" + https://pypi.org/project/pdm-pep517/ + https://github.com/pdm-project/pdm-backend/ +" +SRC_URI=" + https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] + dev-python/license-expression[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + >=dev-python/tomli-2[${PYTHON_USEDEP}] + dev-python/tomli-w[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/setuptools[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# setuptools are used to build C extensions +RDEPEND+=" + dev-python/setuptools[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + rm -r pdm/pep517/_vendor || die + find -name '*.py' -exec sed \ + -e 's:from pdm\.pep517\._vendor\.:from :' \ + -e 's:from pdm\.pep517\._vendor ::' \ + -i {} + || die + distutils-r1_src_prepare +} + +src_test() { + git config --global user.email "test@example.com" || die + git config --global user.name "Test User" || die + distutils-r1_src_test +} diff --git a/dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild b/dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild deleted file mode 100644 index e2e2f7b655b3..000000000000 --- a/dev-python/pdm-pep517/pdm-pep517-1.1.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) - -inherit distutils-r1 - -# upstream has renamed the repo but the legacy branch is still published -# as pdm-pep517, sigh -MY_P=pdm-backend-${PV} -DESCRIPTION="A PEP 517 backend for PDM that supports PEP 621 metadata" -HOMEPAGE=" - https://pypi.org/project/pdm-pep517/ - https://github.com/pdm-project/pdm-backend/ -" -SRC_URI=" - https://github.com/pdm-project/pdm-backend/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" - -RDEPEND=" - >=dev-python/cerberus-1.3.4[${PYTHON_USEDEP}] - dev-python/license-expression[${PYTHON_USEDEP}] - >=dev-python/packaging-23[${PYTHON_USEDEP}] - >=dev-python/tomli-2[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - dev-python/setuptools[${PYTHON_USEDEP}] - dev-vcs/git - ) -" -# setuptools are used to build C extensions -RDEPEND+=" - dev-python/setuptools[${PYTHON_USEDEP}] -" - -distutils_enable_tests pytest - -src_prepare() { - rm -r pdm/pep517/_vendor || die - find -name '*.py' -exec sed \ - -e 's:from pdm\.pep517\._vendor\.:from :' \ - -e 's:from pdm\.pep517\._vendor ::' \ - -i {} + || die - distutils-r1_src_prepare -} - -src_test() { - git config --global user.email "test@example.com" || die - git config --global user.name "Test User" || die - distutils-r1_src_test -} diff --git a/dev-python/plumbum/plumbum-1.8.1.ebuild b/dev-python/plumbum/plumbum-1.8.1.ebuild index 1b84d793b95c..dc624d00f3c9 100644 --- a/dev-python/plumbum/plumbum-1.8.1.ebuild +++ b/dev-python/plumbum/plumbum-1.8.1.ebuild @@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~riscv ~x86" BDEPEND=" dev-python/hatch-vcs[${PYTHON_USEDEP}] diff --git a/dev-python/podman-py/Manifest b/dev-python/podman-py/Manifest index 694f0c6120ab..5dc66a78d649 100644 --- a/dev-python/podman-py/Manifest +++ b/dev-python/podman-py/Manifest @@ -1 +1,2 @@ DIST podman-py-4.3.0.gh.tar.gz 177403 BLAKE2B 549d3aba023423e5ae45fb04e0ec67bdb8ef6cdbe3e4fe6dec2f5e4d1f1df08828aed00aa83b7ad26f6c88ba225211a108ff67ba28e0003827c00ce3c32428ea SHA512 4e7c1f23d7baf425079689635c2b468871eff7f898f150b9244faf3d199a1cf2544aee1f633e431cd40701fbaaa41861d894e72486a38c6a198fd2c33691b826 +DIST podman-py-4.4.0.gh.tar.gz 177587 BLAKE2B 92d2a45a20304be648247fe8c95ab7ed84795e419d79fc731a6be4f228851b10324546b9cd14f9235a3972fd9258d50b2512216121c0fef59c0eb66d7c12c91c SHA512 47b4157fd9e6d54171f6f970012e828f877c66c4fabe4f30ad93974945b9e35fa7084c2908efca42c8b71a8d9f25e7a29a624152ce7bea1eebafcaa3700cb967 diff --git a/dev-python/podman-py/podman-py-4.4.0.ebuild b/dev-python/podman-py/podman-py-4.4.0.ebuild new file mode 100644 index 000000000000..791c1872fa3b --- /dev/null +++ b/dev-python/podman-py/podman-py-4.4.0.ebuild @@ -0,0 +1,50 @@ +# 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} ) + +inherit distutils-r1 + +DESCRIPTION="A library to interact with a Podman server" +HOMEPAGE=" + https://github.com/containers/podman-py/ + https://pypi.org/project/podman/ +" +SRC_URI=" + https://github.com/containers/podman-py/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pyxdg-0.26[${PYTHON_USEDEP}] + >=dev-python/requests-2.24[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/tomli-1.2.3[${PYTHON_USEDEP}] + ' 3.{8..10}) +" +BDEPEND=" + test? ( + dev-python/requests-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # TODO + podman/tests/unit/test_volumesmanager.py::VolumesManagerTestCase::test_get_404 + ) + + # integration tests require a workable podman server, + # and it doesn't seem to work in ebuild env + epytest podman/tests/unit +} diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 9e385287b765..3e3f78ee9d27 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -2,3 +2,4 @@ DIST pyproject-fmt-0.4.1.gh.tar.gz 14853 BLAKE2B e06e3602290fdc4df00fb48dfe9d6d5 DIST pyproject-fmt-0.5.0.gh.tar.gz 14906 BLAKE2B f75482988c8e10fbfcffaa518e6004f0e96b922e8bf929e43c7be26cf16149b3fa97a3070fabfbb90641ee3d953ab17bd854ba2e107b776f65f6bc802980bd54 SHA512 58ec7975f7c69990b1d2a0ee8a29681731d7143e59754343dc64e52e135cc5d280adf3c31b6818f042982697a7221a36aa0842ffba1ede28b57cefad77bf065c DIST pyproject-fmt-0.6.0.gh.tar.gz 15082 BLAKE2B 9ec7126530c98b984c5346bfd65fa817967dc7def60d16eb93e63ff690eaad53209d49483e19b5e87caf7b879f6661862a68606a0adb3b4513ff119262ff99a6 SHA512 50c9dcb468213de62e86edd500ae001815a83d8374ac1d36467fd7c560a5774862b001414f687d588fc0622ba5896c83338d6833ac4c248d2b4aa111fefe33ce DIST pyproject-fmt-0.7.0.gh.tar.gz 15249 BLAKE2B ad3b86af31ed860efb5eefbdd62629c3f3dfdb79a01b1e9904bf5a808699e410d870ca688fc82e28307b07841502f57870754cd694c10998ab1e1e0eef177669 SHA512 361a7bbb4a96659d3902ddb317c2f9b49999010aca4b91f8663d810971d6d1bb0362e26cc63ee7b16b0e1e1518af429b57d06de71bcfc56efad462dfc2c04abe +DIST pyproject-fmt-0.8.0.gh.tar.gz 15307 BLAKE2B 270a07220bc5b2bb81502de55727dd92d7a0cbde33c5d2a202d1b41de44a08ebd84f26bfd6c0cdcc1793f494f880c9a5e3db391069796dd6cbab6bdf1e4e6f64 SHA512 12f622176a9032173d73dbe21ab3da89ab9c3cf8c49e22b3d7e30abd5d1f9c4d988e519025a2d60a17324e449df719fd67f58d7c1ed49de9b9f50573863dad9f diff --git a/dev-python/pyproject-fmt/pyproject-fmt-0.8.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-0.8.0.ebuild new file mode 100644 index 000000000000..a04ffadcd0e5 --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-0.8.0.ebuild @@ -0,0 +1,38 @@ +# 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="Format your pyproject.toml file" +HOMEPAGE=" + https://github.com/tox-dev/pyproject-fmt/ + https://pypi.org/project/pyproject-fmt/ +" +SRC_URI=" + https://github.com/tox-dev/pyproject-fmt/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-23[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} diff --git a/dev-python/pytest-check/Manifest b/dev-python/pytest-check/Manifest index d3bcbe1392b6..f2b5c13a307a 100644 --- a/dev-python/pytest-check/Manifest +++ b/dev-python/pytest-check/Manifest @@ -3,3 +3,4 @@ DIST pytest-check-2.0.0.tar.gz 24825 BLAKE2B b1398dd98d90b9ba26cdda7776a63db8afc DIST pytest-check-2.1.0.tar.gz 25849 BLAKE2B 4b5fe598cdd395f153abd6cab90c729d0a70eb31ff95fe8eaccc7c1378e20adde65b9c1e35dd961bba2aede040652f97ac81d7fdaed4dd21d1ed44c340ea948f SHA512 503aee4eafab43dbe882f7d4ca63a63d4c3df78d691fc057de4bee72e2d2e61bb694c7c412b915e4019c052e34f9d80e02e03bf2be2c58c4c48b59e354a03763 DIST pytest-check-2.1.1.tar.gz 26004 BLAKE2B 382931f4bc1f86106a0296b1a33d604976b6ad6933bb71e27e406af21bc87f6915cca7d383d0ec84cae0dc9e747d335c31005e0b22ba20514d5dafe1bc957d58 SHA512 8a12f6d5ae60204b55d8282c88558678b7676d0e0436a7d1d28e65783a367db6efb68ff8105cb4293c5d52db5f5a8510d726b387a86351421c6ff9f023cde88a DIST pytest-check-2.1.2.tar.gz 26152 BLAKE2B 75b58b97cb78f297614f6dce62662ee974e899846d896fa4e1d6ee5aa1e916e8c1d363a8de19fe842263702a94cb6e58519639bca82ac98d17ab596b724e98bd SHA512 1b5532e9473067db819e7d0ded5b8e681197c052b83909920eee0fc45c48047b849f513e6ad77d94e0fa06c9eb00845ec3f3ad7f38f3e90d80d82d7460d0d35a +DIST pytest-check-2.1.3.gh.tar.gz 21570 BLAKE2B 8873d649e63ffca1fc8ab04383467f4cfb6c34f3970db95f1d439a3526d2a8b3482524ec2eda6a09fb2d166a781ff94895b976685ee8846d8e80ff5de6fd47e8 SHA512 bfd3975d93e27ccda71944e66b57e7628c5efbbbb6d9ac137fd58c96de760a1a4059fbdaf67d9c8844d2e5f0d7c671f2768fe1ced26f9a5406b872627238f664 diff --git a/dev-python/pytest-check/pytest-check-2.1.3.ebuild b/dev-python/pytest-check/pytest-check-2.1.3.ebuild new file mode 100644 index 000000000000..2f493b1d7475 --- /dev/null +++ b/dev-python/pytest-check/pytest-check-2.1.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="pytest plugin that allows multiple failures per test" +HOMEPAGE=" + https://github.com/okken/pytest-check/ + https://pypi.org/project/pytest-check/ +" +SRC_URI=" + https://github.com/okken/pytest-check/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/colorama-0.4.6[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/dev-python/pytest-rerunfailures/Manifest b/dev-python/pytest-rerunfailures/Manifest index d621bcb0b6dd..1da996c953cc 100644 --- a/dev-python/pytest-rerunfailures/Manifest +++ b/dev-python/pytest-rerunfailures/Manifest @@ -1,2 +1,3 @@ DIST pytest-rerunfailures-10.3.tar.gz 15852 BLAKE2B 1063f55f4145eff4db22f121620cb3a53ad8cd0c44580578bd5027c4bd8005af6d33e0da8d67fceb7b8abe91f22c591e7b42b7a810cb5c7d8b5668b0a48eb3f2 SHA512 30ebafdb221d7ff8c46d50795b1a342b55293eaf60f5a012c631e2333dcf3114bfc4ed5210705edba4ad33a8f215ce7b5988362750149fc5e9463e4c3fa93860 DIST pytest-rerunfailures-11.0.tar.gz 15836 BLAKE2B 41c3695250e809123c468325d6bb78275c2e09911eb98de1b0951add44fffc24ee2157bdad346fb9bc923ee3865fe205eaeadd1a1e7b908ee728ac2a8e1375c7 SHA512 8e0f43f63a76161447de6cfbe9382b7aece05d25cf9d1f03b6f12dcb8d98edd85d6e8f5d74d360143cd99188f082c3ab412324543307b08c4bef0e5a2dc06b3a +DIST pytest-rerunfailures-11.1.tar.gz 16681 BLAKE2B aa1e35659411bc9cc777253982d53b39a969fe1448990008e99903ca3bd2a675f07551ab806a0656b9ed329b519458c02e46dc8fa2f1e0f60be8e3b2457e48d1 SHA512 9a572faab4ee1907e829d38979a87c5eb24dc13edfbbd987801b610f67d0a5ce8743f2bdbe883bd247915e6ede6b73fceae9c4994774e74b1b1a192587829e05 diff --git a/dev-python/pytest-rerunfailures/pytest-rerunfailures-11.1.ebuild b/dev-python/pytest-rerunfailures/pytest-rerunfailures-11.1.ebuild new file mode 100644 index 000000000000..28dd73ff07b5 --- /dev/null +++ b/dev-python/pytest-rerunfailures/pytest-rerunfailures-11.1.ebuild @@ -0,0 +1,31 @@ +# 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="pytest plugin to re-run tests to eliminate flaky failures" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-rerunfailures/ + https://pypi.org/project/pytest-rerunfailures/ +" + +SLOT="0" +LICENSE="MPL-2.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + local -x PYTEST_PLUGINS=pytest_rerunfailures + epytest +} diff --git a/dev-python/python-utils/Manifest b/dev-python/python-utils/Manifest index 1ccb8e45944d..43e2c23f235f 100644 --- a/dev-python/python-utils/Manifest +++ b/dev-python/python-utils/Manifest @@ -1,2 +1,3 @@ DIST python-utils-3.4.5.tar.gz 28608 BLAKE2B c933bf358ad61563fc35bc87329367946a64216afaddb3cd5bff861e0e1fadcc4d18c7a8ff7820bfee5938bc7ede3cea9d450ecc5b7c0825f917c59576d7195c SHA512 35b4b49dfce56e9e530fe979c070889296079d3a1fd548186bf6dbd6fdbce5363818b52a5d7559b7af3bd32561d87639565298386883351168a267fa88e1ff7f DIST python-utils-3.5.1.tar.gz 26753 BLAKE2B f6a6f84883671e4e17938bf8a70332766b3e61f77bd86eda976915a5967710c4c8a6bdd295b6ca9d46bed98b30866bbaabd67ac3d4311dfe061fbc3c5a41e4af SHA512 427660db279b438ce30218bea72f96b952f6cd37c99184f04d458814500f056b16ed4f2fa743f94499a996366c162006c771e9523491afb2a7ee0f666ab98718 +DIST python-utils-3.5.2.tar.gz 26883 BLAKE2B 9532d8fecd8d57a9a9f50e2e7e67386e4c5922f4ec316851544147f6da82586bb01796bb3e3fc95c894a790c57711c983d8da9abc5edc5a722089a0d86d7fb61 SHA512 2e36bbb2e43591744c63ea972b7f361138694eb32510643ea88e8d757882379e3aec247c2fc4d5c67876939b71d564570a975700728c79f9db0cc4fcbc1605e7 diff --git a/dev-python/python-utils/python-utils-3.5.2.ebuild b/dev-python/python-utils/python-utils-3.5.2.ebuild new file mode 100644 index 000000000000..84daef14cf31 --- /dev/null +++ b/dev-python/python-utils/python-utils-3.5.2.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=setuptools +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE=" + https://github.com/WoLpH/python-utils/ + https://pypi.org/project/python-utils/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + docs + _python_utils_tests/test_logger.py + python_utils/loguru.py +) + +python_prepare_all() { + sed -i -e '/--cov/d' -e '/--mypy/d' pytest.ini || die + distutils-r1_python_prepare_all +} diff --git a/dev-python/rpyc/rpyc-5.2.3_p1.ebuild b/dev-python/rpyc/rpyc-5.2.3_p1.ebuild index 56e0321edead..b4527173b8ea 100644 --- a/dev-python/rpyc/rpyc-5.2.3_p1.ebuild +++ b/dev-python/rpyc/rpyc-5.2.3_p1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~riscv x86" # USE flags gdb, numpy are used *only* to run tests depending on these packages IUSE="test numpy gdb" diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest index 44c3e804388f..5d7531f64936 100644 --- a/dev-python/setuptools/Manifest +++ b/dev-python/setuptools/Manifest @@ -1,4 +1,2 @@ DIST setuptools-65.7.0.tar.gz 2618315 BLAKE2B a0989c3fd0ab476d69885d022eccf1a89dc670a17d0b3e73bbe4ffb530e26a838fcd1cfffc4c2720ddd19cb8ba45d42bc31441f1e3bbc32fa71850d208f37cc8 SHA512 0eb2d9de9ef2565cf012db7d68ee18359a1432dd42ecd3fb7d490f73d57b0e7ba2a67e0401f66051127e913f29c2e221e88c0cbf523b0ac9abe7f00b6ab1ded8 -DIST setuptools-67.0.0.tar.gz 2474556 BLAKE2B 470ddb7ba0cba6a8ea677a101a4639701bee7ace860df2616e097e9bb479275877e8904ec4f62c33fcd6c05b3aaac48bb7bf2360cc839eccde4231c9befc6fed SHA512 d006f417920f2bceae0f1d4ecfabbcec5d20866b0de92c002a8fdc0366b9206e3d59fd2b30886b4f71e437dc86b411a9653f7c809dcc2cfb12869571840ff9bf -DIST setuptools-67.1.0.tar.gz 2475095 BLAKE2B 4b803efc140f2f80c512a7cc5758822b64130a9acd4c7c6e2d56cc2793b973e9fbe083041f8c18103edb67097fdfcf579a856b279f29103073416907be901c76 SHA512 bc867c5f49b4fe72b37f1a8e8281603403ce36679be7aae2ac3e0429cda9852735d38ee5624e440d58991a1df773bdfaaaaf2f603f9aecf52d1f573a3975d279 DIST setuptools-67.2.0.tar.gz 2475665 BLAKE2B 1d82e21d5c5f7aea479d468ae5c29c62a86a552e811203794f2246bc715647c18c66ab6d37c9da3092fc2b402cc865c1ab85989092c9beccc440913ad7d51ccd SHA512 2d15719d7a0305535ee853e82b5196af2eaa29cbcf73c59515c2fa8e8c910c25fcf3854aac515789a51a845555b19c95e8d06fef4199cf19ba4a45dda5b7ab66 diff --git a/dev-python/setuptools/setuptools-67.0.0.ebuild b/dev-python/setuptools/setuptools-67.0.0.ebuild deleted file mode 100644 index 67eb48e70446..000000000000 --- a/dev-python/setuptools/setuptools-67.0.0.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" -SRC_URI=" - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-23[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}] - ' 3.9) -" -BDEPEND=" - ${RDEPEND} - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}] -" - -DOCS=( {CHANGES,README}.rst ) - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch - ) - - distutils-r1_src_prepare - - # remove bundled dependencies, setuptools will switch to system deps - # automatically - rm -r */_vendor || die - - # remove the ugly */extern hack that breaks on unvendored deps - rm -r */extern || die - find -name '*.py' -exec sed \ - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ - -i {} + || die - - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local -x SETUPTOOLS_USE_DISTUTILS=stdlib - - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests - setuptools/tests/test_virtualenv.py::test_clean_env_install - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - setuptools/tests/test_extern.py::test_distribution_picklable - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - setuptools/tests/test_editable_install.py::test_editable_with_pyproject - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - ) - - epytest -n "$(makeopts_jobs)" setuptools -} diff --git a/dev-python/setuptools/setuptools-67.1.0.ebuild b/dev-python/setuptools/setuptools-67.1.0.ebuild deleted file mode 100644 index 67eb48e70446..000000000000 --- a/dev-python/setuptools/setuptools-67.1.0.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -# please bump dev-python/ensurepip-setuptools along with this package! - -DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="xml(+)" - -inherit distutils-r1 multiprocessing - -DESCRIPTION="Collection of extensions to Distutils" -HOMEPAGE=" - https://github.com/pypa/setuptools/ - https://pypi.org/project/setuptools/ -" -SRC_URI=" - mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] - >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] - >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] - >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] - >=dev-python/packaging-23[${PYTHON_USEDEP}] - >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] - >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}] - ' 3.9) -" -BDEPEND=" - ${RDEPEND} - >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] - >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] - >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] - >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/pip-run[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-fixture-config[${PYTHON_USEDEP}] - dev-python/pytest-timeout[${PYTHON_USEDEP}] - dev-python/pytest-virtualenv[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - ) -" -PDEPEND=" - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] - dev-python/setuptools_scm[${PYTHON_USEDEP}] -" - -DOCS=( {CHANGES,README}.rst ) - -src_prepare() { - local PATCHES=( - # TODO: remove this when we're 100% PEP517 mode - "${FILESDIR}"/setuptools-62.4.0-py-compile.patch - ) - - distutils-r1_src_prepare - - # remove bundled dependencies, setuptools will switch to system deps - # automatically - rm -r */_vendor || die - - # remove the ugly */extern hack that breaks on unvendored deps - rm -r */extern || die - find -name '*.py' -exec sed \ - -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ - -i {} + || die - - export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} -} - -python_test() { - local -x SETUPTOOLS_USE_DISTUTILS=stdlib - - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - return - fi - - local EPYTEST_DESELECT=( - # network - # TODO: see if PRE_BUILT_SETUPTOOLS_* helps - setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg - setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist - setuptools/tests/test_build_meta.py::test_legacy_editable_install - setuptools/tests/test_distutils_adoption.py - setuptools/tests/test_editable_install.py - setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests - setuptools/tests/test_virtualenv.py::test_clean_env_install - setuptools/tests/test_virtualenv.py::test_no_missing_dependencies - setuptools/tests/test_virtualenv.py::test_test_command_install_requirements - # TODO - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic - setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors - setuptools/tests/test_extern.py::test_distribution_picklable - # expects bundled deps in virtualenv - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist - setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel - setuptools/tests/test_editable_install.py::test_editable_with_pyproject - # fails if python-xlib is installed - setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts - ) - - epytest -n "$(makeopts_jobs)" setuptools -} diff --git a/dev-python/setuptools/setuptools-67.2.0-r1.ebuild b/dev-python/setuptools/setuptools-67.2.0-r1.ebuild new file mode 100644 index 000000000000..5090e054fa84 --- /dev/null +++ b/dev-python/setuptools/setuptools-67.2.0-r1.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{7,8,9,10,11} pypy3 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 multiprocessing pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/jaraco-text-3.7.0-r1[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/nspektr-0.3.0[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.0.2-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + >=dev-python/platformdirs-2.6.2-r1[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.11.1[${PYTHON_USEDEP}] + ' 3.9) +" +BDEPEND=" + ${RDEPEND} + >=dev-python/wheel-0.37.1-r1[${PYTHON_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/build[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.9[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.2.0[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pip-run[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-fixture-config[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-virtualenv[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +PDEPEND=" + >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] +" + +DOCS=( {CHANGES,README}.rst ) + +src_prepare() { + local PATCHES=( + # TODO: remove this when we're 100% PEP517 mode + "${FILESDIR}"/setuptools-62.4.0-py-compile.patch + ) + + distutils-r1_src_prepare + + # remove bundled dependencies, setuptools will switch to system deps + # automatically + rm -r */_vendor || die + + # remove the ugly */extern hack that breaks on unvendored deps + rm -r */extern || die + find -name '*.py' -exec sed \ + -e 's:from \w*[.]\+extern ::' -e 's:\w*[.]\+extern[.]::' \ + -i {} + || die +} + +python_test() { + local -x SETUPTOOLS_USE_DISTUTILS=stdlib + + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # network + # TODO: see if PRE_BUILT_SETUPTOOLS_* helps + setuptools/tests/config/test_apply_pyprojecttoml.py::test_apply_pyproject_equivalent_to_setupcfg + setuptools/tests/integration/test_pip_install_sdist.py::test_install_sdist + setuptools/tests/test_build_meta.py::test_legacy_editable_install + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_setuptools.py::test_its_own_wheel_does_not_contain_tests + setuptools/tests/test_virtualenv.py::test_clean_env_install + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/test_virtualenv.py::test_test_command_install_requirements + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + setuptools/tests/test_extern.py::test_distribution_picklable + # expects bundled deps in virtualenv + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_in_sdist + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta::test_example_file_not_in_wheel + setuptools/tests/test_editable_install.py::test_editable_with_pyproject + # fails if python-xlib is installed + setuptools/tests/test_easy_install.py::TestSetupRequires::test_setup_requires_with_allow_hosts + ) + + if has_version " + + + + voyageur@gentoo.org + Bernard Cafarelli + + + python@gentoo.org + Python + + + gentoo-staging + \ No newline at end of file diff --git a/dev-python/structlog/structlog-22.3.0.ebuild b/dev-python/structlog/structlog-22.3.0.ebuild new file mode 100644 index 000000000000..dfca49f78cb9 --- /dev/null +++ b/dev-python/structlog/structlog-22.3.0.ebuild @@ -0,0 +1,26 @@ +# 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_{7,8,9,10,11} ) + +inherit distutils-r1 + +DESCRIPTION="Structured Logging for Python" +HOMEPAGE="https://github.com/hynek/structlog" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-python/hatch-fancy-pypi-readme[${PYTHON_USEDEP}] + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest diff --git a/dev-python/tenacity/Manifest b/dev-python/tenacity/Manifest index a301e8d9f6f1..011e7093f29d 100644 --- a/dev-python/tenacity/Manifest +++ b/dev-python/tenacity/Manifest @@ -1,2 +1,3 @@ DIST tenacity-8.1.0.tar.gz 37658 BLAKE2B 4f9e2ea44ac0f0ed8b694b0f60e938fadbcf65bd989e9d641f7a40750f499aa9635a70d80e406aa2ebf436ebd37cde0d88e8ecb6cb3436ba755c2d921541c8e8 SHA512 194312e80233d6edcdf30496a355b272a4de4809bbe187948a7ce9c1382958845d12401498569f2b8d4251ede2857317820779f13a65bb2e69dcb97dde9bb501 DIST tenacity-8.2.0.tar.gz 39842 BLAKE2B 4c7b58654eff79e2b5e7412f5a920dd09df44a7699d6959dd6e1c5ee87a1e74a0c60df28239be6976368859ebabc4ab35e318a71a7ad5861d92da76a516bd721 SHA512 7bb962257200a450a5599309977c895b9e2918a195a2b60c942dad934145e85e64cf1c043e81fe1a4eb5a4a7d4eaeca626a21388297cf0983bdcea22d56553d3 +DIST tenacity-8.2.1.tar.gz 39876 BLAKE2B 5141a5ee79ee6b5664e35c06c2d95e65daf75bfcb2ea6b33418385e49f9136adde2ff99bfd8215f056f6370c7b3c2e0a755c749c164c3857c0aae4c27cc63d1b SHA512 43decc20206544165d7ad4ae67292388c45c70a126d3b1ba529529429897dafc1bf8df72a15b545a80cc1fe0eee766866e592d3f49ee6a24feddcb525dffaab8 diff --git a/dev-python/tenacity/tenacity-8.2.1.ebuild b/dev-python/tenacity/tenacity-8.2.1.ebuild new file mode 100644 index 000000000000..3b5917e532c9 --- /dev/null +++ b/dev-python/tenacity/tenacity-8.2.1.ebuild @@ -0,0 +1,40 @@ +# 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} ) + +inherit distutils-r1 pypi + +DESCRIPTION="General-purpose retrying library" +HOMEPAGE=" + https://github.com/jd/tenacity/ + https://pypi.org/project/tenacity/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + if ! has_version "dev-python/typeguard[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_tenacity.py::TestRetryTyping::test_retry_type_annotations + ) + fi + + epytest +} diff --git a/dev-python/trimesh/Manifest b/dev-python/trimesh/Manifest index 87b4d5a60359..5c8fa75c6da9 100644 --- a/dev-python/trimesh/Manifest +++ b/dev-python/trimesh/Manifest @@ -3,3 +3,4 @@ DIST trimesh-3.18.0.gh.tar.gz 12656666 BLAKE2B e183ab1b5ff904b54a7801aaf9e6a3ac2 DIST trimesh-3.18.1.gh.tar.gz 12657109 BLAKE2B 8e5370193e7d47f1dc2d7d43c356df1a56c2b4b8af6f47ac6aa889b04a3b950ec507b5cc0fe6f99f874cf66111aa72773025ba3821013466bb34baced3a361ca SHA512 72936c0fc6f89ffa35b80928dc5abac8ca4fac023f5be1d4adec6d020f3da6ee2c7a97efb0cecf58faad94ef6f33949533ac789affcecee07696ca0188fd47f0 DIST trimesh-3.18.2.gh.tar.gz 12656555 BLAKE2B 39fb1a04a067fdf5e2e85eaacd135f79ae322cab583b1701e702c3638677d8b16d0de411300a39ee39be526500a09ca77fab65666f5eda45c0fa289a48ac1513 SHA512 662034adf97efcc50d0c665b8af5ef190ec48d116186d348d4c431dc1fc51564b36b470d996419770e8f48e2e482e3fa8aa9ced30871c7e1dcb20dcee4e9cd5a DIST trimesh-3.18.3.gh.tar.gz 12658464 BLAKE2B 8017cc039273fd9bc01605bd80ca0f3b880a138ca81ff1ded862c8083d20f62f0775671260f7f21deeba403bc1a273dd0bbc138779fbf5c1e08bfab9c0937ec3 SHA512 af2838ae8ad01b5113d26aa955a906d6e3379f4484711da1cb76f9735f162a3356b6529e4a633ddb552edb54529c7e738e030d881322d24502e6945e17b55074 +DIST trimesh-3.19.3.gh.tar.gz 12664970 BLAKE2B 4ba302f5ea48253c5bffd9065ab4974d15b7a30cedcf3939d2306ba9db59acb33534918d3303e3cc9444cfff6557544ed16f19a0673a408c17eb056e0ead5d72 SHA512 497e417159a937bc9cbcb92af91ebd346bae67af872fefecf87c9cd3a14e0c9532cd9296ec9eec6653c2bc5c4b95d3a77a56c8235e70fbd940f5c5394ec1b931 diff --git a/dev-python/trimesh/trimesh-3.19.3.ebuild b/dev-python/trimesh/trimesh-3.19.3.ebuild new file mode 100644 index 000000000000..d131aab8683b --- /dev/null +++ b/dev-python/trimesh/trimesh-3.19.3.ebuild @@ -0,0 +1,66 @@ +# 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} ) + +inherit distutils-r1 multiprocessing optfeature + +DESCRIPTION="Python library for loading and using triangular meshes" +HOMEPAGE=" + https://trimsh.org/ + https://github.com/mikedh/trimesh/ + https://pypi.org/project/trimesh/ +" +SRC_URI=" + https://github.com/mikedh/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/colorlog[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/networkx[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycollada[${PYTHON_USEDEP}] + dev-python/pyglet[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/shapely-1.8.2[${PYTHON_USEDEP}] + dev-python/svg-path[${PYTHON_USEDEP}] + dev-python/sympy[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + sci-libs/rtree[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/mapbox_earcut[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -n "$(makeopts_jobs)" +} + +pkg_postinst() { + optfeature_header "${PN} functionality can be extended by installing the following packages:" + optfeature "making GUI applications with 3D stuff" dev-python/glooey + optfeature "2D triangulations of polygons" dev-python/mapbox_earcut + optfeature "loading a number of additional mesh formats" dev-python/meshio + optfeature "figuring out how much memory we have" dev-python/psutil + optfeature "marching cubes and other nice stuff" sci-libs/scikit-image +} diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest index 1a4748f7f71e..29331282f086 100644 --- a/dev-python/zipp/Manifest +++ b/dev-python/zipp/Manifest @@ -1,3 +1,4 @@ DIST zipp-3.11.0.tar.gz 16799 BLAKE2B 96cbb86e4c112a2cc0bbd8cf8f7a6d0e7b5a5b4af0857bfea87583341e7d08c9f0879f8455131f81e21ffb75bb362fb312c5575a8ccb2e2996313fe3f95ffe36 SHA512 10e1eca131063d9e34db18320152ea5e2445585802e7814fcb0a0aeddd8eb5481c60c2eaca1f7f2729826aafd4004fc4a0b8ee26896c833f789752a501f77e86 DIST zipp-3.12.0.tar.gz 17705 BLAKE2B 7159d45deb7e22625a270c7f6a5610f64c511ebde11b42769730245befc679750390928c89cfe2ef979df081b07f87e35eea9d82d7063513ac420afc8e60cf79 SHA512 922d293dbfdc1871d339a6ebc0176cb5147518f281daf685318d08f6bb4057eb4c49380e49a220c6fa17d749eb8a32b9fa90070acb953f17595d1e509bc6cdf4 DIST zipp-3.12.1.tar.gz 17987 BLAKE2B c3c9f9d3243a2863c4b310e825d9862f379386fc05d0053a10b25fc6706f1bedd5fbb65e44fa9d4ba595b87de89c7f1aa98a4e2911dfde3ce9cad71a8571a1e9 SHA512 3a7aae6f377736711bfdb7667b40dc03b32cbb765aee2a36fb5848458469c175fd7fea5811d962b97a0779d63d39d0d42a59d7174db318fc6c32ff6bb58416c1 +DIST zipp-3.13.0.tar.gz 18725 BLAKE2B bc4ff7a3338af70380249b009858b6ee7a6407daa02650b3a59972a74bdcdb80ebb0d01cfe9551ccbcde6b46d6e191c82b5aba91a382ab361e344861e6284f38 SHA512 7fdcf4dcd4013a09a2ef77b203211919d6aa132f41dafe244ccd41dbb89b6268149a7eb8f8f2bc5ca08ed6e435cd1372361f267b49e3447dc90dc8d7340cd5ec diff --git a/dev-python/zipp/zipp-3.13.0.ebuild b/dev-python/zipp/zipp-3.13.0.ebuild new file mode 100644 index 000000000000..659a28eb6600 --- /dev/null +++ b/dev-python/zipp/zipp-3.13.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{7,8,9,10,11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE=" + https://github.com/jaraco/zipp/ + https://pypi.org/project/zipp/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +BDEPEND=" + test? ( + dev-python/jaraco-functools[${PYTHON_USEDEP}] + dev-python/jaraco-itertools[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # speed tests are flaky by design + tests/test_zipp.py::TestPath::test_implied_dirs_performance +) + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "zipp" + version = "${PV}" + description = "Backport of pathlib-compatible object wrapper for zip files" + EOF +} -- cgit v1.3