From 65ff3cc3bd9c3f8e718a67dfecf1f8215bf5d1d4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 11 Jun 2024 00:08:05 +0100 Subject: gentoo auto-resync : 11:06:2024 - 00:08:04 --- dev-python/cattrs/Manifest | 2 +- dev-python/cattrs/cattrs-23.2.3-r1.ebuild | 69 +++++++++++++++++++++++++++++++ dev-python/cattrs/cattrs-23.2.3.ebuild | 69 ------------------------------- 3 files changed, 70 insertions(+), 70 deletions(-) create mode 100644 dev-python/cattrs/cattrs-23.2.3-r1.ebuild delete mode 100644 dev-python/cattrs/cattrs-23.2.3.ebuild (limited to 'dev-python/cattrs') diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest index 14c693a4457a..3312803605a3 100644 --- a/dev-python/cattrs/Manifest +++ b/dev-python/cattrs/Manifest @@ -1,3 +1,3 @@ DIST cattrs-23.2.3.gh.tar.gz 612120 BLAKE2B a227cc50cb23a76931562f17444fcfb4a5532cac74f80b478a8abb6d113cbb0a06c471c3ca7ee256f74640486464762f4a13387ccfc1cd144cfd1a9bfecddd8e SHA512 76a75ea0893bb1549dd5178436c4823ae5b918c16f0d8195203c48e894438ec792cee77698d783f7e43c07445c46a6041a309c3d3bbcadcff95d9c4079e3d622 -EBUILD cattrs-23.2.3.ebuild 1801 BLAKE2B 64e58ff57e7fa133dc54aa048dba5118f7fee22d05c2c31df0a2739eae89cf37c927a020f03555aec63fc5dedc9b4f42af50946afe00659e7b3a53f65f4522a7 SHA512 4aa4e47674b5b2c44505a7fda9a301b6875bb05485aae3d92b091e6d4087f9449a9bebe0a2bffc4701786b0c69beb472b7fc8314b70785d5957539c88537dabf +EBUILD cattrs-23.2.3-r1.ebuild 1800 BLAKE2B 62b3bde45a8b4fab63c1ab9d6ddc4039fda73b523381cab08e9351547eb992a55987becdb978063cc2cfdd1109ce828051913c4f98ad248ca597ccb98090ba1d SHA512 725e61a6b4cd0753914021721b3d4d1a8618584ad3b0427ddc65af7e60a57021852f3e7f56c0b0672750c4029b067543e330e06371b6d367cf06e17f7e3e17a1 MISC metadata.xml 347 BLAKE2B 94165f2a8e62f3dc7e195f872944300ffff5ba23b9a7e6c30c18d61bc469ea8ff9b70e516f854bfc52d55a0fd27daff0df58145e34bfe26dbcde8070b8a22630 SHA512 5bb37b39b9574256358a623cff942a95162f5f9dcb32ddf28bd167504c7619be54488fae10044a5c765291f8fa28a5aa346973365dcca867be0eef4e232a4999 diff --git a/dev-python/cattrs/cattrs-23.2.3-r1.ebuild b/dev-python/cattrs/cattrs-23.2.3-r1.ebuild new file mode 100644 index 000000000000..07179e89d725 --- /dev/null +++ b/dev-python/cattrs/cattrs-23.2.3-r1.ebuild @@ -0,0 +1,69 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Composable complex class support for attrs and dataclasses" +HOMEPAGE=" + https://pypi.org/project/cattrs/ + https://github.com/python-attrs/cattrs/ +" +SRC_URI=" + https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" +IUSE="test-rust" + +RDEPEND=" + >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/exceptiongroup[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + dev-python/hatch-vcs[${PYTHON_USEDEP}] + test? ( + >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] + >=dev-python/immutables-0.18[${PYTHON_USEDEP}] + >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] + >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] + >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] + test-rust? ( + $(python_gen_cond_dep ' + >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] + ' 'python*') + ) + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + local EPYTEST_DESELECT=() + if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + tests/test_preconf.py::test_orjson + tests/test_preconf.py::test_orjson_converter + tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= tests +} diff --git a/dev-python/cattrs/cattrs-23.2.3.ebuild b/dev-python/cattrs/cattrs-23.2.3.ebuild deleted file mode 100644 index a3b6fcf9d90f..000000000000 --- a/dev-python/cattrs/cattrs-23.2.3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3 python3_{10..12} ) - -inherit distutils-r1 - -DESCRIPTION="Composable complex class support for attrs and dataclasses" -HOMEPAGE=" - https://pypi.org/project/cattrs/ - https://github.com/python-attrs/cattrs/ -" -SRC_URI=" - https://github.com/python-attrs/cattrs/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="test-rust" - -RDEPEND=" - >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}] - $(python_gen_cond_dep ' - dev-python/exceptiongroup[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}] - ' 3.10) -" -BDEPEND=" - dev-python/hatch-vcs[${PYTHON_USEDEP}] - test? ( - >=dev-python/cbor2-5.4.6[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.54.5[${PYTHON_USEDEP}] - >=dev-python/immutables-0.18[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] - >=dev-python/tomlkit-0.11.4[${PYTHON_USEDEP}] - >=dev-python/ujson-5.4.0[${PYTHON_USEDEP}] - test-rust? ( - $(python_gen_cond_dep ' - >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}] - ' 'python*') - ) - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} - -python_test() { - local EPYTEST_DESELECT=() - if ! has_version "dev-python/orjson[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_preconf.py::test_orjson - tests/test_preconf.py::test_orjson_converter - tests/test_preconf.py::test_orjson_converter_unstruct_collection_overrides - ) - fi - - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -o addopts= tests -} -- cgit v1.2.3