From 69a77667070903b896b0d6f43568f1f9dcf2ac70 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 25 Jul 2021 04:04:07 +0100 Subject: 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 --- app-misc/khal/khal-0.10.1-r1.ebuild | 44 ------------------------------------- app-misc/khal/khal-0.10.1-r2.ebuild | 41 ++++++++++++++++++++++++++++++++++ app-misc/khal/khal-0.10.2-r1.ebuild | 41 ++++++++++++++++++++++++++++++++++ app-misc/khal/khal-0.10.2.ebuild | 44 ------------------------------------- 4 files changed, 82 insertions(+), 88 deletions(-) delete mode 100644 app-misc/khal/khal-0.10.1-r1.ebuild create mode 100644 app-misc/khal/khal-0.10.1-r2.ebuild create mode 100644 app-misc/khal/khal-0.10.2-r1.ebuild delete mode 100644 app-misc/khal/khal-0.10.2.ebuild diff --git a/app-misc/khal/khal-0.10.1-r1.ebuild b/app-misc/khal/khal-0.10.1-r1.ebuild deleted file mode 100644 index 6ef78da963d9..000000000000 --- a/app-misc/khal/khal-0.10.1-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="A CalDAV based calendar" -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" - -RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}] - >=dev-python/click-log-0.2.0[${PYTHON_USEDEP}] - >=dev-python/icalendar-4.0.3[${PYTHON_USEDEP}] - dev-python/urwid[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-dateutil[${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/vdirsyncer[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}]" - -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 -} diff --git a/app-misc/khal/khal-0.10.1-r2.ebuild b/app-misc/khal/khal-0.10.1-r2.ebuild new file mode 100644 index 000000000000..a4bd58a90c09 --- /dev/null +++ b/app-misc/khal/khal-0.10.1-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_8 ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="A CalDAV based calendar" +HOMEPAGE="http://lostpackets.de/khal/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}] + >=dev-python/click-log-0.2.0[${PYTHON_USEDEP}] + >=dev-python/icalendar-4.0.3[${PYTHON_USEDEP}] + dev-python/urwid[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${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}]" +BDEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}] + dev-python/vdirsyncer[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}]" + +DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample ) + +src_install() { + distutils-r1_src_install + + insinto /usr/share/zsh/site-functions + doins misc/__khal +} diff --git a/app-misc/khal/khal-0.10.2-r1.ebuild b/app-misc/khal/khal-0.10.2-r1.ebuild new file mode 100644 index 000000000000..0348736d1e30 --- /dev/null +++ b/app-misc/khal/khal-0.10.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="A CalDAV based calendar" +HOMEPAGE="https://lostpackets.de/khal/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND="dev-python/click[${PYTHON_USEDEP}] + dev-python/click-log[${PYTHON_USEDEP}] + >=dev-python/icalendar-4.0.3[${PYTHON_USEDEP}] + >=dev-python/urwid-1.3.0[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/python-dateutil[${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}]" +BDEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}] + dev-python/vdirsyncer[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}]" + +DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample ) + +src_install() { + distutils-r1_src_install + + 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.ebuild deleted file mode 100644 index 0c6dcfa5d3e9..000000000000 --- a/app-misc/khal/khal-0.10.2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="A CalDAV based calendar" -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" - -RDEPEND="dev-python/click[${PYTHON_USEDEP}] - dev-python/click-log[${PYTHON_USEDEP}] - >=dev-python/icalendar-4.0.3[${PYTHON_USEDEP}] - >=dev-python/urwid-1.3.0[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/python-dateutil[${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/vdirsyncer[${PYTHON_USEDEP}] - dev-python/freezegun[${PYTHON_USEDEP}]" - -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 -} -- cgit v1.2.3-65-gdbad