From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 02A72158041 for ; Sun, 17 Mar 2024 16:24:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4918E29E8; Sun, 17 Mar 2024 16:24:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB96FE29E8 for ; Sun, 17 Mar 2024 16:24:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 062B633D9AD for ; Sun, 17 Mar 2024 16:24:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 300081550 for ; Sun, 17 Mar 2024 16:24:46 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1710692679.cdf1e0fcf353fe21b9595e11153e1ea35bcb2ad0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jq/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jq/Manifest dev-python/jq/jq-1.7.0.ebuild X-VCS-Directories: dev-python/jq/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cdf1e0fcf353fe21b9595e11153e1ea35bcb2ad0 X-VCS-Branch: master Date: Sun, 17 Mar 2024 16:24:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9af08b9-65e2-444c-9c3c-a34abc943fd2 X-Archives-Hash: 30d33f907d2d2ddf7e50919e90748402 commit: cdf1e0fcf353fe21b9595e11153e1ea35bcb2ad0 Author: Michał Górny gentoo org> AuthorDate: Sun Mar 17 16:17:05 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 17 16:24:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdf1e0fc dev-python/jq: Bump to 1.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/jq/Manifest | 1 + dev-python/jq/jq-1.7.0.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index a4a6ab185189..6ec16716199d 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1 +1,2 @@ DIST jq.py-1.6.0.gh.tar.gz 2842673 BLAKE2B 5ef2d2c6641483123b030c508b04e8f1574a5ca3168a2bacfd7c5a4ad01344d677f723cc3317677275496bd56412c5ab64370ed87b70dcb91dd1d8328daf65a8 SHA512 91e2c0890cece4f09e362c0ae691c768be64ba0d8e0d7441c9a459be37ff70ee816d179c21759ee053b2b434fc0a6998d90b660ae1f1456d4f506474cb80d88e +DIST jq.py-1.7.0.gh.tar.gz 1953673 BLAKE2B 861dcb706ef801ff3abb47a6b85fb8aad03988c717a67063d737667ce6853c89dbe10bf61dac517701b8b3e3af6b97d12a15ed03aa0d5a6e6d0d3fa2697e9284 SHA512 918e4537eacf55d0cce888b1946b13acb6d177906d704c99e0b1cc88a55a2929fbeccef7d3fa61daaf0290a97afec581d23a641bdbfc0c700744422135fbcad6 diff --git a/dev-python/jq/jq-1.7.0.ebuild b/dev-python/jq/jq-1.7.0.ebuild new file mode 100644 index 000000000000..de4242515879 --- /dev/null +++ b/dev-python/jq/jq-1.7.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P="jq.py-${PV}" +DESCRIPTION="Python bindings for jq" +HOMEPAGE=" + https://github.com/mwilliamson/jq.py/ + https://pypi.org/project/jq/ +" +# pypi sdist is missing .pyx +SRC_URI=" + https://github.com/mwilliamson/jq.py/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Minimum versions of jq + onigurama are from setup.py's bundled versions +DEPEND=" + >=app-misc/jq-1.7.1:= + >=dev-libs/oniguruma-6.9.8:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + local -x JQPY_USE_SYSTEM_LIBS=1 + + # Cython compilation isn't part of setup.py, so do it manually + "${EPYTHON}" -m cython -3 jq.pyx -o jq.c || die + distutils-r1_python_compile +}