libbytesize: update to 2.7.

This commit is contained in:
André Cerqueira 2022-11-19 22:44:37 +00:00 committed by classabbyamp
parent 01e2f18258
commit 399608318e

View file

@ -1,7 +1,7 @@
# Template file for 'libbytesize'
pkgname=libbytesize
version=2.6
revision=3
version=2.7
revision=1
build_style=gnu-configure
hostmakedepends="gettext python3"
makedepends="mpfr-devel pcre2-devel"
@ -12,17 +12,10 @@ license="LGPL-2.1-or-later"
homepage="https://github.com/storaged-project/libbytesize"
changelog="https://raw.githubusercontent.com/storaged-project/libbytesize/master/NEWS.rst"
distfiles="https://github.com/storaged-project/libbytesize/releases/download/${version}/libbytesize-${version}.tar.gz"
checksum=efaa2b35b2bb3b52bf7b4ff5d0ed2c5c61360a5196053808d615dd0aa2cf0741
checksum=8bae8287af6ef5624c320f70defdcd84ddc0c2057d3b59a5871897f27697811e
# checks fails in libbytesize_unittest.sh
make_check=no
pre_check() {
# Disable test that depends on unpackaged pocketlint
sed -i 's|canary_tests.sh$||g' tests/Makefile
# Default locale doesn't work
sed -i 's|DEFAULT_LOCALE =.*|DEFAULT_LOCALE = "C"|g' tests/libbytesize_unittest.py
}
libbytesize-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"