mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/tinyxxd: update 9999
fixes hunk failure for the patch, also better testing because it now also does the data compare tests with vim's xxd Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo toolchain-funcs
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Drop-in replacement and standalone version of xxd"
|
||||
HOMEPAGE="https://github.com/xyproto/tinyxxd"
|
||||
@@ -19,16 +19,19 @@ LICENSE="|| ( GPL-2 MIT )"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="xxd"
|
||||
IUSE="xxd test"
|
||||
REQUIRED_USE="test? ( !xxd )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
xxd? (
|
||||
!<app-editors/vim-core-9.1.1652-r1
|
||||
!dev-util/xxd
|
||||
)
|
||||
test? ( dev-util/xxd )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.3.7-fix-flags.patch )
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.3.11-fixes.patch" )
|
||||
|
||||
src_compile() {
|
||||
export CFLAGS LDFLAGS
|
||||
@@ -36,11 +39,6 @@ src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
edo ./testfiles/test13.sh
|
||||
edo ./testfiles/test14.sh
|
||||
}
|
||||
|
||||
src_install(){
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
if use xxd; then
|
||||
|
||||
Reference in New Issue
Block a user