diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2017-07-10 19:36:42 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2017-07-11 20:19:57 +0000 |
commit | 9482be3ada120830a330484768e5ab13fb2896e1 (patch) | |
tree | 94146e93480b16b2ac4e584eeb8c8e178922b979 /dev-python/sphinxcontrib-websupport | |
parent | sci-electronics/kicad: Fix desktop file categories, #622052 (diff) | |
download | gentoo-9482be3ada120830a330484768e5ab13fb2896e1.tar.gz gentoo-9482be3ada120830a330484768e5ab13fb2896e1.tar.bz2 gentoo-9482be3ada120830a330484768e5ab13fb2896e1.zip |
dev-python/sphinxcontrib-websupport: initial import
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/sphinxcontrib-websupport')
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-websupport/Manifest b/dev-python/sphinxcontrib-websupport/Manifest new file mode 100644 index 000000000000..948c706d68cf --- /dev/null +++ b/dev-python/sphinxcontrib-websupport/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib-websupport-1.0.1.tar.gz 590480 SHA256 7a85961326aa3a400cd4ad3c816d70ed6f7c740acd7ce5d78cd0a67825072eb9 SHA512 67807b2505e063639163b020f0e62469b0c2838c303516cce9a8d90181cc7b8a10d76532adb1267556d40f95966efc20ec9f8ee1a6731056bda827a6f97f40ec WHIRLPOOL febeb18363cb8f7a0fafbaa0e318b935fdeb44e039454561e29548404bf95f5412ef49270f6957ed109265c95db8a236ac3b7cb981a400fb8d4e896f2f01731c diff --git a/dev-python/sphinxcontrib-websupport/metadata.xml b/dev-python/sphinxcontrib-websupport/metadata.xml new file mode 100644 index 000000000000..1fd50daef800 --- /dev/null +++ b/dev-python/sphinxcontrib-websupport/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + sphinxcontrib-webuspport provides a Python API to easily integrate + Sphinx documentation into your Web application. + </longdescription> + <upstream> + <remote-id type="pypi">sphinxcontrib-websupport</remote-id> + <remote-id type="github">sphinx-doc/sphinxcontrib-websupport</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild new file mode 100644 index 000000000000..f4b10574f8ab --- /dev/null +++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 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="Sphinx websupport extension" +HOMEPAGE="http://www.sphinx-doc.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +CDEPEND=" + >=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}] + >=dev-python/whoosh-2.0[${PYTHON_USEDEP}] + >=dev-python/six-1.5[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.5.3[${PYTHON_USEDEP}] + dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}] +" +DEPEND="${CDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/tox[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" +RDEPEND="${CDEPEND}" + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} + +python_test(){ + ${EPYTHON} -m pytest tests/ +} |