From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/
Date: Tue, 26 Nov 2019 21:51:26 +0000 (UTC) [thread overview]
Message-ID: <1574805069.576be17782f939f8cd11231ddea29235dd299d5e.chutzpah@gentoo> (raw)
commit: 576be17782f939f8cd11231ddea29235dd299d5e
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Tue Nov 26 21:51:09 2019 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 21:51:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576be177
dev-python/pylibmc-1.6.1: Fix USE=doc with mismatching python impls
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/pylibmc/pylibmc-1.6.1.ebuild | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/dev-python/pylibmc/pylibmc-1.6.1.ebuild b/dev-python/pylibmc/pylibmc-1.6.1.ebuild
index 11264e7c131..a52234269c7 100644
--- a/dev-python/pylibmc/pylibmc-1.6.1.ebuild
+++ b/dev-python/pylibmc/pylibmc-1.6.1.ebuild
@@ -17,11 +17,17 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
+# implementations to use for building docs, separate from PYTHON_COMPAT since
+# dev-python/sphinx might not be available everywhere
+DOCS_PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
RDEPEND=">=dev-libs/libmemcached-0.32"
# Older sphinx versions fail to compile the doc
# https://github.com/sphinx-doc/sphinx/issues/3266
BDEPEND="${RDEPEND}
- doc? ( $(python_gen_any_dep '>=dev-python/sphinx-1.5.1-r1[${PYTHON_USEDEP}]') )
+ doc? ( $(python_gen_cond_dep '
+ >=dev-python/sphinx-1.5.1-r1[${PYTHON_USEDEP}]' "${DOCS_PYTHON_COMPAT[@]}")
+ )
test? (
net-misc/memcached
dev-python/nose[${PYTHON_USEDEP}]
@@ -29,13 +35,14 @@ BDEPEND="${RDEPEND}
RESTRICT="!test? ( test )"
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags "${DOCS_PYTHON_COMPAT[@]}") ) )"
+
PATCHES=(
"${FILESDIR}/pylibmc-1.6.1-fix-test-failures.patch"
)
-python_check_deps() {
- use doc || return 0
- has_version ">=dev-python/sphinx-1.5.1-r1[${PYTHON_USEDEP}]"
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( "${DOCS_PYTHON_COMPAT[@]}" )
}
python_prepare_all() {
next reply other threads:[~2019-11-26 21:51 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-26 21:51 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-01 19:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/pylibmc/ Arthur Zamarin
2025-02-16 20:33 Michał Górny
2025-01-04 15:08 Sam James
2024-11-03 13:30 Michał Górny
2024-11-03 6:42 Sam James
2024-11-02 11:45 Arthur Zamarin
2024-11-02 11:36 Arthur Zamarin
2024-11-02 11:03 Michał Górny
2024-11-02 9:10 Sam James
2024-11-02 8:48 Michał Górny
2024-11-02 8:48 Michał Górny
2024-10-25 12:09 Arthur Zamarin
2024-10-15 7:00 Michał Górny
2024-06-15 13:47 Michał Górny
2023-11-06 18:18 Michał Górny
2023-05-04 16:30 Michał Górny
2023-01-03 2:53 WANG Xuerui
2022-10-22 14:54 Michał Górny
2022-10-09 6:54 Michał Górny
2022-10-08 23:10 Sam James
2022-10-08 19:28 Sam James
2022-10-08 19:28 Sam James
2022-10-08 16:03 Arthur Zamarin
2022-10-08 16:03 Arthur Zamarin
2022-09-10 18:28 Arthur Zamarin
2022-09-10 13:12 Jakov Smolić
2022-09-08 5:19 Sam James
2022-09-06 21:35 Sam James
2022-09-06 21:15 Sam James
2022-09-06 21:12 Sam James
2022-09-06 18:40 Arthur Zamarin
2022-09-06 18:40 Arthur Zamarin
2022-08-31 19:08 Arthur Zamarin
2022-08-05 18:50 Arthur Zamarin
2022-05-22 10:46 Michał Górny
2022-03-18 11:41 Michał Górny
2022-03-18 9:33 Arthur Zamarin
2022-03-16 23:53 Sam James
2022-03-15 18:16 Jakov Smolić
2022-03-15 17:56 Jakov Smolić
2022-01-31 11:07 Michał Górny
2022-01-29 21:19 Michał Górny
2021-06-05 17:59 Michał Górny
2020-07-13 23:13 Sam James
2020-07-06 11:57 Michał Górny
2020-06-22 19:05 Mart Raudsepp
2020-06-21 11:18 Michał Górny
2020-06-21 11:18 Michał Górny
2020-06-21 11:18 Michał Górny
2020-06-04 14:06 Michał Górny
2020-05-30 20:33 Sergei Trofimovich
2020-05-30 16:20 Michał Górny
2020-04-28 19:23 Mart Raudsepp
2020-03-31 7:38 Georgy Yakovlev
2020-03-28 17:44 Michał Górny
2020-03-17 2:09 Matt Turner
2020-02-05 19:37 Michał Górny
2018-01-05 23:19 Michał Górny
2017-10-29 23:55 Jonas Stein
2017-09-24 12:07 Michael Palimaka
2017-07-31 10:49 Tobias Klausmann
2017-05-02 13:11 Michał Górny
2017-04-22 13:52 Michał Górny
2017-01-20 19:21 David Seifert
2016-09-27 13:26 Tony Vroon
2016-05-29 8:44 Dirkjan Ochtman
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=1574805069.576be17782f939f8cd11231ddea29235dd299d5e.chutzpah@gentoo \
--to=chutzpah@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