mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/jsonpickle: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST jsonpickle-4.0.5.gh.tar.gz 308783 BLAKE2B 5f8a299afe9bc745882d46b36444f6f96bbef097fd78b79de1f9ecaf4cdc64811ddbf948f273eb456ed669f694204c7521140547be14f527dbcff038f4c4ad64 SHA512 ff4d252991cddb58e5c23b18ca23a24d77ea98af436eac5780df7c8c32d3083ef8291ce3688145b4aa2adcd0d19df869492761147cf32a9ff8fffd31ed5c98a8
|
||||
DIST jsonpickle-4.1.0.gh.tar.gz 309052 BLAKE2B c491c70cb77fc2871f1b07060e1a96f49612135c9f0a0f0a44793e44f3ac883223e946cf5857075d057c4095b8463f087f8c260bce3b6cf0423f8139e89dc023 SHA512 124565db38aba3d6c8869a0bdddd86725053d75fb8b143ad61a4ec36276ae7fbf8bc0369f17e2453db7dd609e69a8f746a1b34e395d369daa362bb45f80dd839
|
||||
DIST jsonpickle-4.1.1.gh.tar.gz 309768 BLAKE2B 06711ba9123ae2d5e453e2fa277629131c62518dbb3bbd48e0f589e6fc02aea7094d2ce7d7a8dbbb2430077f380c14e26c318c2f669d37610897c8ebdf922d58 SHA512 13894e2e5ed258f8d16e27fd2e7ca5d0d38ae91552675c121b3516e4d22c2732b9a9a0656e06e648ae115e523a0f1ae82d756fbf504a884abe9ea7ad6bbccc5a
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
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 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/gmpy2[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/ujson[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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 ! 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
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
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 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/feedparser[${PYTHON_USEDEP}]
|
||||
dev-python/gmpy2[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/ujson[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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 ! 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
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user