summaryrefslogtreecommitdiff
path: root/dev-python/orjson
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-12 12:39:43 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-12 12:39:43 +0000
commite8e1cef2dee055385d57e2fc11dcdfa98634d0ef (patch)
treeba8dfa845358c1cd202da3e58267f096e5eed811 /dev-python/orjson
parentc76caeeeebc79be65a78483791fc8e219aa4043d (diff)
downloadbaldeagleos-repo-e8e1cef2dee055385d57e2fc11dcdfa98634d0ef.tar.gz
baldeagleos-repo-e8e1cef2dee055385d57e2fc11dcdfa98634d0ef.tar.xz
baldeagleos-repo-e8e1cef2dee055385d57e2fc11dcdfa98634d0ef.zip
Adding metadata
Diffstat (limited to 'dev-python/orjson')
-rw-r--r--dev-python/orjson/orjson-3.6.8-r1.ebuild74
1 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/orjson/orjson-3.6.8-r1.ebuild b/dev-python/orjson/orjson-3.6.8-r1.ebuild
new file mode 100644
index 000000000000..c93117e989dd
--- /dev/null
+++ b/dev-python/orjson/orjson-3.6.8-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ ahash-0.7.6
+ arrayvec-0.7.2
+ associative-cache-1.0.1
+ autocfg-1.1.0
+ bytecount-0.6.2
+ cfg-if-1.0.0
+ chrono-0.4.19
+ encoding_rs-0.8.31
+ getrandom-0.2.6
+ inlinable_string-0.1.15
+ itoa-1.0.1
+ libc-0.2.123
+ libm-0.1.4
+ num-integer-0.1.44
+ num-traits-0.2.14
+ once_cell-1.10.0
+ packed_simd_2-0.3.7
+ pyo3-build-config-0.16.4
+ pyo3-ffi-0.16.4
+ ryu-1.0.9
+ serde-1.0.136
+ serde_json-1.0.79
+ simdutf8-0.1.4
+ smallvec-1.8.0
+ target-lexicon-0.12.3
+ version_check-0.9.4
+ wasi-0.10.2+wasi-snapshot-preview1
+"
+DISTUTILS_USE_PEP517=maturin
+PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
+QA_FLAGS_IGNORED="*"
+
+inherit cargo distutils-r1
+
+DESCRIPTION="Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy"
+HOMEPAGE="https://github.com/ijl/orjson"
+SRC_URI="
+ https://github.com/ijl/orjson/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ $(cargo_crate_uris ${CRATES})
+"
+
+LICENSE="
+ Apache-2.0 MIT
+ BSD
+ || ( Apache-2.0 MIT )
+ || ( Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT )
+ || ( Apache-2.0 Boost-1.0 )
+"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="debug"
+
+BDEPEND="
+ test? (
+ dev-python/arrow[${PYTHON_USEDEP}]
+ dev-python/orjson[${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_{8,9})
+ $(python_gen_cond_dep '>=dev-python/xxhash-1.4.3[${PYTHON_USEDEP}]' python3_8)
+ )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-3.6.7-no-strip.patch" )
+
+distutils_enable_tests pytest