diff options
author | Zac Medico <zmedico@gentoo.org> | 2018-04-11 17:08:51 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2018-04-11 17:19:18 -0700 |
commit | 0d0c267ec1e93c8fefd000b357e9cb4fee1ab911 (patch) | |
tree | 33872201d925627fcf730a418068e0611b673af1 /dev-python/apispec | |
parent | dev-python/marshmallow: new package (diff) | |
download | gentoo-0d0c267ec1e93c8fefd000b357e9cb4fee1ab911.tar.gz gentoo-0d0c267ec1e93c8fefd000b357e9cb4fee1ab911.tar.bz2 gentoo-0d0c267ec1e93c8fefd000b357e9cb4fee1ab911.zip |
dev-python/apispec: new package
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-python/apispec')
-rw-r--r-- | dev-python/apispec/Manifest | 1 | ||||
-rw-r--r-- | dev-python/apispec/apispec-0.35.0.ebuild | 36 | ||||
-rw-r--r-- | dev-python/apispec/metadata.xml | 11 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/apispec/Manifest b/dev-python/apispec/Manifest new file mode 100644 index 000000000000..c5f2a6a964b8 --- /dev/null +++ b/dev-python/apispec/Manifest @@ -0,0 +1 @@ +DIST apispec-0.35.0.tar.gz 47684 BLAKE2B 3067a0d50a6f53378f46a9a07596da53679f399732619f5bd3d1bedd85d088c6901560dc46be22b42d77537c437d9d97840a55f0b1513e39c87760e9e6c8ea0c SHA512 45a3034c49169ca7998480a8b8e0ac6415d49b6235885fba31eaaccb1c008b4ea845a6743f10cc3492215affe20b690d73a9a06e0e0c3942e0327f381415fa57 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> |