diff --git a/app-misc/gentodo/Manifest b/app-misc/gentodo/Manifest new file mode 100644 index 0000000000..fd6d0906c4 --- /dev/null +++ b/app-misc/gentodo/Manifest @@ -0,0 +1 @@ +DIST gentodo-0.2.0.tar.gz 19919 BLAKE2B 864f5fc8498209502efe50b7b45da54461e4a8a36a9561c8af64fcdff415b00c6d98e8bcf9957592d1cb29c896797ea28e4617b7c12abeabee2b67641be0c883 SHA512 e9503a58e3dbdd70b1290083ab30bf834bd6211ca1e6b339834d0eec812d0a628f88483cc427092cf8a0cae3b4d27161a43dc711563154b7daa8686a2ba467dc diff --git a/app-misc/gentodo/gentodo-0.2.0.ebuild b/app-misc/gentodo/gentodo-0.2.0.ebuild new file mode 100644 index 0000000000..7d6d558635 --- /dev/null +++ b/app-misc/gentodo/gentodo-0.2.0.ebuild @@ -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 +} diff --git a/app-misc/gentodo/gentodo-9999.ebuild b/app-misc/gentodo/gentodo-9999.ebuild new file mode 100644 index 0000000000..7d6d558635 --- /dev/null +++ b/app-misc/gentodo/gentodo-9999.ebuild @@ -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 +} diff --git a/app-misc/gentodo/metadata.xml b/app-misc/gentodo/metadata.xml new file mode 100644 index 0000000000..e35dd9f913 --- /dev/null +++ b/app-misc/gentodo/metadata.xml @@ -0,0 +1,11 @@ + + + + + csfore@posteo.net + Christopher Fore + + + csfore/gentodo + +