diff options
-rw-r--r-- | dev-python/flask-api/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-api/flask-api-1.0.ebuild | 35 | ||||
-rw-r--r-- | dev-python/flask-api/metadata.xml | 19 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/flask-api/Manifest b/dev-python/flask-api/Manifest new file mode 100644 index 000000000000..4e074089118b --- /dev/null +++ b/dev-python/flask-api/Manifest @@ -0,0 +1 @@ +DIST flask-api-1.0.tar.gz 180000 BLAKE2B 113bc6a3ba9f548e61ab6c1822491d91f8562c7809929bcd2b0ecc4160a2358532d5da398b7c876cf5e4f3d9dd03bc159da6a1f24621af1e07bc9d9680b87d7f SHA512 425669e54b9f5dbf548acdb9fc2c3c661b8cfc4631d7677f20a838729584c4f970f9fbd47621e5b3155124637f5b8f4b5cb51bc402f7f406108882d46e4908de diff --git a/dev-python/flask-api/flask-api-1.0.ebuild b/dev-python/flask-api/flask-api-1.0.ebuild new file mode 100644 index 000000000000..a7ae0d383d16 --- /dev/null +++ b/dev-python/flask-api/flask-api-1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +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="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/flask[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_install_all() { + distutils-r1_python_install_all + dodoc docs/about/* docs/api-guide/* docs/index.md +} + +python_test() { + pytest || die +} diff --git a/dev-python/flask-api/metadata.xml b/dev-python/flask-api/metadata.xml new file mode 100644 index 000000000000..9e4d1fa2d5b5 --- /dev/null +++ b/dev-python/flask-api/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person"> + <email>davidroman96@gmail.com</email> + <name>David Roman</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="github">flask-api/flask-api</remote-id> + </upstream> +</pkgmetadata> |