From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1694929-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7A41C1581FB
	for <garchives@archives.gentoo.org>; Thu, 28 Nov 2024 22:07:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CD3DAE085A;
	Thu, 28 Nov 2024 22:07:45 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B2221E085A
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Nov 2024 22:07:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 701BB342FF5
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Nov 2024 22:07:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C9CC216E0
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Nov 2024 22:07:42 +0000 (UTC)
From: "Nicolas PARLANT" <ppn@parhuet.fr>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas PARLANT" <ppn@parhuet.fr>
Message-ID: <1732831514.4d367a799b12aaee0550bbf2fc23a3edd0bb7a2b.ppn@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/json-schema-for-humans/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: dev-python/json-schema-for-humans/Manifest dev-python/json-schema-for-humans/json-schema-for-humans-1.0.4.ebuild dev-python/json-schema-for-humans/metadata.xml
X-VCS-Directories: dev-python/json-schema-for-humans/
X-VCS-Committer: ppn
X-VCS-Committer-Name: Nicolas PARLANT
X-VCS-Revision: 4d367a799b12aaee0550bbf2fc23a3edd0bb7a2b
X-VCS-Branch: dev
Date: Thu, 28 Nov 2024 22:07:42 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d4f093f1-e7d9-4928-924d-f065b2484c73
X-Archives-Hash: e2a626d334ea401cd2c15fb3738fcc2a

commit:     4d367a799b12aaee0550bbf2fc23a3edd0bb7a2b
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Thu Nov 28 22:03:41 2024 +0000
Commit:     Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Thu Nov 28 22:05:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d367a79

dev-python/json-schema-for-humans: new package, add 1.0.4

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>

 dev-python/json-schema-for-humans/Manifest         |  1 +
 .../json-schema-for-humans-1.0.4.ebuild            | 57 ++++++++++++++++++++++
 dev-python/json-schema-for-humans/metadata.xml     | 12 +++++
 3 files changed, 70 insertions(+)

diff --git a/dev-python/json-schema-for-humans/Manifest b/dev-python/json-schema-for-humans/Manifest
new file mode 100644
index 000000000..7371bf6e5
--- /dev/null
+++ b/dev-python/json-schema-for-humans/Manifest
@@ -0,0 +1 @@
+DIST json-schema-for-humans-1.0.4.gh.tar.gz 872932 BLAKE2B 96f3d98f29868d13d4d9e219cba2ae62db1bb4f7e80b722f008d85e99fd6825997c83d6a9a0dd54f152892b350e1f95bb50bb83c5b3a1498565a4f4ff993ac37 SHA512 dee71568846fd29f332833834429d394625ca33d4e12069104e3bf9b26f1dcfaf50c4b1473284fc772606f09bca2861ff3046374f141aaf0c031f9bed6e9262d

diff --git a/dev-python/json-schema-for-humans/json-schema-for-humans-1.0.4.ebuild b/dev-python/json-schema-for-humans/json-schema-for-humans-1.0.4.ebuild
new file mode 100644
index 000000000..e3e3f3b81
--- /dev/null
+++ b/dev-python/json-schema-for-humans/json-schema-for-humans-1.0.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Quickly generate HTML documentation from a JSON schema "
+HOMEPAGE="
+	https://github.com/coveoss/json-schema-for-humans/
+	https://pypi.org/project/json-schema-for-humans/
+"
+SRC_URI="https://github.com/coveooss/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	app-text/htmlmin[${PYTHON_USEDEP}]
+	dev-python/click[${PYTHON_USEDEP}]
+	dev-python/dataclasses-json[${PYTHON_USEDEP}]
+	dev-python/jinja2[${PYTHON_USEDEP}]
+	dev-python/markdown2[${PYTHON_USEDEP}]
+	dev-python/markupsafe[${PYTHON_USEDEP}]
+	dev-python/pygments[${PYTHON_USEDEP}]
+	dev-python/pytz[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+	${DISTUTILS_DEPS}
+	${PYTHON_DEPS}
+	test? ( dev-python/beautifulsoup4[${PYTHON_USEDEP}]	)
+"
+
+distutils_enable_tests pytest
+
+python_test(){
+	local EPYTEST_DESELECT=(
+		# tests with network
+		'tests/generate_test.py::test_references_url'
+		'tests/test_md_generate.py::TestMdGenerate::test_basic[True-True-references_url'
+		'tests/test_md_generate.py::TestMdGenerate::test_basic[True-False-references_url'
+		'tests/test_md_generate.py::TestMdGenerate::test_basic[False-True-references_url'
+		'tests/test_md_generate.py::TestMdGenerate::test_basic[False-False-references_url'
+	)
+	epytest
+}

diff --git a/dev-python/json-schema-for-humans/metadata.xml b/dev-python/json-schema-for-humans/metadata.xml
new file mode 100644
index 000000000..6df693dac
--- /dev/null
+++ b/dev-python/json-schema-for-humans/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>nicolas.parlant@parhuet.fr</email>
+		<name>Nicolas PARLANT</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">coveoss/json-schema-for-humans</remote-id>
+		<remote-id type="pypi">json-schema-for-humans</remote-id>
+	</upstream>
+</pkgmetadata>