mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 00:23:13 -04:00
dev-python/json-schema-for-humans: new package, add 1.0.4
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
1
dev-python/json-schema-for-humans/Manifest
Normal file
1
dev-python/json-schema-for-humans/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST json-schema-for-humans-1.0.4.gh.tar.gz 872932 BLAKE2B 96f3d98f29868d13d4d9e219cba2ae62db1bb4f7e80b722f008d85e99fd6825997c83d6a9a0dd54f152892b350e1f95bb50bb83c5b3a1498565a4f4ff993ac37 SHA512 dee71568846fd29f332833834429d394625ca33d4e12069104e3bf9b26f1dcfaf50c4b1473284fc772606f09bca2861ff3046374f141aaf0c031f9bed6e9262d
|
||||
@@ -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
|
||||
}
|
||||
12
dev-python/json-schema-for-humans/metadata.xml
Normal file
12
dev-python/json-schema-for-humans/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user