public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jq/
Date: Sat, 24 Apr 2021 01:38:15 +0000 (UTC)	[thread overview]
Message-ID: <1619228290.adb3aa1140080dd4c50113077e26cc9e5a2b9013.zmedico@gentoo> (raw)

commit:     adb3aa1140080dd4c50113077e26cc9e5a2b9013
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 24 01:31:25 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 01:38:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adb3aa11

dev-python/jq: Initial import

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-python/jq/Manifest        |  3 +++
 dev-python/jq/jq-1.1.2.ebuild | 30 ++++++++++++++++++++++++++++++
 dev-python/jq/metadata.xml    | 12 ++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/dev-python/jq/Manifest b/dev-python/jq/Manifest
new file mode 100644
index 00000000000..4a676270fb8
--- /dev/null
+++ b/dev-python/jq/Manifest
@@ -0,0 +1,3 @@
+DIST jq-1.1.2.tar.gz 70638 BLAKE2B c22db8ebfbe74382c3b4ccda1a13c1758e5aa195c0c9f3192f1220f8948fe4747d3f83b7448089b96a9fa3a2f4167cf50b43901beabf468abb786f2a29b3b984 SHA512 5046bd61135e7547c345f2e89ee2af2f64bd370ee39e301b62c8fd9d299590305e0f9f7f6e0307f59fc6b7eb05659df82eb5bd0a162985e615eaa8d79bef58e2
+DIST jq-1.6.tar.gz 1750584 BLAKE2B c9be1314e9d027247de63492ee362e996ef85faf45a47ee421cad95ebde9188bff8d3fc7db64e717ab922e1052f3b1c1500f5589fc5b2199ab66effb000e442d SHA512 5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480
+DIST onig-6.9.4.tar.gz 908702 BLAKE2B e6e9939f284569408ba01b8551960bc939bbfdca425f8470499f5bb83ead7b6b09898f6f6a09d5d8c26d74d5416f6e5e9e2f00fbe7aa9eb820edb8aa4a3050cc SHA512 ed8f42f6893966c0ee3c168b4fdbcb04b2286ad69ecab43a754c1dbc8fc4656e01319991d776d7144b6a3f90d050781b321432278d83c74c9565c2743851c85b

diff --git a/dev-python/jq/jq-1.1.2.ebuild b/dev-python/jq/jq-1.1.2.ebuild
new file mode 100644
index 00000000000..c7dfcd84103
--- /dev/null
+++ b/dev-python/jq/jq-1.1.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for jq"
+HOMEPAGE="https://github.com/mwilliamson/jq.py"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+	https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz
+	https://github.com/kkos/oniguruma/releases/download/v6.9.4/onig-6.9.4.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+	sed -e 's|import requests|#\0|' \
+		-e 's|urlretrieve(source_url, tarball_path)|shutil.copyfile(source_url, tarball_path)|' \
+		-e "s|source_url=.*kkos/oniguruma.*|source_url=\"${DISTDIR}/onig-6.9.4.tar.gz\",|" \
+		-e "s|source_url=.*stedolan/jq.*|source_url=\"${DISTDIR}/jq-1.6.tar.gz\",|" \
+		-i setup.py || die
+	distutils-r1_python_prepare_all
+}

diff --git a/dev-python/jq/metadata.xml b/dev-python/jq/metadata.xml
new file mode 100644
index 00000000000..e6f87f4591e
--- /dev/null
+++ b/dev-python/jq/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>zmedico@gentoo.org</email>
+		<name>Zac Medico</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">mwilliamson/jq.py</remote-id>
+		<remote-id type="pypi">jq</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2021-04-24  1:38 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24  1:38 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-24  1:46 [gentoo-commits] repo/gentoo:master commit in: dev-python/jq/ Zac Medico
2021-06-14 20:05 Zac Medico
2021-09-12 15:35 Arthur Zamarin
2021-10-17  8:58 Michał Górny
2021-11-13 15:38 Louis Sautier
2022-02-10 21:10 Arthur Zamarin
2022-03-21  9:12 Jakov Smolić
2022-03-21  9:15 Jakov Smolić
2022-09-09  7:23 Arthur Zamarin
2022-09-22 21:06 Zac Medico
2022-10-10 18:34 Sam James
2022-10-10 18:34 Sam James
2022-10-10 20:22 Michał Górny
2023-01-07  4:54 Michał Górny
2023-02-16  5:24 Sam James
2023-02-16 10:01 Sam James
2023-02-16 14:18 Michał Górny
2023-03-17  5:32 Michał Górny
2023-04-16 17:15 Arthur Zamarin
2023-04-16 23:17 Sam James
2023-04-17  4:21 Michał Górny
2023-05-04 16:17 Michał Górny
2023-05-25  3:18 Sam James
2023-08-06 12:30 Michał Górny
2023-08-31 13:22 Michał Górny
2023-09-13  2:42 Michał Górny
2023-09-13  3:57 Sam James
2023-10-06 18:08 Sam James
2023-10-06 19:57 Arthur Zamarin
2024-03-17 16:24 Michał Górny
2024-04-18  5:23 Sam James
2024-04-18  5:23 Sam James
2024-04-18  5:34 Michał Górny
2024-05-18  5:05 Michał Górny
2024-06-03 21:20 Louis Sautier
2024-08-17 16:55 Michał Górny
2024-09-07 11:26 Jakov Smolić
2024-09-07 12:31 Jakov Smolić
2024-09-07 13:06 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1619228290.adb3aa1140080dd4c50113077e26cc9e5a2b9013.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox