summaryrefslogtreecommitdiff
path: root/dev-python/flask-api
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/flask-api')
-rw-r--r--dev-python/flask-api/Manifest2
-rw-r--r--dev-python/flask-api/flask-api-2.0.ebuild29
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/flask-api/Manifest b/dev-python/flask-api/Manifest
index c69840567245..4bd015f5d7cd 100644
--- a/dev-python/flask-api/Manifest
+++ b/dev-python/flask-api/Manifest
@@ -1,3 +1,5 @@
DIST flask-api-1.1.tar.gz 235042 BLAKE2B b3c7e476c8ef1fa21f7e60aa1fb87ef5b40708ea96332ca0290d9355552bc5c195914da769b39ace1d34864c32989cf7f9856d070b1e6b690a6c1f60b495cabc SHA512 52bb983bf9a0f906f37b645ff907eaa6ee3bc557b51f8935817963f3d66d99689eeba6a3e17711974663ad5ede267f9c85eb1d11f27597fe63806dc9f9e7ea22
+DIST flask-api-2.0.tar.gz 235593 BLAKE2B fadd746d91cc2c797a2e40ee6b11532eb0184a1289a692f8de844501a6656eaa1e87d10811119f267344185b22ed5c12bca43198d64d50ca8055ce95d0f62f19 SHA512 631e69e5a786598e6b5ef7e02c5c4f293eadd84d86fdf0155771d04fb6e87be5686756db90ab265cc097ae3d623c31dcebf5096a62c660d6f7d6fb1c3f3d4e3f
EBUILD flask-api-1.1.ebuild 778 BLAKE2B 07461b75c179dc6ead1586d9a3da01b20e8d3da3bff939648a51dfcd5d7f0a8f3544fb4fa28f8ccea6c9283d936eda7a9548e9a56e76a7c6bccd51ca0ed5f63f SHA512 71e7e58397742bb6fa1652b46bc3701fa29a2b6dc3ab45b904b154c8a8af6abd0a22e6d71c1c28b6bd667c2d1eaea7dae12da0281d666541aa92667f03c500b7
+EBUILD flask-api-2.0.ebuild 682 BLAKE2B a471ae91b87ec3b644dd274edb0b6fe78508dbfc7f6fd47d3aead5598abc85aefec87b1e78fc5ff082e497230689e9cdd144278493d749e7f6abda762e47eec5 SHA512 4385a2880b33bb1dd99bc36f399eb1abd4c4df4433035488d956e43e85dd8b0c85acc2cddea828d674382249ac5c136335e9eb1c2bca3268e8bb712c4869841a
MISC metadata.xml 617 BLAKE2B 3da9d7dd713ae8f74c5ef2115935858737181082e2b86612927efcf6e47d9bce5a0d8117668155f530327180277d70ada57fc13e6a00e612440fb3321e29229a SHA512 d51812d4a625cc9f05847be119f068a574df2f9f4d51e8021b91a355faf3514c5911ebcf49c1f87f58ac64e56eb39ec4b2d0178af1680fae8c178f35d3d213a7
diff --git a/dev-python/flask-api/flask-api-2.0.ebuild b/dev-python/flask-api/flask-api-2.0.ebuild
new file mode 100644
index 000000000000..e2fe9c1ce9dc
--- /dev/null
+++ b/dev-python/flask-api/flask-api-2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Browsable web APIs for Flask"
+HOMEPAGE="https://github.com/flask-api/flask-api"
+# pypi mirror don't have docs folder
+SRC_URI="https://github.com/flask-api/flask-api/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest
+
+python_install_all() {
+ distutils-r1_python_install_all
+ dodoc docs/about/* docs/api-guide/* docs/index.md
+}