From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB595139695 for ; Tue, 11 Jul 2017 20:33:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41311274158; Tue, 11 Jul 2017 20:33:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 14056274158 for ; Tue, 11 Jul 2017 20:33:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00F8A341B2A for ; Tue, 11 Jul 2017 20:33:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C12C07497 for ; Tue, 11 Jul 2017 20:33:43 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1499804397.9482be3ada120830a330484768e5ab13fb2896e1.bicatali@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-websupport/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinxcontrib-websupport/Manifest dev-python/sphinxcontrib-websupport/metadata.xml dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1.ebuild X-VCS-Directories: dev-python/sphinxcontrib-websupport/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 9482be3ada120830a330484768e5ab13fb2896e1 X-VCS-Branch: master Date: Tue, 11 Jul 2017 20:33:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b767a863-cc6c-47ab-95c4-3ca831f66cb4 X-Archives-Hash: f25e83fe3f6c02294ea92813f06b9419 commit: 9482be3ada120830a330484768e5ab13fb2896e1 Author: Sébastien Fabbro gentoo org> AuthorDate: Mon Jul 10 19:36:42 2017 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Tue Jul 11 20:19:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9482be3a dev-python/sphinxcontrib-websupport: initial import Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-python/sphinxcontrib-websupport/Manifest | 1 + dev-python/sphinxcontrib-websupport/metadata.xml | 16 +++++++++ .../sphinxcontrib-websupport-1.0.1.ebuild | 42 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/dev-python/sphinxcontrib-websupport/Manifest b/dev-python/sphinxcontrib-websupport/Manifest new file mode 100644 index 00000000000..948c706d68c --- /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 00000000000..1fd50daef80 --- /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 00000000000..f4b10574f8a --- /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/ +}