dev-python/jsonpickle: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-09-05 17:51:41 +02:00
parent 6dc9c384a7
commit f3d5861848
2 changed files with 0 additions and 73 deletions

View File

@@ -1,2 +1 @@
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

View File

@@ -1,72 +0,0 @@
# 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..13} )
PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" python3_14 )
inherit distutils-r1 optfeature
DESCRIPTION="Python library for serializing any arbitrary object graph into JSON"
HOMEPAGE="
https://github.com/jsonpickle/jsonpickle/
https://pypi.org/project/jsonpickle/
"
SRC_URI="
https://github.com/jsonpickle/jsonpickle/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
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[@]}")
)
)
"
distutils_enable_tests pytest
python_prepare_all() {
distutils-r1_python_prepare_all
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}
python_test() {
local EPYTEST_IGNORE=(
# unpackaged bson dependency
tests/bson_test.py
)
if ! use test-full || ! has_version "dev-python/gmpy2[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=( jsonpickle/ext/gmpy.py )
fi
if ! use test-full || ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"; then
EPYTEST_IGNORE+=( jsonpickle/ext/pandas.py )
fi
epytest 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
}