app-misc/gentodo: new package, add 0.2.0, 9999

Signed-off-by: Christopher Fore <csfore@posteo.net>
This commit is contained in:
Christopher Fore
2024-01-28 10:27:38 -05:00
parent c1a2adb9bc
commit 4b41f2440f
4 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST gentodo-0.2.0.tar.gz 19919 BLAKE2B 864f5fc8498209502efe50b7b45da54461e4a8a36a9561c8af64fcdff415b00c6d98e8bcf9957592d1cb29c896797ea28e4617b7c12abeabee2b67641be0c883 SHA512 e9503a58e3dbdd70b1290083ab30bf834bd6211ca1e6b339834d0eec812d0a628f88483cc427092cf8a0cae3b4d27161a43dc711563154b7daa8686a2ba467dc

View File

@@ -0,0 +1,45 @@
# 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() {
if use bash-completion; then
newbashcomp src/gentodo/gentodo-completions.bash gentodo
fi
distutils-r1_python_install_all
}

View File

@@ -0,0 +1,45 @@
# 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() {
if use bash-completion; then
newbashcomp src/gentodo/gentodo-completions.bash gentodo
fi
distutils-r1_python_install_all
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>csfore@posteo.net</email>
<name>Christopher Fore</name>
</maintainer>
<upstream>
<remote-id type="github">csfore/gentodo</remote-id>
</upstream>
</pkgmetadata>