diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-31 14:57:15 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-31 15:06:01 +0200 |
commit | 8eeb735ae91e6444fbce84712121b55d892867a0 (patch) | |
tree | 40a466cda9b93d18fc2f9b482354010cc6f438d0 /dev-python/jq | |
parent | dev-python/wcmatch: Bump to 8.5 (diff) | |
download | gentoo-8eeb735ae91e6444fbce84712121b55d892867a0.tar.gz gentoo-8eeb735ae91e6444fbce84712121b55d892867a0.tar.bz2 gentoo-8eeb735ae91e6444fbce84712121b55d892867a0.zip |
dev-python/jq: Bump to 1.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jq')
-rw-r--r-- | dev-python/jq/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jq/jq-1.5.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest index a74326fc6d94..48c91cd4bf5f 100644 --- a/dev-python/jq/Manifest +++ b/dev-python/jq/Manifest @@ -1 +1,2 @@ DIST jq.py-1.4.1.gh.tar.gz 2648592 BLAKE2B b1413a07ba03f61d3b2e8cfa3f2c646408e24139f76fb9637d23968d953fa78f82b1dd04c355d5a6e6c6761095a4814d8cfd1f012382ca810ad5a44e007c7878 SHA512 03924793e8cab8041b4b2ecb8ef45bafdf31f14b4502170358ddecc027ead7cc17eda37fc04743eeef073e29144d2f7e6c4428e2a92f1bb8aa859100dce4521b +DIST jq.py-1.5.0.gh.tar.gz 2649404 BLAKE2B 9dfe8f17e061eaea44de31be17cbb18607dc118d526a652a80e2d69b30fa532f412b9b20b1c72418f4d6904b43126611344b2257bc9cb3441086ef3e8f131a6e SHA512 826771ced7d707111b7bc6d1f7a408944690daa8bfb6ec135627a15c3fcfba95a525b8ee3005f8a6e5d23afbeaacc06ad7464e3c3a0a15cf5582d97121c64248 diff --git a/dev-python/jq/jq-1.5.0.ebuild b/dev-python/jq/jq-1.5.0.ebuild new file mode 100644 index 000000000000..bbe209456231 --- /dev/null +++ b/dev-python/jq/jq-1.5.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2023 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/ +" +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" + +# cython<3: https://bugs.gentoo.org/898684 +BDEPEND=" + <dev-python/cython-3[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_compile() { + # 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 +} |