public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/jsonlines/
@ 2024-04-06 10:06 Kyle Elbert
  0 siblings, 0 replies; 3+ messages in thread
From: Kyle Elbert @ 2024-04-06 10:06 UTC (permalink / raw
  To: gentoo-commits

commit:     b91fbef589e490e88a1cf5ea2eab73c7b3a79c50
Author:     Kyle Elbert <kcelbert <AT> gmail <DOT> com>
AuthorDate: Sat Apr  6 10:01:51 2024 +0000
Commit:     Kyle Elbert <kcelbert <AT> gmail <DOT> com>
CommitDate: Sat Apr  6 10:01:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b91fbef5

dev-python/jsonlines: new package, add 4.0.0

Signed-off-by: Kyle Elbert <kcelbert <AT> gmail.com>

 dev-python/jsonlines/Manifest               |  1 +
 dev-python/jsonlines/jsonlines-4.0.0.ebuild | 35 +++++++++++++++++++++++++++++
 dev-python/jsonlines/metadata.xml           | 12 ++++++++++
 3 files changed, 48 insertions(+)

diff --git a/dev-python/jsonlines/Manifest b/dev-python/jsonlines/Manifest
new file mode 100644
index 0000000000..74195a9deb
--- /dev/null
+++ b/dev-python/jsonlines/Manifest
@@ -0,0 +1 @@
+DIST jsonlines-4.0.0.gh.tar.gz 13172 BLAKE2B 66c68591f2d04f290165a5245335700b6a8305607a16dde3cf759868ecc8aad116f7afea447684803c21692393835f97ca589b4ac519e8f7ddc459cf05d39e82 SHA512 d197163b4875dd5d30afdd8e5b9415d8faa3af2787bbecbc7a7f79aa28e775b2e119bffdf61699e132552af19ff97d6412fe83d328e4022acd920456addeb275

diff --git a/dev-python/jsonlines/jsonlines-4.0.0.ebuild b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
new file mode 100644
index 0000000000..b484d7c137
--- /dev/null
+++ b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+DESCRIPTION="Library with helpers for the jsonlines file format"
+HOMEPAGE="https://pypi.org/project/jsonlines/"
+#SRC_URI="https://files.pythonhosted.org/packages/90/cd/0beacbcfdf9b3af9e7c615cb3dba7ec4be1030d4b283e3c9717e3fd9af3c/jsonlines-1.2.0.tar.gz"
+if [[ ${PV} == "9999" ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/wbolster/jsonlines"
+else
+	KEYWORDS="~amd64 ~arm64"
+#	tests not distributed through pypi mirror
+#	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+	SRC_URI="https://github.com/wbolster/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+fi
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+RESTRICT="mirror" #overlay, no real issue
+RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
+BDEPEND=" test? ( ${RDEPEND} )"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	sed -r -e "/packages *=/ s|\[[^]]*\]\+||" -i -- setup.py
+
+	distutils-r1_python_prepare_all
+}

diff --git a/dev-python/jsonlines/metadata.xml b/dev-python/jsonlines/metadata.xml
new file mode 100644
index 0000000000..bce0752444
--- /dev/null
+++ b/dev-python/jsonlines/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>kcelbert@gmail.com</email>
+		<name>Kyle Elbert</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">wbolster/jsonlines</remote-id>
+		<remote-id type="pypi">jsonlines</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/jsonlines/
@ 2024-04-07 22:25 Kyle Elbert
  0 siblings, 0 replies; 3+ messages in thread
From: Kyle Elbert @ 2024-04-07 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     cd67626d3e290b30a55f3752a4aa9cedfa3d4caf
Author:     Kyle Elbert <kcelbert <AT> gmail <DOT> com>
AuthorDate: Sun Apr  7 20:57:32 2024 +0000
Commit:     Kyle Elbert <kcelbert <AT> gmail <DOT> com>
CommitDate: Sun Apr  7 20:59:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd67626d

dev-python/jsonlines: minor fixup

metadata doctype changed to https
removed redundant test dep section

Signed-off-by: Kyle Elbert <kcelbert <AT> gmail.com>

 dev-python/jsonlines/jsonlines-4.0.0.ebuild | 1 -
 dev-python/jsonlines/metadata.xml           | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/jsonlines/jsonlines-4.0.0.ebuild b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
index b484d7c137..04cbe8bb62 100644
--- a/dev-python/jsonlines/jsonlines-4.0.0.ebuild
+++ b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
@@ -24,7 +24,6 @@ SLOT="0"
 IUSE="test"
 RESTRICT="mirror" #overlay, no real issue
 RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
-BDEPEND=" test? ( ${RDEPEND} )"
 
 distutils_enable_tests pytest
 

diff --git a/dev-python/jsonlines/metadata.xml b/dev-python/jsonlines/metadata.xml
index bce0752444..8ea2022ed9 100644
--- a/dev-python/jsonlines/metadata.xml
+++ b/dev-python/jsonlines/metadata.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<maintainer type="person">
 		<email>kcelbert@gmail.com</email>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/jsonlines/
@ 2025-04-16 23:53 Kyle Elbert
  0 siblings, 0 replies; 3+ messages in thread
From: Kyle Elbert @ 2025-04-16 23:53 UTC (permalink / raw
  To: gentoo-commits

commit:     727926ac73511fbdf835308c41b16a8eb3493756
Author:     Kyle Elbert <kcelbert <AT> gmail <DOT> com>
AuthorDate: Wed Apr 16 23:39:44 2025 +0000
Commit:     Kyle Elbert <kcelbert <AT> gmail <DOT> com>
CommitDate: Wed Apr 16 23:41:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=727926ac

dev-python/jsonlines: enable py3.13

Signed-off-by: Kyle Elbert <kcelbert <AT> gmail.com>

 dev-python/jsonlines/jsonlines-4.0.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/jsonlines/jsonlines-4.0.0.ebuild b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
index 284968bca..cc8431757 100644
--- a/dev-python/jsonlines/jsonlines-4.0.0.ebuild
+++ b/dev-python/jsonlines/jsonlines-4.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517="setuptools"
-PYTHON_COMPAT=( python3_{11..12} )
+PYTHON_COMPAT=( python3_{11..13} )
 inherit distutils-r1
 
 DESCRIPTION="Library with helpers for the jsonlines file format"
@@ -24,6 +24,7 @@ SLOT="0"
 IUSE="test"
 RESTRICT="mirror" #overlay, no real issue
 RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
+BDEPEND=" test? ( ${RDEPEND} )"
 
 distutils_enable_tests pytest
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-16 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-16 23:53 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/jsonlines/ Kyle Elbert
  -- strict thread matches above, loose matches on Subject: below --
2024-04-07 22:25 Kyle Elbert
2024-04-06 10:06 Kyle Elbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox