Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/khal/
Date: Sat, 31 Jul 2021 00:18:40
Message-Id: 1627690596.69a77667070903b896b0d6f43568f1f9dcf2ac70.sam@gentoo
1 commit: 69a77667070903b896b0d6f43568f1f9dcf2ac70
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 25 03:04:07 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 31 00:16:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69a77667
7
8 app-misc/khal: [QA] unconditionally install completion files
9
10 QA policy [0] says that we don't conditionalise installation of
11 small files. It's a wasteful rebuild and inconsistent across packages
12 for when users desire completions to be available.
13
14 [0] https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 .../{khal-0.10.1-r1.ebuild => khal-0.10.1-r2.ebuild} | 19 ++++++++-----------
18 .../{khal-0.10.2.ebuild => khal-0.10.2-r1.ebuild} | 17 +++++++----------
19 2 files changed, 15 insertions(+), 21 deletions(-)
20
21 diff --git a/app-misc/khal/khal-0.10.1-r1.ebuild b/app-misc/khal/khal-0.10.1-r2.ebuild
22 similarity index 74%
23 rename from app-misc/khal/khal-0.10.1-r1.ebuild
24 rename to app-misc/khal/khal-0.10.1-r2.ebuild
25 index 6ef78da963d..a4bd58a90c0 100644
26 --- a/app-misc/khal/khal-0.10.1-r1.ebuild
27 +++ b/app-misc/khal/khal-0.10.1-r2.ebuild
28 @@ -1,9 +1,9 @@
29 -# Copyright 1999-2020 Gentoo Authors
30 +# Copyright 1999-2021 Gentoo Authors
31 # Distributed under the terms of the GNU General Public License v2
32
33 EAPI=7
34
35 -PYTHON_COMPAT=( python3_{7,8} )
36 +PYTHON_COMPAT=( python3_8 )
37 PYTHON_REQ_USE="sqlite"
38
39 inherit distutils-r1
40 @@ -13,9 +13,8 @@ HOMEPAGE="http://lostpackets.de/khal/"
41 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42
43 LICENSE="MIT"
44 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
45 SLOT="0"
46 -IUSE="zsh-completion"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
48
49 RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
50 >=dev-python/click-log-0.2.0[${PYTHON_USEDEP}]
51 @@ -27,9 +26,8 @@ RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
52 dev-python/configobj[${PYTHON_USEDEP}]
53 >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
54 >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
55 - dev-python/setproctitle[${PYTHON_USEDEP}]
56 - zsh-completion? ( app-shells/zsh )"
57 -DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
58 + dev-python/setproctitle[${PYTHON_USEDEP}]"
59 +BDEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
60 dev-python/vdirsyncer[${PYTHON_USEDEP}]
61 dev-python/freezegun[${PYTHON_USEDEP}]"
62
63 @@ -37,8 +35,7 @@ DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
64
65 src_install() {
66 distutils-r1_src_install
67 - if use zsh-completion; then
68 - insinto /usr/share/zsh/site-functions
69 - doins misc/__khal
70 - fi
71 +
72 + insinto /usr/share/zsh/site-functions
73 + doins misc/__khal
74 }
75
76 diff --git a/app-misc/khal/khal-0.10.2.ebuild b/app-misc/khal/khal-0.10.2-r1.ebuild
77 similarity index 77%
78 rename from app-misc/khal/khal-0.10.2.ebuild
79 rename to app-misc/khal/khal-0.10.2-r1.ebuild
80 index 0c6dcfa5d3e..0348736d1e3 100644
81 --- a/app-misc/khal/khal-0.10.2.ebuild
82 +++ b/app-misc/khal/khal-0.10.2-r1.ebuild
83 @@ -3,7 +3,7 @@
84
85 EAPI=7
86
87 -PYTHON_COMPAT=( python3_{7,8,9} )
88 +PYTHON_COMPAT=( python3_{8,9} )
89 PYTHON_REQ_USE="sqlite"
90
91 inherit distutils-r1
92 @@ -13,9 +13,8 @@ HOMEPAGE="https://lostpackets.de/khal/"
93 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
94
95 LICENSE="MIT"
96 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
97 SLOT="0"
98 -IUSE="zsh-completion"
99 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
100
101 RDEPEND="dev-python/click[${PYTHON_USEDEP}]
102 dev-python/click-log[${PYTHON_USEDEP}]
103 @@ -27,9 +26,8 @@ RDEPEND="dev-python/click[${PYTHON_USEDEP}]
104 dev-python/configobj[${PYTHON_USEDEP}]
105 >=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
106 >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
107 - dev-python/setproctitle[${PYTHON_USEDEP}]
108 - zsh-completion? ( app-shells/zsh )"
109 -DEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
110 + dev-python/setproctitle[${PYTHON_USEDEP}]"
111 +BDEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
112 dev-python/vdirsyncer[${PYTHON_USEDEP}]
113 dev-python/freezegun[${PYTHON_USEDEP}]"
114
115 @@ -37,8 +35,7 @@ DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
116
117 src_install() {
118 distutils-r1_src_install
119 - if use zsh-completion; then
120 - insinto /usr/share/zsh/site-functions
121 - doins misc/__khal
122 - fi
123 +
124 + insinto /usr/share/zsh/site-functions
125 + doins misc/__khal
126 }