From f91bf32299e605130ce7fbce23e69a6dff5eae98 Mon Sep 17 00:00:00 2001 From: David Roman Date: Tue, 23 Apr 2024 21:10:27 +0200 Subject: [PATCH] dev-util/find-work: add 9999 Signed-off-by: David Roman --- dev-util/find-work/find-work-9999.ebuild | 81 ++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 dev-util/find-work/find-work-9999.ebuild diff --git a/dev-util/find-work/find-work-9999.ebuild b/dev-util/find-work/find-work-9999.ebuild new file mode 100644 index 0000000000..eb4c078c07 --- /dev/null +++ b/dev-util/find-work/find-work-9999.ebuild @@ -0,0 +1,81 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +DISTUTILS_USE_PEP517=hatchling +inherit distutils-r1 shell-completion + +DESCRIPTION="Personal advice utility for Gentoo package maintainers" +HOMEPAGE=" + https://find-work.sysrq.in/ + https://pypi.org/project/find-work/ +" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sysrq.in/${PN}" +else + inherit pypi + KEYWORDS="~amd64" +fi + +LICENSE="WTFPL-2" +SLOT="0" + +RDEPEND=" + =dev-python/aiohttp-3[${PYTHON_USEDEP}] + =dev-python/platformdirs-4[${PYTHON_USEDEP}] + =dev-python/pydantic-2[${PYTHON_USEDEP}] + =dev-python/repology-client-0.0.2[${PYTHON_USEDEP}] + =dev-python/requests-2[${PYTHON_USEDEP}] +