public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/olefile/
Date: Sun, 24 Nov 2019 19:31:52 +0000 (UTC)	[thread overview]
Message-ID: <1574623905.2b2cb284d929f25399f2142292a715656b50a44c.mgorny@gentoo> (raw)

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
-
 }


             reply	other threads:[~2019-11-24 19:31 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-24 19:31 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-16 16:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/olefile/ Michał Górny
2024-09-07  6:13 Arthur Zamarin
2024-05-11 11:05 Michał Górny
2023-12-20 15:51 Michał Górny
2023-12-20 15:49 Michał Górny
2023-12-04 18:39 Michał Górny
2023-05-25 16:27 Michał Górny
2023-05-25 16:27 Michał Górny
2022-06-12 14:25 Michał Górny
2022-06-12 12:46 Sam James
2022-05-11  6:19 Michał Górny
2022-05-11  6:19 Michał Górny
2022-04-26  3:32 Sam James
2022-01-06 22:59 James Le Cuirot
2021-09-23 20:13 Sam James
2021-08-28  8:16 Arthur Zamarin
2021-08-28  8:16 Arthur Zamarin
2021-06-22 17:01 Marek Szuba
2021-05-07 11:58 Michał Górny
2021-02-14  3:08 Sam James
2020-11-19 19:52 Michał Górny
2020-09-28 15:53 Michał Górny
2020-08-09 16:56 Sergei Trofimovich
2020-06-05 13:13 Michał Górny
2020-03-28 11:21 Michał Górny
2019-12-17  7:27 Sergei Trofimovich
2019-11-25 12:35 Michał Górny
2019-06-05  7:12 Agostino Sarubbo
2019-06-04 13:17 Agostino Sarubbo
2019-05-02 21:24 Mikle Kolyada
2019-04-16 23:29 Aaron Bauman
2019-04-01 19:58 Thomas Deutschmann
2019-03-20 11:23 Mikle Kolyada
2019-03-16 21:39 Agostino Sarubbo
2019-03-10 22:20 Jeroen Roovers
2019-01-02  3:30 Matt Turner
2018-12-29 12:05 Sergei Trofimovich
2018-12-29 12:05 Sergei Trofimovich
2018-12-09  9:58 Mikle Kolyada
2018-10-07 22:04 Matt Turner
2018-10-07 22:04 Matt Turner
2018-10-05  4:10 Thomas Deutschmann
2018-10-01 13:07 Virgil Dupras
2018-09-16 19:07 Virgil Dupras
2018-09-07 18:46 Virgil Dupras
2018-08-25 18:15 Sergei Trofimovich
2018-08-25 18:15 Sergei Trofimovich
2018-08-08 21:14 Mikle Kolyada
2018-08-05 11:33 Sergei Trofimovich
2018-08-05 11:33 Sergei Trofimovich
2018-07-26 21:00 Virgil Dupras
2018-07-26 20:00 Virgil Dupras
2018-07-16  1:22 Mikle Kolyada
2018-03-31 19:25 Mart Raudsepp
2017-07-11 20:33 Sebastien Fabbro
2017-07-11 20:33 Sebastien Fabbro

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=1574623905.2b2cb284d929f25399f2142292a715656b50a44c.mgorny@gentoo \
    --to=mgorny@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