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 F0256158086 for ; Thu, 30 Dec 2021 14:34:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25C4B2BC0B9; Thu, 30 Dec 2021 14:34: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 E97FF2BC0B9 for ; Thu, 30 Dec 2021 14:34:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 80D9734318F for ; Thu, 30 Dec 2021 14:34:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B44B2296 for ; Thu, 30 Dec 2021 14:34:35 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1640779643.ca306a9311879bbe98993d66dfb98bd7fc36c679.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/maestral/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/maestral/maestral-1.5.2.ebuild X-VCS-Directories: net-misc/maestral/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: ca306a9311879bbe98993d66dfb98bd7fc36c679 X-VCS-Branch: master Date: Thu, 30 Dec 2021 14:34:35 +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: 5ecc11a0-4958-46d2-8c91-fb1f61605f36 X-Archives-Hash: ef44837a829ec78de464cac90a0a7976 commit: ca306a9311879bbe98993d66dfb98bd7fc36c679 Author: Viorel Munteanu gmail com> AuthorDate: Wed Dec 29 12:06:15 2021 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Dec 29 12:07:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca306a93 net-misc/maestral: fix deps and tests Signed-off-by: Viorel Munteanu gmail.com> net-misc/maestral/maestral-1.5.2.ebuild | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/net-misc/maestral/maestral-1.5.2.ebuild b/net-misc/maestral/maestral-1.5.2.ebuild index 6ce8dbcf6..54d55b1bd 100644 --- a/net-misc/maestral/maestral-1.5.2.ebuild +++ b/net-misc/maestral/maestral-1.5.2.ebuild @@ -29,22 +29,29 @@ DEPEND=" >=dev-python/Pyro5-5.10[${PYTHON_USEDEP}] >=dev-python/requests-2.6.2[${PYTHON_USEDEP}] >=dev-python/sdnotify-0.3.2[${PYTHON_USEDEP}] - >=dev-python/setuptools-41.0.0[${PYTHON_USEDEP}] >=dev-python/survey-3.4.3[${PYTHON_USEDEP}] =dev-python/watchdog-2.0.1[${PYTHON_USEDEP}] dev-python/wheel[${PYTHON_USEDEP}] - python_targets_python3_8? ( dev-python/importlib_metadata[${PYTHON_USEDEP}] ) + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_8) " RDEPEND="${DEPEND}" BDEPEND=" - test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest-benchmark[${PYTHON_USEDEP}] ) " -# Skipped: Requires auth token -RESTRICT=test +distutils_enable_tests pytest -distutils_enable_tests setup.py +python_prepare_all() +{ + # this test requires systemd + sed -i -e 's/test_autostart/_&/' tests/offline/test_cli.py || die + + # this test requires network + sed -i -e 's/test_check_for_updates/_&/' tests/offline/test_main.py || die + + distutils-r1_python_prepare_all +} pkg_postinst() {