commit: e88a8c646d3fbc2cca737093d85a5deab5b2f93c Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun May 23 06:02:03 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun May 23 06:02:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88a8c64
dev-python/pysimdjson: Bump to 4.0.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pysimdjson/Manifest | 1 + dev-python/pysimdjson/pysimdjson-4.0.0.ebuild | 35 +++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/pysimdjson/Manifest b/dev-python/pysimdjson/Manifest index e0d7b2517cd..d28264699a9 100644 --- a/dev-python/pysimdjson/Manifest +++ b/dev-python/pysimdjson/Manifest @@ -1,2 +1,3 @@ DIST pysimdjson-3.1.1.tar.gz 3286141 BLAKE2B f1fc63ffcaf524f23112438a8669caf4b4ffa0190bb20e2b851f61dfae386fe02bff1746dd4e68499bdaff3420d41401424fde1332222fe49211d32e09fdcab8 SHA512 9b1080d70f06e5a6d6467769a8146f642adee2c08391a87dd86eca9b0eb7666d9fed47a83d991843b07c2b96906dbf0ccacf2425bfc3ce4cb22731e03b12122e DIST pysimdjson-3.2.0.tar.gz 3357720 BLAKE2B 596738da76d008563e31c6231d348fefb8f37dd4dee2490339a6233ba0a39ab24dc3facf1d02a4621f1d6e01dfb4af8673651d79095919ee7f4532a25dd1c63f SHA512 4c72d71ead5675c2d9b1551b5dacadee013fbaa74f93b2345920f0bac8eb65d79dd84ee817d07fea0bdf477c1c97ca4746048fbdd06a4bfa516e063d89724226 +DIST pysimdjson-4.0.0.tar.gz 3738787 BLAKE2B 744d6bc53511e03e8e716d6c65771432c7bf8f7876bbf8c78d09459a8b170d3d396f9cc8996894f67110f4b7389526d454dffd687b1fda22df7f76f027af44db SHA512 8b3040ce44bb5042b70a14d9f67c312a375d1a12ba7a66466935a48ad0f8def9c21e200c8c93aa755110a674e95920fa7d0567c4f584be5392b70719994a2213 diff --git a/dev-python/pysimdjson/pysimdjson-4.0.0.ebuild b/dev-python/pysimdjson/pysimdjson-4.0.0.ebuild new file mode 100644 index 00000000000..67405c43dc7 --- /dev/null +++ b/dev-python/pysimdjson/pysimdjson-4.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) +inherit distutils-r1 + +DESCRIPTION="Python bindings for simdjson" +HOMEPAGE="https://github.com/TkTech/pysimdjson" +SRC_URI="https://github.com/TkTech/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/simdjson:= +" +DEPEND=${RDEPEND} +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" +distutils_enable_tests pytest + +src_prepare() { + # benchmarks aren't run + sed -i -e 's:pytest-benchmark::' setup.cfg || die + # force regen +# rm simdjson/csimdjson.cpp || die + + distutils-r1_src_prepare + + export BUILD_WITH_CYTHON=1 +}