public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/khal/
Date: Sat, 31 Jul 2021 00:18:35 +0000 (UTC)	[thread overview]
Message-ID: <1627690596.69a77667070903b896b0d6f43568f1f9dcf2ac70.sam@gentoo> (raw)

commit:     69a77667070903b896b0d6f43568f1f9dcf2ac70
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 03:04:07 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 31 00:16:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69a77667

app-misc/khal: [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 <sam <AT> gentoo.org>

 .../{khal-0.10.1-r1.ebuild => khal-0.10.1-r2.ebuild}  | 19 ++++++++-----------
 .../{khal-0.10.2.ebuild => khal-0.10.2-r1.ebuild}     | 17 +++++++----------
 2 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/app-misc/khal/khal-0.10.1-r1.ebuild b/app-misc/khal/khal-0.10.1-r2.ebuild
similarity index 74%
rename from app-misc/khal/khal-0.10.1-r1.ebuild
rename to app-misc/khal/khal-0.10.1-r2.ebuild
index 6ef78da963d..a4bd58a90c0 100644
--- a/app-misc/khal/khal-0.10.1-r1.ebuild
+++ b/app-misc/khal/khal-0.10.1-r2.ebuild
@@ -1,9 +1,9 @@
-# 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 )
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1
@@ -13,9 +13,8 @@ HOMEPAGE="http://lostpackets.de/khal/"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 SLOT="0"
-IUSE="zsh-completion"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
 	>=dev-python/click-log-0.2.0[${PYTHON_USEDEP}]
@@ -27,9 +26,8 @@ RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
 	dev-python/configobj[${PYTHON_USEDEP}]
 	>=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
 	>=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
-	dev-python/setproctitle[${PYTHON_USEDEP}]
-	zsh-completion? ( app-shells/zsh )"
-DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+	dev-python/setproctitle[${PYTHON_USEDEP}]"
+BDEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
 	dev-python/vdirsyncer[${PYTHON_USEDEP}]
 	dev-python/freezegun[${PYTHON_USEDEP}]"
 
@@ -37,8 +35,7 @@ DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
 
 src_install() {
 	distutils-r1_src_install
-	if use zsh-completion; then
-		insinto /usr/share/zsh/site-functions
-		doins misc/__khal
-	fi
+
+	insinto /usr/share/zsh/site-functions
+	doins misc/__khal
 }

diff --git a/app-misc/khal/khal-0.10.2.ebuild b/app-misc/khal/khal-0.10.2-r1.ebuild
similarity index 77%
rename from app-misc/khal/khal-0.10.2.ebuild
rename to app-misc/khal/khal-0.10.2-r1.ebuild
index 0c6dcfa5d3e..0348736d1e3 100644
--- a/app-misc/khal/khal-0.10.2.ebuild
+++ b/app-misc/khal/khal-0.10.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
 PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1
@@ -13,9 +13,8 @@ HOMEPAGE="https://lostpackets.de/khal/"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 SLOT="0"
-IUSE="zsh-completion"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 RDEPEND="dev-python/click[${PYTHON_USEDEP}]
 	dev-python/click-log[${PYTHON_USEDEP}]
@@ -27,9 +26,8 @@ RDEPEND="dev-python/click[${PYTHON_USEDEP}]
 	dev-python/configobj[${PYTHON_USEDEP}]
 	>=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
 	>=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
-	dev-python/setproctitle[${PYTHON_USEDEP}]
-	zsh-completion? ( app-shells/zsh )"
-DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
+	dev-python/setproctitle[${PYTHON_USEDEP}]"
+BDEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
 	dev-python/vdirsyncer[${PYTHON_USEDEP}]
 	dev-python/freezegun[${PYTHON_USEDEP}]"
 
@@ -37,8 +35,7 @@ DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
 
 src_install() {
 	distutils-r1_src_install
-	if use zsh-completion; then
-		insinto /usr/share/zsh/site-functions
-		doins misc/__khal
-	fi
+
+	insinto /usr/share/zsh/site-functions
+	doins misc/__khal
 }


             reply	other threads:[~2021-07-31  0:18 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-31  0:18 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-10 17:01 [gentoo-commits] repo/gentoo:master commit in: app-misc/khal/ Michał Górny
2024-05-28 15:27 Michał Górny
2024-05-28 15:27 Michał Górny
2023-07-05 18:20 Amy Liffey
2023-05-06  9:40 Sam James
2023-05-03  5:25 Sam James
2023-05-03  5:22 Sam James
2022-10-18  4:04 Sam James
2022-05-19 18:23 Sam James
2022-05-06 13:46 Michał Górny
2022-02-02 15:49 Amy Liffey
2021-12-21  3:39 Yixun Lan
2021-08-16  7:36 Michał Górny
2021-06-01 13:03 Sam James
2020-12-17 18:03 Amy Liffey
2020-08-02 20:27 Aaron Bauman
2020-03-04  5:01 Michał Górny
2020-01-27 11:49 Mikle Kolyada
2020-01-22 21:35 Michał Górny
2019-12-24 19:54 Mikle Kolyada
2019-11-26 20:34 Aaron Bauman
2019-10-13  5:32 Amy Liffey
2019-10-04 19:29 Amy Liffey
2018-12-05  5:49 Amy Liffey
2018-12-01 10:40 Amy Liffey
2018-06-04  9:06 Amy Liffey
2018-06-02 18:26 Amy Liffey
2018-06-01  6:57 Amy Liffey
2018-02-15 16:35 Amy Liffey
2017-11-28 13:27 Amy Liffey
2017-10-03  8:35 Amy Liffey
2017-10-03  8:35 Amy Liffey
2017-07-02  7:33 Amy Liffey
2017-05-25 20:27 Amy Liffey
2017-04-22  9:56 Pacho Ramos
2017-04-09 20:19 Amy Liffey
2017-03-08 19:34 Amy Liffey
2017-01-25 21:49 Amy Liffey
2016-12-24 12:05 Amy Winston
2016-11-26 10:09 Amy Winston
2016-11-06 21:21 Amy Winston
2016-11-06 20:49 Amy Winston
2016-04-23 20:21 Amy Winston
2016-02-21 15:18 Amy Winston

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=1627690596.69a77667070903b896b0d6f43568f1f9dcf2ac70.sam@gentoo \
    --to=sam@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