diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-25 03:04:48 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-25 03:04:48 -0500 |
| commit | f1b8e4e12c5e5f7dc09790bb9915ce4855b5d9ea (patch) | |
| tree | a8f221e1b40a4169606eaa061aeec4488ee413a5 /dev-python/jsonpickle | |
| parent | 76c83b2d707f66d67a31960e9cc086753d88cd0d (diff) | |
| download | baldeagleos-repo-f1b8e4e12c5e5f7dc09790bb9915ce4855b5d9ea.tar.gz baldeagleos-repo-f1b8e4e12c5e5f7dc09790bb9915ce4855b5d9ea.tar.xz baldeagleos-repo-f1b8e4e12c5e5f7dc09790bb9915ce4855b5d9ea.zip | |
Adding metadata
Diffstat (limited to 'dev-python/jsonpickle')
| -rw-r--r-- | dev-python/jsonpickle/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/jsonpickle/jsonpickle-4.1.2.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index f5c840dd4ee5..079c47ae9489 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1 +1,2 @@ DIST jsonpickle-4.1.1.gh.tar.gz 309768 BLAKE2B 06711ba9123ae2d5e453e2fa277629131c62518dbb3bbd48e0f589e6fc02aea7094d2ce7d7a8dbbb2430077f380c14e26c318c2f669d37610897c8ebdf922d58 SHA512 13894e2e5ed258f8d16e27fd2e7ca5d0d38ae91552675c121b3516e4d22c2732b9a9a0656e06e648ae115e523a0f1ae82d756fbf504a884abe9ea7ad6bbccc5a +DIST jsonpickle-4.1.2.tar.gz 319120 BLAKE2B c00b4f82f709b24813204b264fb5dafa4274c68e74692d3dffeb1618d3d139c76b335bd9c1fbcc5988bd18446afa43ad8de96e6d6185ff9e204a73e173f631bf SHA512 e3ecb9cecc9d7799ff8d2a610fb9327616830ac26970bb486d46de2e94f0b551526cadeb82f7e8536ef5b207df4f4fd110e52d5c5ff1a55b3e869641a94ec936 diff --git a/dev-python/jsonpickle/jsonpickle-4.1.2.ebuild b/dev-python/jsonpickle/jsonpickle-4.1.2.ebuild new file mode 100644 index 000000000000..71eb39aba248 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-4.1.2.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 ~x86" +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 +} |
