diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/flask-api | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/flask-api')
-rw-r--r-- | dev-python/flask-api/Manifest | 3 | ||||
-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, 57 insertions, 0 deletions
diff --git a/dev-python/flask-api/Manifest b/dev-python/flask-api/Manifest new file mode 100644 index 000000000000..bb01c5127904 --- /dev/null +++ b/dev-python/flask-api/Manifest @@ -0,0 +1,3 @@ +DIST flask-api-1.0.tar.gz 180000 BLAKE2B 113bc6a3ba9f548e61ab6c1822491d91f8562c7809929bcd2b0ecc4160a2358532d5da398b7c876cf5e4f3d9dd03bc159da6a1f24621af1e07bc9d9680b87d7f SHA512 425669e54b9f5dbf548acdb9fc2c3c661b8cfc4631d7677f20a838729584c4f970f9fbd47621e5b3155124637f5b8f4b5cb51bc402f7f406108882d46e4908de +EBUILD flask-api-1.0.ebuild 696 BLAKE2B aeb018e7a46a0844c960163507bd5dda513061047aa75d9e0e91279dc8a155956eafa9283742922fe3ecab9528bd016ce06cd080d2125416cf26a727a2a31f83 SHA512 87d996e79f702c34c0b4e14fdffbc716404f9a19609884def18834bf74bcda41f964f25afdab87875d45172fc5d57f983746af3376032597835999c4cb527b12 +MISC metadata.xml 617 BLAKE2B 66fe82a8642db27cae5192f4842c284f9f93e70f007388f7baeb8a8c71c1aaf6144460d9c6ae801c941fcf5bdc4a10576ac21a45e01bef3a5bcb93861d67ed8d SHA512 f91e83c8e1453662a8218f421c44a98343c743322e2d39e87bc2a0c4b4bef20c96679dca05c381d8e91cc900bb9ec9de89685a7cbb45b00d78cb7bd1e3a349a8 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> |