From: "Nicolas PARLANT" <ppn@parhuet.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/json-schema-for-humans/
Date: Sat, 30 Nov 2024 04:24:24 +0000 (UTC) [thread overview]
Message-ID: <1732940663.99e374a5e958e6fb7f86b6d7f6bdbf890c7351e2.ppn@gentoo> (raw)
commit: 99e374a5e958e6fb7f86b6d7f6bdbf890c7351e2
Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Sat Nov 30 03:54:50 2024 +0000
Commit: Nicolas PARLANT <ppn <AT> parhuet <DOT> fr>
CommitDate: Sat Nov 30 04:24:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99e374a5
dev-python/json-schema-for-humans: add 1.3.2
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
dev-python/json-schema-for-humans/Manifest | 1 +
.../json-schema-for-humans-1.3.2.ebuild | 57 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/dev-python/json-schema-for-humans/Manifest b/dev-python/json-schema-for-humans/Manifest
index 7371bf6e5..b4e2cc754 100644
--- a/dev-python/json-schema-for-humans/Manifest
+++ b/dev-python/json-schema-for-humans/Manifest
@@ -1 +1,2 @@
DIST json-schema-for-humans-1.0.4.gh.tar.gz 872932 BLAKE2B 96f3d98f29868d13d4d9e219cba2ae62db1bb4f7e80b722f008d85e99fd6825997c83d6a9a0dd54f152892b350e1f95bb50bb83c5b3a1498565a4f4ff993ac37 SHA512 dee71568846fd29f332833834429d394625ca33d4e12069104e3bf9b26f1dcfaf50c4b1473284fc772606f09bca2861ff3046374f141aaf0c031f9bed6e9262d
+DIST json-schema-for-humans-1.3.2.gh.tar.gz 864646 BLAKE2B 4262c47e5f372d72313c455bd672918f991e804f8146f44dd6d02eff2c7108bf52c4be2e63ba25a5410ec03e9e62b49fdf537e150e5eeddd7d58e5116ddbc794 SHA512 29652fbf203f0c0b155ef7b4119f1c51ecd239d11ebeff485f6d95379b239d818fa6267b121020f4edf6391b4d3c8bff06cc735ff26d5f9f68c2291c6284727d
diff --git a/dev-python/json-schema-for-humans/json-schema-for-humans-1.3.2.ebuild b/dev-python/json-schema-for-humans/json-schema-for-humans-1.3.2.ebuild
new file mode 100644
index 000000000..fcde38135
--- /dev/null
+++ b/dev-python/json-schema-for-humans/json-schema-for-humans-1.3.2.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..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Quickly generate HTML documentation from a JSON schema "
+HOMEPAGE="
+ https://github.com/coveooss/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
+}
next reply other threads:[~2024-11-30 4:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-30 4:24 Nicolas PARLANT [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-25 9:35 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/json-schema-for-humans/ Nicolas PARLANT
2024-12-06 20:45 Nicolas PARLANT
2024-12-06 20:45 Nicolas PARLANT
2024-11-30 4:24 Nicolas PARLANT
2024-11-28 22:18 Nicolas PARLANT
2024-11-28 22:07 Nicolas PARLANT
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=1732940663.99e374a5e958e6fb7f86b6d7f6bdbf890c7351e2.ppn@gentoo \
--to=ppn@parhuet.fr \
--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