summaryrefslogtreecommitdiff
path: root/dev-python/sphinxcontrib-openapi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-python/sphinxcontrib-openapi
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-python/sphinxcontrib-openapi')
-rw-r--r--dev-python/sphinxcontrib-openapi/Manifest2
-rw-r--r--dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0-r1.ebuild (renamed from dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild)24
2 files changed, 17 insertions, 9 deletions
diff --git a/dev-python/sphinxcontrib-openapi/Manifest b/dev-python/sphinxcontrib-openapi/Manifest
index 63651eaccfaa..a5f8023122b1 100644
--- a/dev-python/sphinxcontrib-openapi/Manifest
+++ b/dev-python/sphinxcontrib-openapi/Manifest
@@ -1,3 +1,3 @@
DIST sphinxcontrib-openapi-0.7.0.tar.gz 193897 BLAKE2B c0f1c46c6e8c67ddf95d163a68f5e22e6f2dff6622a3c21651b301dc1266b53b088d1b882e5e3347fad6347b86392bc9428b56f537c1d2320e7d9cd113c478f7 SHA512 36a7b6473b43af8d6fe2cf1bf22fb90848343911f69414cd742b942ff2ea33ac5ffba79c516dbb076b87c2a6e7e44d6958796daf06c9245a7184bfb6fdb53569
-EBUILD sphinxcontrib-openapi-0.7.0.ebuild 1105 BLAKE2B 796b2df4a1d61ee2417cf704eab567a125f11f5d349bc5a822e8d5a7b13ab4738cb299c63f660294526ce5bdd60c9ba9e7f12080ad4a24a9a30a49f1103d1947 SHA512 9b22384c42a206014086439193060e00348c82ead9a1ad31d36e35220263f9121e2d5541b3d5596c12c355ab841de9f77964f67bfa964a21f044f87c712256bb
+EBUILD sphinxcontrib-openapi-0.7.0-r1.ebuild 1151 BLAKE2B e59f5bfbf2c397bf9a779ada92bbf98be82ff93a49412dc40c448b190332e4b119e50b1215d1e25745ca1e39422f7847e9ea4803260a5dec32fae077a9989ddd SHA512 500372fe7bf4f62e41623546434892a5fc8fd6bc237c1a3816aa5076424fe6581a5d90c9fc8fa1b7ddbad1f4c9f3fa27b5f459d058eecd8e2bcbb68a95574370
MISC metadata.xml 411 BLAKE2B 9f2dbd78b774a2e1a7c3223dd3b53fdfdda65ed4b09fff4ed0fe3b7ab3e8fb14a817cba5084e1e3979e80c386bac251bad94fe750701c3781d5c6aab7773d892 SHA512 a1ff8b1e5ae27a9cce5677f38129f01213881e99a60a6f77b860a6931330c9c924575b881726a1d3048059e3974f6015d6201aaa5c739ad6cdec5c3576398b9c
diff --git a/dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild b/dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0-r1.ebuild
index fa3f387c975a..c3f2a174bddf 100644
--- a/dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0.ebuild
+++ b/dev-python/sphinxcontrib-openapi/sphinxcontrib-openapi-0.7.0-r1.ebuild
@@ -3,22 +3,24 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
inherit distutils-r1
DESCRIPTION="OpenAPI (fka Swagger) spec renderer for Sphinx"
-HOMEPAGE="https://pypi.org/project/sphinxcontrib-openapi/
- https://github.com/sphinx-contrib/openapi"
+HOMEPAGE="
+ https://pypi.org/project/sphinxcontrib-openapi/
+ https://github.com/sphinx-contrib/openapi/
+"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86"
RDEPEND="
dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-httpdomain[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
@@ -35,7 +37,13 @@ BDEPEND="
distutils_enable_tests pytest
-python_install_all() {
- distutils-r1_python_install_all
- find "${D}" -name '*.pth' -delete || die
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+ distutils_write_namespace sphinxcontrib
+ cd "${T}" || die
+ epytest "${S}"/tests
}