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 CC9BA138350 for ; Tue, 3 Mar 2020 07:01:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD088E09B5; Tue, 3 Mar 2020 07:01:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 87469E09B5 for ; Tue, 3 Mar 2020 07:01:20 +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 39B6A34F579 for ; Tue, 3 Mar 2020 07:01:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97D68116 for ; Tue, 3 Mar 2020 07:01:16 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1583218870.1aab4f5e665cf327c1b035e7c6307ea1e701af9c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/readthedocs-sphinx-ext/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/readthedocs-sphinx-ext/Manifest dev-python/readthedocs-sphinx-ext/metadata.xml dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-1.0.1.ebuild X-VCS-Directories: dev-python/readthedocs-sphinx-ext/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1aab4f5e665cf327c1b035e7c6307ea1e701af9c X-VCS-Branch: master Date: Tue, 3 Mar 2020 07:01:16 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5ed57c0e-f5b4-4ce0-a9c0-3bfe91f0fdad X-Archives-Hash: 270aeb1e375e1d85e70085f44bfc0f2c commit: 1aab4f5e665cf327c1b035e7c6307ea1e701af9c Author: Michał Górny gentoo org> AuthorDate: Tue Mar 3 06:37:07 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 3 07:01:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aab4f5e dev-python/readthedocs-sphinx-ext: New package Add the Sphinx extension for readthedocs, now needed to test dev-python/sphinx_rtd_theme. Signed-off-by: Michał Górny gentoo.org> dev-python/readthedocs-sphinx-ext/Manifest | 1 + dev-python/readthedocs-sphinx-ext/metadata.xml | 8 ++++++ .../readthedocs-sphinx-ext-1.0.1.ebuild | 32 ++++++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/dev-python/readthedocs-sphinx-ext/Manifest b/dev-python/readthedocs-sphinx-ext/Manifest new file mode 100644 index 00000000000..850f166a662 --- /dev/null +++ b/dev-python/readthedocs-sphinx-ext/Manifest @@ -0,0 +1 @@ +DIST readthedocs-sphinx-ext-1.0.1.tar.gz 11545 BLAKE2B 7c671b76d47d469713bda798aef13db41ea1a4538fe571c249a4e455343f8a3d9731cbe6f688511cf69344ad728c2d394010d59e34de7295e8bf2682f23db59c SHA512 bb40f3cfd8d114ff0b9f827f20b7e1ab08c2ff3d8a8319cbd73a34e68cf604cfd1991bd0153b3a75cc48fc876fa79a24bc0e3633b099470a39d668c7667afa66 diff --git a/dev-python/readthedocs-sphinx-ext/metadata.xml b/dev-python/readthedocs-sphinx-ext/metadata.xml new file mode 100644 index 00000000000..e24dd86faa2 --- /dev/null +++ b/dev-python/readthedocs-sphinx-ext/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + Python + + diff --git a/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-1.0.1.ebuild b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-1.0.1.ebuild new file mode 100644 index 00000000000..4cc1b438443 --- /dev/null +++ b/dev-python/readthedocs-sphinx-ext/readthedocs-sphinx-ext-1.0.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="Code specific for Read the Docs and Sphinx" +HOMEPAGE="https://github.com/readthedocs/readthedocs-sphinx-ext" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/jinja-2.9[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}]" +PDEPEND=" + dev-python/sphinx[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( ${PDEPEND} )" + +# unittest should be sufficient but tests are very verbose, so pytest's +# output capture is most welcome +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/find_packages/s:):, exclude=["tests"]):' setup.py || die + distutils-r1_src_prepare +}