commit: 4b41f2440f79dc814a27e33613f6e138a6bb5e13 Author: Christopher Fore <csfore <AT> posteo <DOT> net> AuthorDate: Sun Jan 28 15:27:38 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sun Jan 28 15:28:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b41f244
app-misc/gentodo: new package, add 0.2.0, 9999 Signed-off-by: Christopher Fore <csfore <AT> posteo.net> app-misc/gentodo/Manifest | 1 + app-misc/gentodo/gentodo-0.2.0.ebuild | 45 +++++++++++++++++++++++++++++++++++ app-misc/gentodo/gentodo-9999.ebuild | 45 +++++++++++++++++++++++++++++++++++ app-misc/gentodo/metadata.xml | 11 +++++++++ 4 files changed, 102 insertions(+) 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>csf...@posteo.net</email> + <name>Christopher Fore</name> + </maintainer> + <upstream> + <remote-id type="github">csfore/gentodo</remote-id> + </upstream> +</pkgmetadata>