diff options
Diffstat (limited to 'dev-python/apispec')
-rw-r--r-- | dev-python/apispec/Manifest | 3 | ||||
-rw-r--r-- | dev-python/apispec/apispec-0.35.0.ebuild | 36 | ||||
-rw-r--r-- | dev-python/apispec/metadata.xml | 11 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest new file mode 100644 index 000000000000..67d94e788ebf --- /dev/null +++ b/dev-python/apispec/Manifest @@ -0,0 +1,3 @@ +DIST apispec-0.35.0.tar.gz 47684 BLAKE2B 3067a0d50a6f53378f46a9a07596da53679f399732619f5bd3d1bedd85d088c6901560dc46be22b42d77537c437d9d97840a55f0b1513e39c87760e9e6c8ea0c SHA512 45a3034c49169ca7998480a8b8e0ac6415d49b6235885fba31eaaccb1c008b4ea845a6743f10cc3492215affe20b690d73a9a06e0e0c3942e0327f381415fa57 +EBUILD apispec-0.35.0.ebuild 801 BLAKE2B 33dc3efbf752dd1109fb4960ac5d0f67c438463f72e6fdf4e2fb401a5dfdff44b6c5292b663d40673279fd5650c8be4cd42327f864d6dd3aeb10029d42cad353 SHA512 d0248652192246f3feb1e5612dc175ef1e8418a3702385242735478a0b35d13a365440e4bc72dade70d20bb7461b8f6d016de626365833d5c6446e1c085c1f27 +MISC metadata.xml 352 BLAKE2B e072e5a12d891408ee029e0f51b9c2a232e8a31e941352d43695e0bec949c4f0d1d709707c052971a3bac490763d3f79a264bf85cf97e6f6b2bd62064f1fbcc7 SHA512 ba1e41f1977b0afa34de52bbd96bba0c4e517e5f6b0094356d37c36b4365cd7ffaa055caef08888a4e1da912e1d3616e8545cb6f8de20538ea15f338a5dfb0f6 diff --git a/dev-python/apispec/apispec-0.35.0.ebuild b/dev-python/apispec/apispec-0.35.0.ebuild new file mode 100644 index 000000000000..30197f93095d --- /dev/null +++ b/dev-python/apispec/apispec-0.35.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="A pluggable API specification generator." +HOMEPAGE="https://github.com/marshmallow-code/apispec/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/bottle[${PYTHON_USEDEP}] + dev-python/marshmallow[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +src_prepare() { + rm tests/test_swagger.py || die + distutils-r1_src_prepare +} + +python_test() { + py.test -v || die "tests failed under ${EPYTHON}" +} diff --git a/dev-python/apispec/metadata.xml b/dev-python/apispec/metadata.xml new file mode 100644 index 000000000000..aa45742ccc80 --- /dev/null +++ b/dev-python/apispec/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="pypi">apispec</remote-id> + <remote-id type="github">marshmallow-code/apispec</remote-id> + </upstream> +</pkgmetadata> |