summaryrefslogtreecommitdiff
path: root/dev-python/jq
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-07 06:12:40 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-07 06:12:40 +0000
commitff3ac0b17b39e52a4fc9ca04d17a5535c8f6085c (patch)
tree71efa15498950476bf57b0f5c1d158d9ee985071 /dev-python/jq
parent86bac35ed1b4f7018bc03aea5551f7664a2b9ff4 (diff)
gentoo auto-resync : 07:01:2023 - 06:12:40
Diffstat (limited to 'dev-python/jq')
-rw-r--r--dev-python/jq/Manifest2
-rw-r--r--dev-python/jq/jq-1.4.0.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest
index 7847df822f42..d01febb13374 100644
--- a/dev-python/jq/Manifest
+++ b/dev-python/jq/Manifest
@@ -1,3 +1,5 @@
DIST jq-1.3.0.gh.tar.gz 2648187 BLAKE2B 61b6d4dbb2163477d09e69c25e0bec98780f39088d4e689a7e13ed8d64749c2e238f2bf7d1f6c47f3cebe1c94a1e5fa5322a988ce251e8417aac77c789975064 SHA512 cf3c1ac7954d36d808b9f9841ff7f71835e3324f6f8eb09ef3a66b446b47a354d8ff090dc3529b9936ec5d7a33ba5163354d3534f0dfc0cb467222a990e58fb5
+DIST jq.py-1.4.0.gh.tar.gz 2648402 BLAKE2B 5efc35fd9ee52e5c1c87ac46d980d1557121eedb14beb5d534987d81a37b05c5c765ef69cecf65141d7c451623d05d378bdcf9a6e48667c07a9f52e7d0317bbf SHA512 8acd9c4094e0e6f5ffd43303432347448e8cb160f2c33250a386afc75eac53134b15142da3f344b0ea3eac4df838ffa322771580a27349299f32a2c525e09555
EBUILD jq-1.3.0.ebuild 690 BLAKE2B dfe076528a63d4bfd2dccdcdef55149d914fc0f1616233d747ecea144b6a79ee4b02f7db1b7d9ebc7d71a3bb60dcf039d10d64a8afbadb77c7a1d9ecb273ee7a SHA512 0ab1a7804cf2a3a1745c542d2aac91bb18babb7648726991dafda08123c7140989c1030267b43f35b91a0c19de652ec9da1821bbb0c391f773bbd825f0d48e4a
+EBUILD jq-1.4.0.ebuild 749 BLAKE2B 7628fddc452edbf53d8a10af5b347d2b712d1e1ccb5191460c5565b4eacb71b25b396a1f09b040cc4ca357796044e8f65e1272c1ba451f94215b14c7fb97c898 SHA512 31838a9fa3b968d6bf9197c5ca5c11752b3560a6a50ca470249ce82111ee01ed9f4cc5b72a79e18ba4c3cadb0eb4371adfbbb23ff4896c27bd8310af0ed286f6
MISC metadata.xml 367 BLAKE2B b17eb2d9c460774d98ba18faf8a09d1c9c711433d0dfcff08df4f769411db66fdb2241d12ebc706664cdef98d9dbeb290614446112f53ecede571f77aa085174 SHA512 399b63613673deaef747fd380d6bdc086a4e4b57c5509b15fd6e031ea613ccf59641c95064fc7dbbf61f8d879fe03faf7e8298e4e8792a8a0b7a2bb3225e77c9
diff --git a/dev-python/jq/jq-1.4.0.ebuild b/dev-python/jq/jq-1.4.0.ebuild
new file mode 100644
index 000000000000..2bbe57192855
--- /dev/null
+++ b/dev-python/jq/jq-1.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+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"
+
+BDEPEND="
+ dev-python/cython[${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
+}