public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx/
Date: Fri, 16 Feb 2018 06:08:11 +0000 (UTC)	[thread overview]
Message-ID: <1518753810.6bb99ab368a3f53cff973f7270b60fd582f8467d.prometheanfire@gentoo> (raw)

commit:     6bb99ab368a3f53cff973f7270b60fd582f8467d
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 16 04:03:30 2018 +0000
Commit:     Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Feb 16 04:03:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb99ab3

dev-python/sphinx: 1.6.5 bup

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-python/sphinx/Manifest            |   1 +
 dev-python/sphinx/sphinx-1.6.5.ebuild | 117 ++++++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

diff --git a/dev-python/sphinx/Manifest b/dev-python/sphinx/Manifest
index 768256e43fd..e25a682915e 100644
--- a/dev-python/sphinx/Manifest
+++ b/dev-python/sphinx/Manifest
@@ -3,3 +3,4 @@ DIST Sphinx-1.2.3.tar.gz 3200548 BLAKE2B 42033c59e6e38247af12c78cb4f69c73b1dfa88
 DIST Sphinx-1.3.1.tar.gz 3469782 BLAKE2B ae2fa602a7873e6ef735decc2dcdd5a2632b848bb8394ee80b4215e21bfe625645fbf905a6661c333ad062e17f15b6f2c39027b44ad827f66c6467a78e8c4490 SHA512 8b92b69c4ced242c5e608ea03a7a061b0d2908f34f3150048ff4ce08b5d56be4a642a6aec13fa249ff8208fa8dd2d38d8a10d37ebbcc68385ee51f527ede0b94
 DIST Sphinx-1.3.5.tar.gz 3679978 BLAKE2B 2a88859bfd4a3de75a7b56fce65086e1239c3c58730280df078b3f76d368028a124aa6d4ca65c40773efa4c1a83dd047ea0d647582057c63bf82dadb5f2549e9 SHA512 90eda9cdbd24575d9f763e5c35e176d9970d1c83dd06dd41e9137f5c6035738fd21c4c57ff98810fc8adf91fa625192e6534bf0bbf70e78cc98f73df59eaabbc
 DIST Sphinx-1.6.3.tar.gz 4674251 BLAKE2B ba13de3d72fbc5cbc3632a1062001ed287798efe5f04064d241b645d6e4c52c9d9c115aaae4ae7b94213bbddf595a93480788d66b3a54eac3c9fb415d007d4ca SHA512 d5aec58e19239db4e61fcd6b103fcc838d97aad5a7aaf9279ff1097791d9cd1ba245989307a2d1049c123058b84ca4e91db192a1672c040d80fafed3907736ae
+DIST Sphinx-1.6.5.tar.gz 4680974 BLAKE2B 97b0cff21985de071d29651824f2954ca4d12c5095fb8049597235c8071bccb00344e89fc4a90ca010fe79a76faf0e5ae2b09ed698f1c5bcfd8f06de64169107 SHA512 c6ba7ba639f9814867d9abaaac48d58daa9d0ea9ceae4495bdbd311856833314eade2d9df7213c0357d5eea53d525c5a1235bc977a07cc7ef82e1ff0ecb51f3d

diff --git a/dev-python/sphinx/sphinx-1.6.5.ebuild b/dev-python/sphinx/sphinx-1.6.5.ebuild
new file mode 100644
index 00000000000..782af85c275
--- /dev/null
+++ b/dev-python/sphinx/sphinx-1.6.5.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 eutils versionator
+
+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 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="doc latex net test"
+
+RDEPEND="
+	>=dev-python/alabaster-0.7.9[${PYTHON_USEDEP}]
+	<dev-python/alabaster-0.8[${PYTHON_USEDEP}]
+	>=dev-python/Babel-2.1.1[${PYTHON_USEDEP}]
+	>=dev-python/docutils-0.11[${PYTHON_USEDEP}]
+	dev-python/imagesize[${PYTHON_USEDEP}]
+	>=dev-python/jinja-2.3[${PYTHON_USEDEP}]
+	>=dev-python/pygments-2.0.1-r1[${PYTHON_USEDEP}]
+	dev-python/requests[${PYTHON_USEDEP}]
+	>=dev-python/six-1.5[${PYTHON_USEDEP}]
+	>=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}]
+	>=dev-python/sphinx_rtd_theme-0.1[${PYTHON_USEDEP}]
+	<dev-python/sphinx_rtd_theme-2.0[${PYTHON_USEDEP}]
+	dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
+	dev-python/typing[${PYTHON_USEDEP}]
+	latex? (
+		dev-texlive/texlive-latexextra
+		dev-texlive/texlive-luatex
+		app-text/dvipng
+	)
+	net? (
+		>=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}]
+		>=dev-python/whoosh-2.0[${PYTHON_USEDEP}]
+	)"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+	test? (
+		dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
+		dev-python/flake8[${PYTHON_USEDEP}]
+		dev-python/html5lib[${PYTHON_USEDEP}]
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+		dev-python/pytest-cov[${PYTHON_USEDEP}]
+		dev-python/simplejson[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}]
+		>=dev-python/whoosh-2.0[${PYTHON_USEDEP}]
+		virtual/imagemagick-tools[jpeg,png,svg]
+		virtual/python-enum34[${PYTHON_USEDEP}]
+	)"
+
+S="${WORKDIR}/${P^}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.5.1-fix-pycode-grammar.patch
+)
+
+python_prepare_all() {
+	# remove tests that fail due to network-sandbox
+	rm tests/test_websupport.py || die "Failed to remove web tests"
+	rm tests/test_build_linkcheck.py || die "Failed to remove web tests"
+
+	distutils-r1_python_prepare_all
+}
+
+python_compile() {
+	distutils-r1_python_compile
+
+	# Generate the grammar. It will be caught by install somehow.
+	# Note that the tests usually do it for us. However, I don't want
+	# to trust USE=test really running all the tests, especially
+	# with FEATURES=test-fail-continue.
+	pushd "${BUILD_DIR}"/lib >/dev/null || die
+	"${EPYTHON}" -m sphinx.pycode.__init__ || die "Grammar generation failed."
+	popd >/dev/null || die
+}
+
+python_compile_all() {
+	if use doc; then
+		emake -C doc SPHINXBUILD='"${EPYTHON}" "${S}/sphinx-build.py"' html
+		HTML_DOCS=( doc/_build/html/. )
+	fi
+}
+
+python_test() {
+	mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
+	local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
+	cp -r -l tests "${BUILD_DIR}"/ || die "Failed to copy tests"
+	cp Makefile "${BUILD_DIR}"/ || die "Failed to copy Makefile"
+	emake test
+}
+
+pkg_postinst() {
+	replacing_python_eclass() {
+		local pv
+		for pv in ${REPLACING_VERSIONS}; do
+			if ! version_is_at_least 1.1.3-r4 ${pv}; then
+				return 0
+			fi
+		done
+
+		return 1
+	}
+
+	if replacing_python_eclass; then
+		ewarn "Replaced a very old sphinx version. If you are"
+		ewarn "experiencing problems, please re-emerge sphinx."
+	fi
+}


             reply	other threads:[~2018-02-16  6:08 UTC|newest]

Thread overview: 250+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16  6:08 Matt Thode [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02  9:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinx/ Michał Górny
2024-10-26 11:52 Michał Górny
2024-10-14  3:34 Michał Górny
2024-10-13  2:48 Michał Górny
2024-10-12  4:35 Michał Górny
2024-10-10 18:25 Michał Górny
2024-08-17  9:57 Michał Górny
2024-08-17  7:51 Michał Górny
2024-08-10  7:31 Michał Górny
2024-08-10  7:25 Michał Górny
2024-07-31  5:52 Michał Górny
2024-07-30  2:47 Michał Górny
2024-07-25  3:12 Michał Górny
2024-07-21  2:31 Michał Górny
2024-07-21  2:31 Michał Górny
2024-07-19  4:25 Michał Górny
2024-07-17 12:35 Michał Górny
2024-07-16  5:30 Michał Górny
2024-07-15  9:04 Michał Górny
2024-06-08 10:55 Arthur Zamarin
2024-06-08  6:24 Arthur Zamarin
2024-05-25  9:28 Michał Górny
2024-05-08 12:24 Michał Górny
2024-04-23 14:33 Michał Górny
2024-04-21 15:01 Michał Górny
2023-10-06 18:12 Michał Górny
2023-10-06 15:13 Michał Górny
2023-10-06 14:55 Sam James
2023-09-14  6:05 Michał Górny
2023-09-11 14:08 Michał Górny
2023-09-11 14:08 Michał Górny
2023-09-11 12:25 Arthur Zamarin
2023-08-31 13:22 Michał Górny
2023-08-28  5:13 Michał Górny
2023-08-24  4:30 Michał Górny
2023-08-17 18:55 Michał Górny
2023-08-17 12:51 Michał Górny
2023-08-17  8:36 Michał Górny
2023-08-02  6:05 Michał Górny
2023-07-28  5:32 Michał Górny
2023-07-25  5:20 Michał Górny
2023-07-24 14:28 Arthur Zamarin
2023-07-24 12:56 Michał Górny
2023-07-19 11:10 Michał Górny
2023-05-31 10:50 Michał Górny
2023-05-29 21:55 Sam James
2023-05-20  7:25 Michał Górny
2023-05-13  4:46 Michał Górny
2023-04-30  3:55 Michał Górny
2023-04-26  5:36 Michał Górny
2023-04-24  5:57 Michał Górny
2023-01-31 12:00 Michał Górny
2023-01-11  5:14 Michał Górny
2023-01-07 19:45 Arthur Zamarin
2023-01-06 15:27 Michał Górny
2022-12-30  7:08 Michał Górny
2022-11-19  8:46 Arthur Zamarin
2022-11-19  8:39 Arthur Zamarin
2022-11-12 12:27 Arthur Zamarin
2022-11-03 19:44 Arthur Zamarin
2022-11-03 19:38 Arthur Zamarin
2022-10-18  7:26 Michał Górny
2022-10-01  9:26 Arthur Zamarin
2022-09-27 18:25 Arthur Zamarin
2022-09-26 11:21 Michał Górny
2022-09-25 13:44 Michał Górny
2022-08-30 18:53 Michał Górny
2022-08-30 17:08 Jakov Smolić
2022-08-27  6:03 Michał Górny
2022-08-26 17:31 Arthur Zamarin
2022-07-29 10:59 Arthur Zamarin
2022-07-25  7:12 Michał Górny
2022-07-09 20:22 Michał Górny
2022-07-09 18:32 Arthur Zamarin
2022-06-17  0:01 Sam James
2022-06-03  5:37 Michał Górny
2022-05-30  8:52 Michał Górny
2022-05-22  5:16 Michał Górny
2022-05-22  1:48 Sam James
2022-05-14 12:44 Arthur Zamarin
2022-04-27 12:27 Michał Górny
2022-03-28 10:14 Michał Górny
2022-02-17 20:15 Michał Górny
2022-02-17 19:30 Arthur Zamarin
2022-01-20 23:26 Michał Górny
2022-01-20 14:20 Michał Górny
2022-01-20  8:47 Arthur Zamarin
2022-01-18  8:46 Michał Górny
2022-01-16 22:03 Michał Górny
2021-12-19 20:50 Arthur Zamarin
2021-12-11 23:24 Michał Górny
2021-12-11 20:24 Arthur Zamarin
2021-11-27 21:18 Michał Górny
2021-11-10 22:35 Michał Górny
2021-10-27  8:29 Michał Górny
2021-10-16  1:14 Sam James
2021-09-13  7:45 Michał Górny
2021-08-19  1:09 Sam James
2021-07-14 22:16 Michał Górny
2021-07-12 22:56 Michał Górny
2021-07-12 21:59 Sam James
2021-07-12  9:11 Michał Górny
2021-07-06  7:58 Michał Górny
2021-05-21  9:21 Michał Górny
2021-05-21  9:21 Michał Górny
2021-05-12 18:22 Michał Górny
2021-05-10 19:32 Michał Górny
2021-05-09  8:23 Michał Górny
2021-04-22 15:07 Michał Górny
2021-04-22 12:13 Sam James
2021-04-11 18:56 Michał Górny
2021-04-09 22:25 Michał Górny
2021-04-09 22:20 Sam James
2021-03-20 21:07 Michał Górny
2021-03-19 21:39 Michał Górny
2021-03-19 20:14 Sam James
2021-03-06 17:45 Michał Górny
2021-02-19 16:37 Michał Górny
2021-02-19  8:57 Michał Górny
2021-02-19  2:54 Sam James
2021-02-16 17:08 Michał Górny
2021-02-15  8:34 Michał Górny
2021-01-08  0:45 Michał Górny
2021-01-06 22:30 Fabian Groffen
2021-01-05 21:32 Michał Górny
2021-01-05 21:03 Sam James
2021-01-05 10:56 Michał Górny
2021-01-05  9:51 Michał Górny
2020-12-25  9:17 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-01 21:08 Sam James
2020-11-12 21:13 Michał Górny
2020-10-21 22:51 Michał Górny
2020-09-18 17:56 Sam James
2020-08-22 10:10 Michał Górny
2020-08-22  7:13 Michał Górny
2020-08-15  8:44 Michał Górny
2020-08-14 23:22 Andreas Sturmlechner
2020-08-12 15:50 Sam James
2020-08-12 15:11 Michał Górny
2020-08-12 15:07 Sam James
2020-08-12 10:01 Michał Górny
2020-08-04 18:57 Sergei Trofimovich
2020-07-31 22:33 Aaron Bauman
2020-07-27 10:02 Michał Górny
2020-07-18 14:20 Sam James
2020-07-14 10:50 Sam James
2020-07-14 10:50 Sam James
2020-07-07  6:35 Michał Górny
2020-07-05 20:12 Michał Górny
2020-06-19 15:41 Sergei Trofimovich
2020-06-14  8:29 Michał Górny
2020-06-08 16:55 Michał Górny
2020-06-08  6:41 Michał Górny
2020-06-06 19:31 Mart Raudsepp
2020-05-31 17:17 Michał Górny
2020-05-26 16:57 Michał Górny
2020-05-07  8:56 Michał Górny
2020-05-06 14:25 Mikle Kolyada
2020-05-04 12:24 Michał Górny
2020-05-01 14:03 Agostino Sarubbo
2020-05-01 14:00 Agostino Sarubbo
2020-05-01 13:58 Agostino Sarubbo
2020-04-27  8:33 Michał Górny
2020-04-25 10:42 Mikle Kolyada
2020-04-22  8:15 Michał Górny
2020-04-21  8:08 Michał Górny
2020-04-20 13:29 Agostino Sarubbo
2020-04-20 10:16 Agostino Sarubbo
2020-04-14 10:43 Michał Górny
2020-04-11  7:49 Michał Górny
2020-04-06 19:57 Michał Górny
2020-04-06 19:18 Michał Górny
2020-04-06 12:02 Michał Górny
2020-04-05 21:53 Sergei Trofimovich
2020-03-16 20:56 Michał Górny
2020-03-06 13:43 Michał Górny
2020-03-03 17:46 Michał Górny
2020-03-02 20:30 Michał Górny
2020-03-02 20:22 Michał Górny
2020-02-24 11:43 Agostino Sarubbo
2020-02-24 11:31 Agostino Sarubbo
2020-02-24 11:28 Agostino Sarubbo
2020-02-24 10:04 Agostino Sarubbo
2020-02-23 12:10 Mikle Kolyada
2020-02-14 12:47 Michał Górny
2020-01-26 21:25 Matthew Thode
2019-12-30 21:54 Piotr Karbowski
2019-12-19 21:40 Piotr Karbowski
2019-04-12 13:03 Virgil Dupras
2019-04-12 13:03 Virgil Dupras
2019-03-31 13:05 Virgil Dupras
2018-10-16 12:01 Virgil Dupras
2018-10-02 21:12 Mike Gilbert
2018-10-02 21:05 Mikle Kolyada
2018-10-01 21:47 Thomas Deutschmann
2018-10-01 21:31 Sergei Trofimovich
2018-10-01 14:20 Mike Gilbert
2018-10-01  3:55 Mike Gilbert
2018-07-16 19:57 Michał Górny
2018-07-13 21:40 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 18:49 Michał Górny
2018-07-12 13:27 Michał Górny
2018-06-22 19:34 Tim Harder
2018-06-22 15:01 Mikle Kolyada
2018-06-21 18:02 Tim Harder
2018-03-27 23:15 Matt Turner
2018-02-24 15:17 Patrick Lauer
2018-02-22 18:06 Michał Górny
2018-01-06 13:39 Michał Górny
2018-01-01 10:08 Michał Górny
2017-12-16 21:49 Mike Gilbert
2017-12-16 21:22 Mike Gilbert
2017-08-13 13:03 Sergei Trofimovich
2017-08-13 11:16 Sergei Trofimovich
2017-07-29 20:38 Matt Thode
2017-07-29 20:38 Matt Thode
2017-07-18  8:25 Sergei Trofimovich
2017-07-17 21:15 Patrick McLean
2017-07-17 21:15 Patrick McLean
2017-07-15 16:22 Tobias Klausmann
2017-07-13 18:23 Patrick McLean
2017-07-13  7:47 Patrick McLean
2017-07-12 22:53 Patrick McLean
2017-07-11 20:33 Sebastien Fabbro
2017-07-01 10:14 Sergei Trofimovich
2017-05-11 19:34 Markus Meier
2017-02-19  8:29 Markus Meier
2017-02-13 21:45 David Seifert
2017-02-13 21:45 David Seifert
2017-02-05 13:30 Jeroen Roovers
2017-01-29 17:28 Fabian Groffen
2017-01-26 22:40 David Seifert
2017-01-20 18:08 David Seifert
2016-11-30 18:05 Michał Górny
2016-04-23  8:58 Dirkjan Ochtman
2016-01-25 15:11 Justin Lecher
2016-01-14  9:53 Justin Lecher
2015-12-03 10:21 Justin Lecher
2015-11-11 17:27 Justin Lecher
2015-10-27 15:20 Agostino Sarubbo
2015-10-14 13:51 Justin Lecher
2015-10-11 14:19 Justin Lecher
2015-10-11 12:33 Justin Lecher
2015-08-12 13:44 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518753810.6bb99ab368a3f53cff973f7270b60fd582f8467d.prometheanfire@gentoo \
    --to=prometheanfire@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox