dev-python/json-schema-for-humans: treeclean

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2026-02-20 03:18:57 +05:00
parent 5dda0d055d
commit 875f756e6d
4 changed files with 0 additions and 121 deletions

View File

@@ -1,2 +0,0 @@
DIST json-schema-for-humans-1.4.1.gh.tar.gz 865045 BLAKE2B e40329657743ec38b0a9eabc97f90b81774208f1c975aeed9cc07c43e7e3ce70843a2e36e0dff19c39987f3bb7535f7f881fac6b3053479e1c0a7d16ae260eb2 SHA512 313f329e8451eb66170083beef1207112b984b233a3c83d46a9a15ad2251ceae91cbe0b69534d063e82d63dd1851ec9417e78706f1138bbb14a4ee1e7bee781d
DIST json-schema-for-humans-1.5.1.gh.tar.gz 864233 BLAKE2B 5147c17e074c008292daab7eae5b11384dfcfcd8cab3f5c5c444d7751b50be71afd905381a4c7eeef37ff88bd0c1778388fd498af29117ae34e7a77f800db0cb SHA512 3aed3034d951aaef454389c96aac1f53e65a7cfcdc731e09dd656a664f775a027c48021beef7ea4d43afa3299c69f1a85328dff7901979392eadd0b87f94487d

View File

@@ -1,55 +0,0 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{11..13} )
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="
dev-python/click[${PYTHON_USEDEP}]
dev-python/dataclasses-json[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/markdown2[${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="
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'
# tests with error when passed
'tests/cli_test.py::test_config_parameters_with_nonexistent_output_path'
'tests/cli_test.py::test_nonexistent_output_path'
)
epytest
}

View File

@@ -1,55 +0,0 @@
# 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_{11..13} )
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}
dev-python/click[${PYTHON_USEDEP}]
dev-python/dataclasses-json[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
dev-python/markdown2[${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
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'
# tests with error when passed
'tests/cli_test.py::test_config_parameters_with_nonexistent_output_path'
'tests/cli_test.py::test_nonexistent_output_path'
)

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">coveooss/json-schema-for-humans</remote-id>
<remote-id type="pypi">json-schema-for-humans</remote-id>
</upstream>
</pkgmetadata>