From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1125080-garchives=archives.gentoo.org@lists.gentoo.org> 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 8E737138334 for <garchives@archives.gentoo.org>; Sun, 24 Nov 2019 19:31:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A0D1E0857; Sun, 24 Nov 2019 19:31:56 +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 51AA3E0857 for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 19:31:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 F0E7634D2D3 for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 19:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70E5C8B5 for <gentoo-commits@lists.gentoo.org>; Sun, 24 Nov 2019 19:31:52 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1574623905.2b2cb284d929f25399f2142292a715656b50a44c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/olefile/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/olefile/olefile-0.46.ebuild X-VCS-Directories: dev-python/olefile/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2b2cb284d929f25399f2142292a715656b50a44c X-VCS-Branch: master Date: Sun, 24 Nov 2019 19:31:52 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4d2318b7-be7d-4bbc-af04-acc8b153d3bb X-Archives-Hash: f89443a97973115256600f2e1cea2877 commit: 2b2cb284d929f25399f2142292a715656b50a44c Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Nov 24 19:10:38 2019 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Nov 24 19:31:45 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b2cb284 dev-python/olefile: Enable tests, py3.8 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/olefile/olefile-0.46.ebuild | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/dev-python/olefile/olefile-0.46.ebuild b/dev-python/olefile/olefile-0.46.ebuild index 10972e2cd7c..a78fc2a6f0b 100644 --- a/dev-python/olefile/olefile-0.46.ebuild +++ b/dev-python/olefile/olefile-0.46.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} ) +PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} ) inherit distutils-r1 @@ -16,14 +16,19 @@ SLOT="0" KEYWORDS="alpha amd64 arm arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="doc" -RDEPEND="" BDEPEND=" - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') )" + +distutils_enable_tests unittest + +python_check_deps() { + use doc || return 0 + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} python_compile_all() { if use doc; then - emake -C doc html - HTML_DOCS=( doc/_build/html/. ) + emake -C doc html + HTML_DOCS=( doc/_build/html/. ) fi - }