mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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:
parent
c64167bbb7
commit
8c09bf8df9
2 changed files with 23 additions and 4 deletions
11
srcpkgs/datamash/patches/musl-tests.patch
Normal file
11
srcpkgs/datamash/patches/musl-tests.patch
Normal 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},
|
|
@ -1,11 +1,19 @@
|
||||||
# Template file for 'datamash'
|
# Template file for 'datamash'
|
||||||
pkgname=datamash
|
pkgname=datamash
|
||||||
version=1.7
|
version=1.8
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="texinfo"
|
||||||
|
checkdepends="which"
|
||||||
short_desc="Command-line program that performs simple calculations on input files"
|
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"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://www.gnu.org/software/datamash/"
|
homepage="https://www.gnu.org/software/datamash/"
|
||||||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${GNU_SITE}/datamash/datamash-${version}.tar.gz"
|
||||||
checksum=574a592bb90c5ae702ffaed1b59498d5e3e7466a8abf8530c5f2f3f11fa4adb3
|
checksum=7ad97e8c7ef616dd03aa5bd67ae24c488272db3e7d1f5774161c18b75f29f6fd
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
vsed -e '/datamash-i18n-de\.pl/d' -i Makefile.in
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue