From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/find-work/
Date: Tue, 23 Apr 2024 19:10:38 +0000 (UTC) [thread overview]
Message-ID: <1713899427.f91bf32299e605130ce7fbce23e69a6dff5eae98.davidroman@gentoo> (raw)
commit: f91bf32299e605130ce7fbce23e69a6dff5eae98
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 23 19:10:27 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Apr 23 19:10:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f91bf322
dev-util/find-work: add 9999
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-util/find-work/find-work-9999.ebuild | 81 ++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
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="
+ <app-portage/gentoopm-2[${PYTHON_USEDEP}]
+ >=dev-python/aiohttp-3[${PYTHON_USEDEP}]
+ <dev-python/aiohttp-4[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/click-aliases[${PYTHON_USEDEP}]
+ dev-python/deepmerge[${PYTHON_USEDEP}]
+ >=dev-python/platformdirs-4[${PYTHON_USEDEP}]
+ <dev-python/platformdirs-5[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-2[${PYTHON_USEDEP}]
+ <dev-python/pydantic-3[${PYTHON_USEDEP}]
+ dev-python/python-bugzilla[${PYTHON_USEDEP}]
+ >=dev-python/repology-client-0.0.2[${PYTHON_USEDEP}]
+ <dev-python/repology-client-2[${PYTHON_USEDEP}]
+ >=dev-python/requests-2[${PYTHON_USEDEP}]
+ <dev-python/requests-3[${PYTHON_USEDEP}]
+ dev-python/sortedcontainers[${PYTHON_USEDEP}]
+ dev-python/tabulate[${PYTHON_USEDEP}]
+ dev-util/pkgcheck[${PYTHON_USEDEP}]
+"
+BDEPEND="test? ( dev-python/pytest-recording[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+ dev-python/insipid-sphinx-theme \
+ dev-python/sphinx-prompt
+
+src_prepare() {
+ distutils-r1_src_prepare
+ mkdir completions || die
+}
+
+python_compile() {
+ distutils-r1_python_compile
+
+ local -x PATH="${BUILD_DIR}/install${EPREFIX}/usr/bin:${PATH}"
+ local -x PYTHONPATH="${BUILD_DIR}/lib:${PYTHONPATH}"
+ emake completions/find-work.{bash,zsh,fish}
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ local mymakeargs=(
+ DESTDIR="${D}"
+ PREFIX="${EPREFIX}"/usr
+
+ BASHCOMPDIR="$(get_bashcompdir)"
+ ZSHCOMPDIR="$(get_zshcompdir)"
+ FISHCOMPDIR="$(get_fishcompdir)"
+ )
+
+ emake "${mymakeargs[@]}" install-data
+}
next reply other threads:[~2024-04-23 19:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-23 19:10 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-05 19:11 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/find-work/ Anna Vyalkova
2024-12-03 6:05 Anna Vyalkova
2024-11-30 14:48 Anna Vyalkova
2024-11-26 14:15 Anna Vyalkova
2024-11-21 9:50 Anna Vyalkova
2024-11-20 15:15 Anna Vyalkova
2024-11-06 15:15 Anna Vyalkova
2024-08-20 17:57 Anna Vyalkova
2024-08-08 23:40 Anna Vyalkova
2024-08-08 21:01 Anna Vyalkova
2024-04-29 9:39 Anna Vyalkova
2024-04-19 18:41 Anna Vyalkova
2024-02-08 15:14 Anna Vyalkova
2024-02-08 15:14 Anna Vyalkova
2024-01-14 16:36 Anna Vyalkova
2024-01-14 7:04 Anna Vyalkova
2024-01-10 8:55 Anna Vyalkova
2024-01-10 8:55 Anna Vyalkova
2024-01-09 2:56 Anna Vyalkova
2024-01-08 1:40 Anna Vyalkova
2024-01-07 20:06 Anna Vyalkova
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1713899427.f91bf32299e605130ce7fbce23e69a6dff5eae98.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox