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 74C96138334 for ; Sun, 31 Mar 2019 13:05:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F9ECE093D; Sun, 31 Mar 2019 13:05:46 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 64D28E093D for ; Sun, 31 Mar 2019 13:05:46 +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 14789335D13 for ; Sun, 31 Mar 2019 13:05:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D155A58A for ; Sun, 31 Mar 2019 13:05:41 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1554037383.70300828c45a6688fee7e8661a8c32ddfc0446e8.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/sphinx/Manifest dev-python/sphinx/sphinx-2.0.0.ebuild X-VCS-Directories: dev-python/sphinx/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 70300828c45a6688fee7e8661a8c32ddfc0446e8 X-VCS-Branch: master Date: Sun, 31 Mar 2019 13:05:41 +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: 251609b9-28f6-41e9-bfda-33322687de8a X-Archives-Hash: 48147ed36f9a3997133c630664c462c6 commit: 70300828c45a6688fee7e8661a8c32ddfc0446e8 Author: Virgil Dupras gentoo org> AuthorDate: Sun Mar 31 13:02:43 2019 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Sun Mar 31 13:03:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70300828 dev-python/sphinx: bump to 2.0.0 I removed the "net" USE flag because it does nothing else than adding dependencies that aren't referenced anywhere in the code. Moreover, the release that introduced it, 1.5.1, wasn't accompanied by a justification for its addition. I think that it was added for what is now "sphinxcontrib-websupport". If that's the case, then this doesn't belong here. Closes: https://bugs.gentoo.org/662322 Signed-off-by: Virgil Dupras gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-python/sphinx/Manifest | 1 + dev-python/sphinx/sphinx-2.0.0.ebuild | 106 ++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest index 1aded9f3083..8acce3aeae6 100644 --- a/dev-python/sphinx/Manifest +++ b/dev-python/sphinx/Manifest @@ -1,3 +1,4 @@ DIST Sphinx-1.2.2.tar.gz 3143671 BLAKE2B a21b2a060363ac86832a6a28a623ed410ff0bb39ca3c9c58618ade88f4305996e54c559bb588c518597e31a73fc16e0c37fc57950eb077179f03715dfee72729 SHA512 44073c215f9d0e7f6c7bc91cb85b0508a96e5cfff5f940fef86e2fc6f11281d03b54e87e51e5a99a23e96b470a93f3af86a6a3ab7c317c747406c55b4c37791c DIST Sphinx-1.2.3.tar.gz 3200548 BLAKE2B 42033c59e6e38247af12c78cb4f69c73b1dfa883aa8a9e6c180bb74de666b45faef24a55c0bfd3aa1f22bf3e632e0e95016eb1bea54e8b5ebc7df78756763b5c SHA512 00346516e826a65145a3a7fd25ef7cee569ae7fdcc0c1bec3a7301fc08d5d8730d02eee792c3efedfcac17e712ea7e2ad70ea1fcdedc11720ad54f6bcb51ad05 DIST Sphinx-1.7.5.tar.gz 4726802 BLAKE2B 8d828dcae1f3ebb813c5f2de8c096a3fac4ab88b424955c27592349c544b775a21703c904a54efa7f86e1967198f4950804904a82a7142a3499f33c5343506e3 SHA512 db2a8df2cdb2ed78ce2341175575c2b04a149451b2bc8a4f74ddc73e308a19d505874fdbae4e370ce48a9b1cdb4de47cdab489bc57c1b378e857d5b8d04a07b8 +DIST Sphinx-2.0.0.tar.gz 6011308 BLAKE2B 72ec668522b803c07a76be086a27d2f8fb844558fc3d3a9fbaa7a191e570c23e3baa951873f68d3b54c48d8cfa770f8fd1549b718a7e760b7691bb686fe9e83d SHA512 283e18514262366e0aebc23f1e48ce7fa3591e48572525c832f96ec4f943463e19904c67ab06a4b3244119750c63dc496d4a4142e1e4a55e0b4ebdc748cf6aa6 diff --git a/dev-python/sphinx/sphinx-2.0.0.ebuild b/dev-python/sphinx/sphinx-2.0.0.ebuild new file mode 100644 index 00000000000..779ccc6065c --- /dev/null +++ b/dev-python/sphinx/sphinx-2.0.0.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Python documentation generator" +HOMEPAGE="http://www.sphinx-doc.org/" +SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +IUSE="doc latex test" + +# Tests automagically use latex, bug 667414 +#REQUIRED_USE="test? ( latex )" +RESTRICT="!test? ( test )" + +RDEPEND=" + /dev/null || die + "${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed." + popd >/dev/null || die +} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + fi +} + +python_test() { + mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die + local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" + pytest -vv || die "Tests fail with ${EPYTHON}" +}