summaryrefslogtreecommitdiff
path: root/dev-python/cattrs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-14 03:02:32 +0000
commitd3c7d3e5f9607edef1a795ccc502ab3eb3121165 (patch)
treed36ccc4ef4aa53927a8cd66bc5d3ab06fe1bdd24 /dev-python/cattrs
parent4dc2f97ed84159736ecfb5dea5485e83b27810d1 (diff)
gentoo auto-resync : 14:11:2024 - 03:02:32
Diffstat (limited to 'dev-python/cattrs')
-rw-r--r--dev-python/cattrs/Manifest4
-rw-r--r--dev-python/cattrs/cattrs-23.2.3-r1.ebuild69
-rw-r--r--dev-python/cattrs/cattrs-24.1.2.ebuild3
3 files changed, 3 insertions, 73 deletions
diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest
index 617c11f9e339..fe5408d7e556 100644
--- a/dev-python/cattrs/Manifest
+++ b/dev-python/cattrs/Manifest
@@ -1,6 +1,4 @@
AUX cattrs-23.2.4_pre20240627-py313.patch 2699 BLAKE2B d57e952f73f866cb72d29568e58668de378a9b25042250a0a6c3af4b44674367edf13ff7de9c174100a7ecc308456f2785d6a31ad09dc30621d870356f58c694 SHA512 e234afaa0e73d14a5bc4712afe9838f06e7aafe8f1e9660d2ae4b08d450b9e72de6fe2da808a98b80324cad16124ae998f56e26b13c7bbee9e7cd1d1ae2757a6
-DIST cattrs-23.2.3.gh.tar.gz 612120 BLAKE2B a227cc50cb23a76931562f17444fcfb4a5532cac74f80b478a8abb6d113cbb0a06c471c3ca7ee256f74640486464762f4a13387ccfc1cd144cfd1a9bfecddd8e SHA512 76a75ea0893bb1549dd5178436c4823ae5b918c16f0d8195203c48e894438ec792cee77698d783f7e43c07445c46a6041a309c3d3bbcadcff95d9c4079e3d622
DIST cattrs-24.1.2.gh.tar.gz 428615 BLAKE2B d6874493083c4a082b319a12bead71d8a147a35019f3b08a7f16c4c982c061b98db71d6e1027215df53efc66c93688cbd6d5cfaaa9a46f9bd1a39893bbbc21ee SHA512 00316c062343a91cb71ba297af7d74798000cd44afca6eb6286278b3340efc27621486336c095e21a0e1701105494d60b72991aa00b8ab9bacf30a47eee877ce
-EBUILD cattrs-23.2.3-r1.ebuild 1792 BLAKE2B f07ad5423715b70a902013cc5107d846bc33410b6218a2a9f44b5dd7a98a66530ffc65d2879b32daa41959db81569cab91e4f852881fa50b83ffb250e3fa960f SHA512 c7ee2b1e54d3b21bd439dc21c16517cc323ab02fa4b553f76ebf2337b322316ed5f066d4fbe45fc3f34fdcd35854645b9107d854dcbf7b5ff17fc49a3113a625
-EBUILD cattrs-24.1.2.ebuild 3073 BLAKE2B a8d92bce502f23dd54a8a35a9d93e980c19dd7ca42b093634cba99ba782becb6354a47c9002bbb1205c3125ac479a95f759d7a9bfff7ff2ffb5d8d065f5c5fff SHA512 77043574e7909cbd156b5c2794b0d91c34d42490acd106bc94a54f7ee136108b274eacb62789e6346767f568d9798be63042eb506b2bc77de47fc9c7048984fd
+EBUILD cattrs-24.1.2.ebuild 3147 BLAKE2B 4ccc98fa95bdd3d48e77116b70eb1594cfd261f2da02479898679b4b5b97aae367589f91412d27a65b575ac52f8a88c9c7b09113df340b20959b59dd9d65d29d SHA512 8dac994932ebd30e02039b343468cde68b817db226bc7d8f6827b5677c3dd84862acb4f96e0b81cd5bb2b5dce1c3b0aa2143d1f4ea0c128d6e494a100c3b8b64
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
deleted file mode 100644
index 7caa601c3fc1..000000000000
--- a/dev-python/cattrs/cattrs-23.2.3-r1.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 ~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-24.1.2.ebuild b/dev-python/cattrs/cattrs-24.1.2.ebuild
index 81e69e227b3f..41cb997af189 100644
--- a/dev-python/cattrs/cattrs-24.1.2.ebuild
+++ b/dev-python/cattrs/cattrs-24.1.2.ebuild
@@ -49,7 +49,8 @@ BDEPEND="
)
"
-EPYTEST_XDIST=1
+# xdist can randomly break tests, depending on job count
+# https://bugs.gentoo.org/941429
distutils_enable_tests pytest
PATCHES=(