diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-17 14:07:47 +0000 |
commit | 7c9730bcb62df7cbf8248c5db9a478aac52c60ea (patch) | |
tree | 3521ee333c83fb6c7ff14d0a0a2d742464e88767 /dev-python/flask-api/flask-api-3.0-r1.ebuild | |
parent | 29394d0921808a94a409f01eff49f681651de5d5 (diff) |
gentoo auto-resync : 17:02:2023 - 14:07:46
Diffstat (limited to 'dev-python/flask-api/flask-api-3.0-r1.ebuild')
-rw-r--r-- | dev-python/flask-api/flask-api-3.0-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/flask-api/flask-api-3.0-r1.ebuild b/dev-python/flask-api/flask-api-3.0-r1.ebuild new file mode 100644 index 000000000000..79ce434fb7a0 --- /dev/null +++ b/dev-python/flask-api/flask-api-3.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Browsable web APIs for Flask" +HOMEPAGE=" + https://github.com/flask-api/flask-api/ + https://pypi.org/project/Flask-API/ +" +# pypi mirror don't have docs folder +SRC_URI=" + https://github.com/flask-api/flask-api/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_install_all() { + local DOCS=( docs/about/release-notes.md docs/api-guide/* docs/index.md ) + distutils-r1_python_install_all +} |