mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
dev-python/json-schema-for-humans: drop 1.3.2
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
DIST json-schema-for-humans-1.3.2.gh.tar.gz 864646 BLAKE2B 4262c47e5f372d72313c455bd672918f991e804f8146f44dd6d02eff2c7108bf52c4be2e63ba25a5410ec03e9e62b49fdf537e150e5eeddd7d58e5116ddbc794 SHA512 29652fbf203f0c0b155ef7b4119f1c51ecd239d11ebeff485f6d95379b239d818fa6267b121020f4edf6391b4d3c8bff06cc735ff26d5f9f68c2291c6284727d
|
|
||||||
DIST json-schema-for-humans-1.3.4.gh.tar.gz 864919 BLAKE2B 5e70e1bcf08bc449d7a4948b9828eb825c2ab126dc6fe4c71c5b70f18f3961e55a45b9346d4d10169d42ef6dde728b042ca04669101482c9dc619a183ff6ed3c SHA512 fe9b0fb7ae9d9659d6d717ad5e21cd5605133a8fad3ec9448512b77156f9a4624c580eaa50469364fd2eb15f2b4d0a950d66f006641bbdfec21c3658554aaa75
|
DIST json-schema-for-humans-1.3.4.gh.tar.gz 864919 BLAKE2B 5e70e1bcf08bc449d7a4948b9828eb825c2ab126dc6fe4c71c5b70f18f3961e55a45b9346d4d10169d42ef6dde728b042ca04669101482c9dc619a183ff6ed3c SHA512 fe9b0fb7ae9d9659d6d717ad5e21cd5605133a8fad3ec9448512b77156f9a4624c580eaa50469364fd2eb15f2b4d0a950d66f006641bbdfec21c3658554aaa75
|
||||||
|
|||||||
@@ -1,57 +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_{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
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user