From 36119ada8749c8c36efe79da1292bedd773ec7ab Mon Sep 17 00:00:00 2001 From: Crucible Date: Sat, 3 Oct 2026 03:05:05 -0500 Subject: Publish srcux candidate 0000000559-20261003-030307 --- dev-python/jsonpickle/Manifest | 1 + dev-python/jsonpickle/jsonpickle-4.1.3.ebuild | 73 +++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 dev-python/jsonpickle/jsonpickle-4.1.3.ebuild (limited to 'dev-python/jsonpickle') diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 4b70596bb23a..0c310eeb51e1 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1 +1,2 @@ DIST jsonpickle-4.1.2.tar.gz 319120 BLAKE2B c00b4f82f709b24813204b264fb5dafa4274c68e74692d3dffeb1618d3d139c76b335bd9c1fbcc5988bd18446afa43ad8de96e6d6185ff9e204a73e173f631bf SHA512 e3ecb9cecc9d7799ff8d2a610fb9327616830ac26970bb486d46de2e94f0b551526cadeb82f7e8536ef5b207df4f4fd110e52d5c5ff1a55b3e869641a94ec936 +DIST jsonpickle-4.1.3.tar.gz 317678 BLAKE2B c89dc5eaf690fca47ae1b928296d41738c35873d8c0f3bccdeb837233b61f689caf6df36520358cf3d09f256b444f5251036d96be7da72d112e9c44052667451 SHA512 a1e3e9da149ba948e72156a3a261b9e3c35531663b4e00b5e6949a9eb9cb6a69f71734db5abb8b2c121a231846774925aa153595713d9fe85cc4736568bdb86c diff --git a/dev-python/jsonpickle/jsonpickle-4.1.3.ebuild b/dev-python/jsonpickle/jsonpickle-4.1.3.ebuild new file mode 100644 index 000000000000..8290f7657c17 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-4.1.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_FULLY_TESTED=( python3_{12..14} ) +PYTHON_COMPAT=( python3_{13..14} ) +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python library for serializing any arbitrary object graph into JSON" +HOMEPAGE=" + https://github.com/jsonpickle/jsonpickle/ + https://pypi.org/project/jsonpickle/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv" +IUSE="test-full" + +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + dev-python/feedparser[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/ujson[${PYTHON_USEDEP}] + test-full? ( + $(python_gen_cond_dep ' + dev-python/gmpy2[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # unpackaged bson dependency + tests/bson_test.py + ) + local EPYTEST_DESELECT=( + # new numpy + tests/numpy_test.py::test_ndarray_roundtrip + # new pandas + tests/pandas_test.py::test_dataframe_roundtrip + tests/pandas_test.py::test_multindex_dataframe_roundtrip + tests/pandas_test.py::test_pre_v3_4_df_decoding + ) + + if ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py ) + fi + if ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then + EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py ) + fi + + # ignore DeprecationWarnings from numpy, since upstream is matching + # on exact warning count + epytest -Wignore::DeprecationWarning tests +} + +pkg_postinst() { + # Unpackaged optional backends: yajl, demjson + optfeature "encoding numpy-based data" dev-python/numpy + optfeature "encoding pandas objects" dev-python/pandas + optfeature "fast JSON backend" dev-python/simplejson +} -- cgit v1.3