aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-08-09 00:17:26 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-08-09 00:22:04 +0500
commit70db7d1987653827bd93090e43a7cdc3e3a05e0b (patch)
tree47d638ef229710305ad41c0613e7dfc4ed12dbc1 /dev-util
parentnet-p2p/dogecoin-qt: drop 1.14.6 (diff)
downloadguru-70db7d1987653827bd93090e43a7cdc3e3a05e0b.tar.gz
guru-70db7d1987653827bd93090e43a7cdc3e3a05e0b.tar.bz2
guru-70db7d1987653827bd93090e43a7cdc3e3a05e0b.zip
dev-util/find-work: update live
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/find-work-repology/metadata.xml17
-rw-r--r--dev-util/find-work/find-work-9999.ebuild43
2 files changed, 24 insertions, 36 deletions
diff --git a/dev-util/find-work-repology/metadata.xml b/dev-util/find-work-repology/metadata.xml
new file mode 100644
index 000000000..7d9c80942
--- /dev/null
+++ b/dev-util/find-work-repology/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <name>Anna</name>
+ <email>cyber@sysrq.in</email>
+ </maintainer>
+ <remote-id type="pypi">find-work-repology</remote-id>
+ <bugs-to>https://bugs.sysrq.in/enter_bug.cgi?product=Software&amp;component=find-work</bugs-to>
+ <changelog>https://find-work.sysrq.in/release-notes.html</changelog>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-util/find-work/find-work-9999.ebuild b/dev-util/find-work/find-work-9999.ebuild
index eb4c078c0..e2e1326b4 100644
--- a/dev-util/find-work/find-work-9999.ebuild
+++ b/dev-util/find-work/find-work-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
DISTUTILS_USE_PEP517=hatchling
-inherit distutils-r1 shell-completion
+inherit distutils-r1
DESCRIPTION="Personal advice utility for Gentoo package maintainers"
HOMEPAGE="
@@ -33,49 +33,20 @@ RDEPEND="
dev-python/deepmerge[${PYTHON_USEDEP}]
>=dev-python/platformdirs-4[${PYTHON_USEDEP}]
<dev-python/platformdirs-5[${PYTHON_USEDEP}]
+ <dev-python/pluggy-2[${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}] )"
+BDEPEND="
+ test? (
+ dev-python/pytest-import-check[${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
-}