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 E1CAB139337 for ; Sat, 31 Jul 2021 00:18:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 950AFE08DD; Sat, 31 Jul 2021 00:18:38 +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 1BFFCE089A for ; Sat, 31 Jul 2021 00:18:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A9E1B3438FE for ; Sat, 31 Jul 2021 00:18:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18C1D84D for ; Sat, 31 Jul 2021 00:18:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1627690603.cca5e801c584f5a50a60d8c86ebe72feb35cad9f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/khard/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/khard/khard-0.13.0-r1.ebuild app-misc/khard/khard-0.13.0.ebuild app-misc/khard/khard-0.17.0-r1.ebuild app-misc/khard/khard-0.17.0.ebuild X-VCS-Directories: app-misc/khard/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cca5e801c584f5a50a60d8c86ebe72feb35cad9f X-VCS-Branch: master Date: Sat, 31 Jul 2021 00:18: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: a11c7338-0dde-4092-bf69-4774bfe8ae29 X-Archives-Hash: 05b4a7798f2d17198cb5b843c223b361 commit: cca5e801c584f5a50a60d8c86ebe72feb35cad9f Author: Sam James gentoo org> AuthorDate: Sun Jul 25 03:04:08 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 31 00:16:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cca5e801 app-misc/khard: [QA] unconditionally install completion files QA policy [0] says that we don't conditionalise installation of small files. It's a wasteful rebuild and inconsistent across packages for when users desire completions to be available. [0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301 Signed-off-by: Sam James gentoo.org> ...{khard-0.13.0.ebuild => khard-0.13.0-r1.ebuild} | 26 +++++++++------------- ...{khard-0.17.0.ebuild => khard-0.17.0-r1.ebuild} | 25 ++++++++++----------- 2 files changed, 23 insertions(+), 28 deletions(-) diff --git a/app-misc/khard/khard-0.13.0.ebuild b/app-misc/khard/khard-0.13.0-r1.ebuild similarity index 83% rename from app-misc/khard/khard-0.13.0.ebuild rename to app-misc/khard/khard-0.13.0-r1.ebuild index 7b7ff564f1b..06a157e5b7f 100644 --- a/app-misc/khard/khard-0.13.0.ebuild +++ b/app-misc/khard/khard-0.13.0-r1.ebuild @@ -1,20 +1,18 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) - +PYTHON_COMPAT=( python3_8 ) DISTUTILS_USE_SETUPTOOLS=rdepend - inherit distutils-r1 DESCRIPTION="Console CardDAV client" HOMEPAGE="https://github.com/scheibler/khard" -LICENSE="GPL-3" +LICENSE="GPL-3" SLOT="0" -IUSE="test zsh-completion" +IUSE="test" RESTRICT="!test? ( test )" if [ "${PV}" == "9999" ]; then @@ -32,7 +30,7 @@ RDEPEND=" dev-python/unidecode[${PYTHON_USEDEP}] >dev-python/vobject-0.9.3[${PYTHON_USEDEP}] " -DEPEND=" +BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} @@ -44,15 +42,13 @@ DEPEND=" DOCS=( AUTHORS CHANGES README.md misc/khard/khard.conf.example ) +python_test() { + esetup.py test +} + src_install() { distutils-r1_src_install - if use zsh-completion; then - insinto /usr/share/zsh/site-functions - doins misc/zsh/_khard - fi -} - -python_test() { - esetup.py test + insinto /usr/share/zsh/site-functions + doins misc/zsh/_khard } diff --git a/app-misc/khard/khard-0.17.0.ebuild b/app-misc/khard/khard-0.17.0-r1.ebuild similarity index 83% rename from app-misc/khard/khard-0.17.0.ebuild rename to app-misc/khard/khard-0.17.0-r1.ebuild index 3d491af83fd..79c4e3cd1a7 100644 --- a/app-misc/khard/khard-0.17.0.ebuild +++ b/app-misc/khard/khard-0.17.0-r1.ebuild @@ -1,17 +1,18 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) -DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{8,9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 DESCRIPTION="Console CardDAV client" HOMEPAGE="https://github.com/scheibler/khard" + LICENSE="GPL-3" SLOT="0" -IUSE="test zsh-completion" +IUSE="test" RESTRICT="!test? ( test )" if [[ "${PV}" == *9999 ]]; then @@ -30,7 +31,7 @@ RDEPEND=" dev-python/unidecode[${PYTHON_USEDEP}] dev-python/vobject[${PYTHON_USEDEP}] " -DEPEND=" +BDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( ${RDEPEND} @@ -40,15 +41,13 @@ DEPEND=" DOCS=( CHANGES CONTRIBUTING.rst README.md doc/source/examples/khard.conf.example ) +python_test() { + esetup.py test +} + src_install() { distutils-r1_src_install - if use zsh-completion; then - insinto /usr/share/zsh/site-functions - doins misc/zsh/_khard - fi -} - -python_test() { - esetup.py test + insinto /usr/share/zsh/site-functions + doins misc/zsh/_khard }