app-misc/gentodo: add 0.2.1, fix manifest

Closes: https://bugs.gentoo.org/923262
Signed-off-by: Christopher Fore <csfore@posteo.net>
This commit is contained in:
Christopher Fore
2024-01-29 14:55:49 -05:00
parent 1d7707e40c
commit 50a79cc58e
3 changed files with 45 additions and 3 deletions

View File

@@ -1 +1,2 @@
DIST gentodo-0.2.0.tar.gz 19919 BLAKE2B 864f5fc8498209502efe50b7b45da54461e4a8a36a9561c8af64fcdff415b00c6d98e8bcf9957592d1cb29c896797ea28e4617b7c12abeabee2b67641be0c883 SHA512 e9503a58e3dbdd70b1290083ab30bf834bd6211ca1e6b339834d0eec812d0a628f88483cc427092cf8a0cae3b4d27161a43dc711563154b7daa8686a2ba467dc
DIST gentodo-0.2.1.tar.gz 20132 BLAKE2B 0cdcbf6ec9ccd6dcb683794838efd4be474f94709197096c5618402c91585eadcf89bfc9e7cd5bdbc1293c49790f63767a43196e6d0da3021ef71c78a3466771 SHA512 000dcd7b22cb316c8f60c6cab9fd4c2af6fb8572a28a1772a802769e2146e26cb28e9d318c54c8aff9d5b0e713fd2ee1fd014c419a76164ab948dff5d1beea29

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 bash-completion-r1
if [[ ${PV} == 9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/csfore/gentodo.git"
else
SRC_URI="https://github.com/csfore/gentodo/releases/download/${PV}/gentodo-${PV}.tar.gz"
KEYWORDS="~amd64"
fi
HOMEPAGE="https://github.com/csfore/gentodo"
DESCRIPTION="Todo program to help enhance your Gentoo workflow"
LICENSE="GPL-3"
SLOT="0"
IUSE="bash-completion"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPENDS="
${PYTHON_DEPS}
"
DEPEND="
${PYTHON_DEPS}
"
RDEPEND="
${PYTHON_DEPS}
dev-python/python-bugzilla
"
python_install_all() {
newbashcomp src/gentodo/gentodo-completions.bash gentodo
distutils-r1_python_install_all
}

View File

@@ -38,8 +38,6 @@ RDEPEND="
"
python_install_all() {
if use bash-completion; then
newbashcomp src/gentodo/gentodo-completions.bash gentodo
fi
newbashcomp src/gentodo/gentodo-completions.bash gentodo
distutils-r1_python_install_all
}