summaryrefslogtreecommitdiff
path: root/dev-python/cattrs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-23 13:24:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-23 13:24:24 +0100
commitcbf055ae8f2fb67e00df9ea122e64a67f930f576 (patch)
treeed9ab83fb918b8bc4fb292f48dbce597be5d33fb /dev-python/cattrs
parent8702447e13af0a540c01f75bee0416677bced231 (diff)
gentoo auto-resync : 23:06:2023 - 13:24:24
Diffstat (limited to 'dev-python/cattrs')
-rw-r--r--dev-python/cattrs/Manifest2
-rw-r--r--dev-python/cattrs/cattrs-23.1.2.ebuild14
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-python/cattrs/Manifest b/dev-python/cattrs/Manifest
index 2032bba016ef..aefef4dff3eb 100644
--- a/dev-python/cattrs/Manifest
+++ b/dev-python/cattrs/Manifest
@@ -3,5 +3,5 @@ DIST cattrs-23.1.1.gh.tar.gz 602294 BLAKE2B c0be7dc8979919c4d29f9bd51203d219b9d6
DIST cattrs-23.1.2.gh.tar.gz 602336 BLAKE2B f39ff3c1525ea14789edd137d82343a9447de0a41f65a71ee85754a15f8fdc929137125043b23c6cd088c8b2d2e9da18577c3b6dbbb6e9a33bdf6789f117bc46 SHA512 d05c8a5d4c5dc0b69ccdf33164d44c35a37a871199a35d1c2c25f9fbd8ee53d48da8e9d9bec49cde2baf901b524d5e8ff1ade175928908ea81f94e8398224488
EBUILD cattrs-22.2.0.ebuild 1265 BLAKE2B 611c0e7707d709e4b7f68e5c5d13c225efb555e69013879ff2414c0a74ac78c76678fd3e8ebf32c980a220eefeb38dddc715a2135d32c2413ba3c32827238a79 SHA512 804d75159dfce03ab9484a8bcf44c7cc1cacce112d0c697f0513c6af4d278f74da209a8fc6ab853d425dc18f07b41bc26ff01d08ccb6d75c55067197ece86b65
EBUILD cattrs-23.1.1.ebuild 1272 BLAKE2B 3d866fd0ef5bc3f2e1ef2a399a794354be9aa3d0c055c7355cca4f00098ce87bf8dd969f6bed436ec61c6c58206163ccf32af4c6fe05e8997147fe202ae3d457 SHA512 bd327c2521f6770d79d975dab8da6a1973474215a1325b5cb440c5d2ee0e2d9f059cb9289532cd9911f7b5b3115fa6ac3d748a7fe1d2e8b6159fd6690408462e
-EBUILD cattrs-23.1.2.ebuild 1463 BLAKE2B 86cea7ac63e47afc9864cca02801bcb5ebd5467d9ead421d3ac3a6b7dafa1d45f18ff91e7ee9f612db7b4c28df3c3f32b0af0aea5a3ed67a6065beb9dc3af47a SHA512 ec4683189b50d35ac986d3115227757294275868690f869a5e60e114f072e35045588efd0d5bec8852d13d2d59519f42c91dc8a0ce98a42a3101337d41daf5b2
+EBUILD cattrs-23.1.2.ebuild 1784 BLAKE2B 07f813ae103dad6f006e19441faedf2c8103af1f70fc4330845caf241598b979b9008b655d9c7320f7cc67e667e07447255d4265d33091ab2d5ab34ff3d1070f SHA512 77cbce62a0247323288eae090c9af61f9430b93568a23e5eb839e826f5422901ccb3e79f5fd8e5cb6903a6c5b85fef5a0a70083fbc8e00ff0cdf255846967539
MISC metadata.xml 347 BLAKE2B 94165f2a8e62f3dc7e195f872944300ffff5ba23b9a7e6c30c18d61bc469ea8ff9b70e516f854bfc52d55a0fd27daff0df58145e34bfe26dbcde8070b8a22630 SHA512 5bb37b39b9574256358a623cff942a95162f5f9dcb32ddf28bd167504c7619be54488fae10044a5c765291f8fa28a5aa346973365dcca867be0eef4e232a4999
diff --git a/dev-python/cattrs/cattrs-23.1.2.ebuild b/dev-python/cattrs/cattrs-23.1.2.ebuild
index cf1b943f4846..097477200e4c 100644
--- a/dev-python/cattrs/cattrs-23.1.2.ebuild
+++ b/dev-python/cattrs/cattrs-23.1.2.ebuild
@@ -21,6 +21,7 @@ SRC_URI="
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="test-rust"
RDEPEND="
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
@@ -35,12 +36,14 @@ BDEPEND="
>=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/orjson-3.5.2[${PYTHON_USEDEP}]
>=dev-python/pymongo-4.2.0[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${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? (
+ >=dev-python/orjson-3.5.2[${PYTHON_USEDEP}]
+ )
)
"
@@ -54,6 +57,15 @@ src_prepare() {
}
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 -p xdist -n "$(makeopts_jobs)" tests
}