diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-13 03:02:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-13 03:02:43 +0000 |
commit | 4dc2f97ed84159736ecfb5dea5485e83b27810d1 (patch) | |
tree | a2dacff6c971827db40747ce252c01aad9eea6d2 /dev-python/jsonpickle | |
parent | 51be8f45b17e3da3ac48eca6b16b703bb58fda76 (diff) |
gentoo auto-resync : 13:11:2024 - 03:02:42
Diffstat (limited to 'dev-python/jsonpickle')
-rw-r--r-- | dev-python/jsonpickle/Manifest | 2 | ||||
-rw-r--r-- | dev-python/jsonpickle/jsonpickle-4.0.0.ebuild | 67 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest index 1d985e5a18ae..a551cb382880 100644 --- a/dev-python/jsonpickle/Manifest +++ b/dev-python/jsonpickle/Manifest @@ -1,5 +1,7 @@ DIST jsonpickle-3.3.0.gh.tar.gz 324099 BLAKE2B e2c922df65f497b80ae78258024342de763d7585ce391f076e9e8a2f1da73e5c755b977be069a9778c85721b2fdcfcde70034374c7f38f001486a41742e9a488 SHA512 b796c2263ccb38e9e9191d9519ac044defa5df8a2b34bc8002f4de59397056048e037ae12f3e5ca46061febb81a7b35cfec11335926c893357f0c22e9b1b6d85 DIST jsonpickle-3.4.2.gh.tar.gz 307391 BLAKE2B 30be4460787349a7359062e5ebb14a4fbf3139f12b6bc388d903a419aa7e1a0bed93202aecacf5b43379de9335938b9948dc79f46b73791212b1623c972be0de SHA512 745a1355fa171224b48466590e1dd210d25cda41b8d9a9dfbafebf3b4fe17ca2b5e19b2c3c63d4fd3d5e70a800418f4da95404c3ce86fdfef163deb9b0d3ba46 +DIST jsonpickle-4.0.0.gh.tar.gz 308065 BLAKE2B f55d8e6cc88a35057ecd75cf61878db7040b29c7e6980a99b5457e0851e2be048fed5995a55f2eeae41299c9ee335d7e046ef4389b5549a0a88f3e5e3b516f24 SHA512 6e227d7002e53f705df77c1af95cfa33778c31e030217c5d17a9f0879f6dfa3c4be88e6cb5ec59aec057b874995acf3dd20917f4aa2f098dc2fcb6605eef38b1 EBUILD jsonpickle-3.3.0.ebuild 1674 BLAKE2B f203cfcc5cc4c4dd508b94208bb278af288d8b2b1534f5f34a5563f2e128b7499c3bebc5006fbaa037ec52b984223d89593268ccdb404613410cf136720e14f1 SHA512 3f9b9cae4c80b6b425a5920b01b45513e1462b3567def2795623c6726a02d5f0094797b6b29d517524b63115d8de359b460a4b275fe44fd28edd14c358d6a042 EBUILD jsonpickle-3.4.2.ebuild 1634 BLAKE2B dd4b485d56e7e2fdcaa444adc47aba3cf24aaf8d65974abdb8274a33047d5a6249d1a85e52d4727acaf3b3a69a53a9a3df7912170fe3151168c3bc0faed84cbb SHA512 6b37bcf3ef639428d17faa2f8e5c85b1eec268d35abaafb4b94b97f0bf759c6078dceed0a4495e2ea19a6b9f8db18221bbdcc144ef4821f46956b2a24e35e9ca +EBUILD jsonpickle-4.0.0.ebuild 1634 BLAKE2B dd4b485d56e7e2fdcaa444adc47aba3cf24aaf8d65974abdb8274a33047d5a6249d1a85e52d4727acaf3b3a69a53a9a3df7912170fe3151168c3bc0faed84cbb SHA512 6b37bcf3ef639428d17faa2f8e5c85b1eec268d35abaafb4b94b97f0bf759c6078dceed0a4495e2ea19a6b9f8db18221bbdcc144ef4821f46956b2a24e35e9ca MISC metadata.xml 412 BLAKE2B a7e746abd8b45415ecdbccbde1b65ba9f1fa9fe7ce353411681c2a3de046878e990aad20849ee561a56ad3208bd5071d7b5e5b3c767fd71b7c44d2e8412d349b SHA512 dc52df78fdfe9024e695aae3d2bf22bed7162e1f2a528a288056b68022ebbc400b0a3a2f3e9c2155ee57e66d77a4f7a3f6f67188fb13ee15f200212ac6809a31 diff --git a/dev-python/jsonpickle/jsonpickle-4.0.0.ebuild b/dev-python/jsonpickle/jsonpickle-4.0.0.ebuild new file mode 100644 index 000000000000..971fe8e5ffc6 --- /dev/null +++ b/dev-python/jsonpickle/jsonpickle-4.0.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 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 +} |