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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFFEB158041 for ; Sat, 30 Mar 2024 19:29:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2DD2BE2A48; Sat, 30 Mar 2024 19:29:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F922E2A44 for ; Sat, 30 Mar 2024 19:29:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 07919343153 for ; Sat, 30 Mar 2024 19:29:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8DB5015F4 for ; Sat, 30 Mar 2024 19:29:39 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1711743999.d08f7c03b08236641e6de3591b9bcf037a018e4c.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/injector/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/injector/injector-0.21.0.ebuild X-VCS-Directories: dev-python/injector/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: d08f7c03b08236641e6de3591b9bcf037a018e4c X-VCS-Branch: master Date: Sat, 30 Mar 2024 19:29:39 +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: b6e3e7cd-1bec-40a2-9c54-e40f2d8677b0 X-Archives-Hash: d671ae5072d5e10c18417ec1190b1759 commit: d08f7c03b08236641e6de3591b9bcf037a018e4c Author: Gonçalo Negrier Duarte gmail com> AuthorDate: Fri Mar 29 20:26:18 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Fri Mar 29 20:26:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d08f7c03 dev-python/injector: improve ebuild Signed-off-by: Gonçalo Negrier Duarte gmail.com> dev-python/injector/injector-0.21.0.ebuild | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dev-python/injector/injector-0.21.0.ebuild b/dev-python/injector/injector-0.21.0.ebuild index 3cff345f8d..a8d1ed72e9 100644 --- a/dev-python/injector/injector-0.21.0.ebuild +++ b/dev-python/injector/injector-0.21.0.ebuild @@ -27,14 +27,8 @@ DEPEND="${RDEPEND} doc? ( dev-python/sphinx ) " - -python_compile_all() { - use doc && emake -C docs -} - -python_test() { - esetup.py test -} +distutils_enable_sphinx docs +distutils_enable_tests pytest python_install_all() { use doc && local HTML_DOCS=( docs/. )