mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-util/find-work: add 0.91.2, drop old
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
inherit distutils-r1
|
||||
inherit distutils-r1 shell-completion
|
||||
|
||||
DESCRIPTION="Personal advice utility for Gentoo package maintainers"
|
||||
HOMEPAGE="
|
||||
@@ -65,3 +65,24 @@ distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/insipid-sphinx-theme \
|
||||
dev-python/sphinx-prompt
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
|
||||
emake completions BIN="${BUILD_DIR}/install${EPREFIX}/usr/bin/find-work"
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user