diff options
Diffstat (limited to 'dev-python/orjson/orjson-3.9.0.ebuild')
-rw-r--r-- | dev-python/orjson/orjson-3.9.0.ebuild | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/orjson/orjson-3.9.0.ebuild b/dev-python/orjson/orjson-3.9.0.ebuild new file mode 100644 index 000000000000..b3c4b5401080 --- /dev/null +++ b/dev-python/orjson/orjson-3.9.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.6.1 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYTHON_COMPAT=( python3_{10..11} ) + +CRATES=" + ahash-0.8.3 + android-tzdata-0.1.1 + arrayvec-0.7.2 + associative-cache-1.0.1 + autocfg-1.1.0 + beef-0.5.2 + bytecount-0.6.3 + castaway-0.2.2 + cc-1.0.79 + cfg-if-1.0.0 + chrono-0.4.26 + compact_str-0.7.0 + encoding_rs-0.8.32 + itoa-1.0.6 + itoap-1.0.1 + libc-0.2.144 + libm-0.1.4 + num-traits-0.2.15 + once_cell-1.17.2 + packed_simd_2-0.3.8 + pyo3-build-config-0.19.0 + pyo3-ffi-0.19.0 + rustversion-1.0.12 + ryu-1.0.13 + serde-1.0.163 + serde_json-1.0.96 + simdutf8-0.1.4 + smallvec-1.10.0 + static_assertions-1.1.0 + target-lexicon-0.12.7 + version_check-0.9.4 +" + +inherit cargo distutils-r1 pypi + +DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" +HOMEPAGE=" + https://github.com/ijl/orjson/ + https://pypi.org/project/orjson/ +" +SRC_URI+=" + $(cargo_crate_uris) +" + +LICENSE="|| ( Apache-2.0 MIT )" +# Dependent crate licenses +LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/arrow[${PYTHON_USEDEP}] + dev-python/pendulum[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' 'python3*') + ) +" + +QA_FLAGS_IGNORED=".*" + +distutils_enable_tests pytest |