datamash: update to 1.8.

Co-authored-by: Duncaen <duncaen@voidlinux.org>
Closes: https://github.com/void-linux/void-packages/pull/44080
This commit is contained in:
oliver-cfc 2023-05-25 14:32:09 -04:00 committed by Duncaen
parent c64167bbb7
commit 8c09bf8df9
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
2 changed files with 23 additions and 4 deletions

View file

@ -0,0 +1,11 @@
--- a/tests/decorate-errors.pl
+++ b/tests/decorate-errors.pl
@@ -149,7 +149,7 @@
{ERR=>"$prog: invalid dot-decimal IPv4 address 'FOO'\n" .
"$prog: conversion failed in line 1\n" }],
['c4', '--decorate -k1,1:ipv4inet' , {IN_PIPE=>"FOO\n"}, {OUT => " "},
- {EXIT=>2},
+ {EXIT=>2}, {ERR_SUBST=>'s/: Invalid argument//'},
{ERR=>"$prog: invalid IPv4 address 'FOO'\n" .
"$prog: conversion failed in line 1\n" }],
['c5', '--decorate -k1,1:ipv6' , {IN_PIPE=>"FOO\n"}, {OUT => " "}, {EXIT=>2},

View file

@ -1,11 +1,19 @@
# Template file for 'datamash'
pkgname=datamash
version=1.7
version=1.8
revision=1
build_style=gnu-configure
hostmakedepends="texinfo"
checkdepends="which"
short_desc="Command-line program that performs simple calculations on input files"
maintainer="oliver JH <ohemming@gmail.com>"
maintainer="oliver <void@bertmacho.com>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/datamash/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=574a592bb90c5ae702ffaed1b59498d5e3e7466a8abf8530c5f2f3f11fa4adb3
distfiles="${GNU_SITE}/datamash/datamash-${version}.tar.gz"
checksum=7ad97e8c7ef616dd03aa5bd67ae24c488272db3e7d1f5774161c18b75f29f6fd
post_extract() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
vsed -e '/datamash-i18n-de\.pl/d' -i Makefile.in
fi
}