dev-python/jq: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-09-07 14:34:42 +02:00
parent 09a6bd2dc8
commit b7e9f65944
2 changed files with 0 additions and 50 deletions

View File

@@ -1,2 +1 @@
DIST jq.py-1.7.0.gh.tar.gz 1953673 BLAKE2B 861dcb706ef801ff3abb47a6b85fb8aad03988c717a67063d737667ce6853c89dbe10bf61dac517701b8b3e3af6b97d12a15ed03aa0d5a6e6d0d3fa2697e9284 SHA512 918e4537eacf55d0cce888b1946b13acb6d177906d704c99e0b1cc88a55a2929fbeccef7d3fa61daaf0290a97afec581d23a641bdbfc0c700744422135fbcad6
DIST jq.py-1.8.0.gh.tar.gz 1954418 BLAKE2B e823ab01a7ce42abc542b58bb1f966e6447b85d66c7b72e8b0765a65f6ae510cf5c6045e14c802237360c2108f84428dc9b18a452e1334ba5ee709a4c835e5bd SHA512 83e9a7599518b5281f25954d5fc66de488678ef86982964bc04ae3739d4627220a9ec92570810f9cf235a8e5351284ac430053e6f826ca42f831d837b4750d83

View File

@@ -1,49 +0,0 @@
# 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..13} )
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 ~arm64 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
}