From: Sébastien Fabbro Date: Mon, 10 Jul 2017 19:36:42 +0000 (+0000) Subject: dev-python/sphinxcontrib-websupport: initial import X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9482be3ada120830a330484768e5ab13fb2896e1;p=gentoo.git dev-python/sphinxcontrib-websupport: initial import Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- 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 @@ + + + + + python@gentoo.org + Python + + + sphinxcontrib-webuspport provides a Python API to easily integrate + Sphinx documentation into your Web application. + + + sphinxcontrib-websupport + sphinx-doc/sphinxcontrib-websupport + + 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/ +}