diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2020-10-28 16:35:54 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2020-10-28 16:36:01 -0700 |
commit | 875b8c440c07c64c80d73bd87730e1ff49b32f05 (patch) | |
tree | 7e3bf4c078c6979df62bf4609515bc2eda0e232f /dev-python | |
parent | dev-libs/libpy: New package (diff) | |
download | gentoo-875b8c440c07c64c80d73bd87730e1ff49b32f05.tar.gz gentoo-875b8c440c07c64c80d73bd87730e1ff49b32f05.tar.bz2 gentoo-875b8c440c07c64c80d73bd87730e1ff49b32f05.zip |
dev-python/libpy_simdjson: New package
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/libpy_simdjson/Manifest | 1 | ||||
-rw-r--r-- | dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild | 33 | ||||
-rw-r--r-- | dev-python/libpy_simdjson/metadata.xml | 8 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/libpy_simdjson/Manifest b/dev-python/libpy_simdjson/Manifest new file mode 100644 index 000000000000..388003c93ddc --- /dev/null +++ b/dev-python/libpy_simdjson/Manifest @@ -0,0 +1 @@ +DIST libpy_simdjson-0.4.0.tar.gz 3319968 BLAKE2B bb24af861cda5973af73718f098a514e74e852f59703c694a7bd4875f183cb0daacab7cedca9757df42557f6d1d9e2408e15443977a1dbdd6bb12cd09a488774 SHA512 c3a8c1a24f338d1fdcd0a07c64da8887b0e6e44dc701ddc23f27d569319c01d9f7ff9198de6d828e2925c2fd6444b64e3273f4e16fc9d5c1a173c6edfaccd83f diff --git a/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild b/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild new file mode 100644 index 000000000000..16a497808290 --- /dev/null +++ b/dev-python/libpy_simdjson/libpy_simdjson-0.4.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 + +DESCRIPTION="Python bindings for simdjson using libpy" +HOMEPAGE="https://github.com/gerrymanoim/libpy_simdjson" +SRC_URI="https://github.com/gerrymanoim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-cpp/range-v3:= + dev-libs/simdjson:= + dev-libs/libpy[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" +BDEPEND="${DEPEND}" + +distutils_enable_tests pytest + +python_prepare_all() { + # benchmark tests have extra dependencies + rm libpy_simdjson/tests/test_benchmark.py || die + + distutils-r1_python_prepare_all +} diff --git a/dev-python/libpy_simdjson/metadata.xml b/dev-python/libpy_simdjson/metadata.xml new file mode 100644 index 000000000000..cee379b15409 --- /dev/null +++ b/dev-python/libpy_simdjson/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> +</pkgmetadata> |