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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D059F138351 for ; Sun, 3 May 2020 09:33:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4CA4E09ED; Sun, 3 May 2020 09:33:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 9C380E09E9 for ; Sun, 3 May 2020 09:33:31 +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 9A57034F2E6 for ; Sun, 3 May 2020 09:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 744EB230 for ; Sun, 3 May 2020 09:33:26 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1588497996.8afd20a826f8d8164db1f720f7b5bc41e313bbef.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/komikku/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-text/komikku/komikku-0.12.0.ebuild X-VCS-Directories: app-text/komikku/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 8afd20a826f8d8164db1f720f7b5bc41e313bbef X-VCS-Branch: master Date: Sun, 3 May 2020 09:33:26 +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: 40d8848a-c9f1-42d1-9d70-e6f093c01146 X-Archives-Hash: 6e3e6f410cd954db60d283663fd2ef90 Message-ID: <20200503093326.ECFpHw6CAzV4y9N6h07Du8qK0wmDjf6fgnTcn-YPGfg@z> commit: 8afd20a826f8d8164db1f720f7b5bc41e313bbef Author: Andrew Ammerlaan riseup net> AuthorDate: Sun May 3 09:26:36 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sun May 3 09:26:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8afd20a8 app-text/komikku: fix install phase need to use the python_foreach_impl function to optimeze for all python versions also tried to enable tests, but they need network so added RESTRICT="test" Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> app-text/komikku/komikku-0.12.0.ebuild | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/app-text/komikku/komikku-0.12.0.ebuild b/app-text/komikku/komikku-0.12.0.ebuild index 7d7a0c3..b8fa8f7 100644 --- a/app-text/komikku/komikku-0.12.0.ebuild +++ b/app-text/komikku/komikku-0.12.0.ebuild @@ -8,20 +8,21 @@ MY_P="${MY_PN}-${PV}" PYTHON_COMPAT=( python3_7 ) -inherit meson python-single-r1 gnome2-utils xdg +DISTUTILS_USE_SETUPTOOLS=no +inherit distutils-r1 meson gnome2-utils xdg DESCRIPTION="An online/offline manga reader for GNOME" HOMEPAGE="https://gitlab.com/valos/Komikku" SRC_URI="https://gitlab.com/valos/${MY_PN}/-/archive/v${PV}/${MY_PN}-v${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" +KEYWORDS="~amd64" LICENSE="GPL-3" SLOT="0" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Requires network connection to test +RESTRICT="test" DEPEND=" - ${PYTHON_DEPS} >=gui-libs/libhandy-0.0.10 >=x11-libs/gtk+-3.24.10 dev-python/beautifulsoup:4 @@ -39,9 +40,15 @@ RDEPEND=" S="${WORKDIR}/${MY_PN}-v${PV}" +distutils_enable_tests pytest + src_install() { meson_src_install - python_optimize + python_foreach_impl python_optimize +} + +src_test() { + PYTHONPATH="${S}:${PYTHONPATH}" python_foreach_impl python_test } pkg_preinst() {