Skip to content
Snippets Groups Projects
Commit 9bc073fd authored by Celeste's avatar Celeste Committed by omni
Browse files

testing/ocaml-sha: upgrade to 1.15.4

parent fd868e63
No related branches found
No related tags found
1 merge request!62755*/ocaml*: rebuild against 4.14.2 & improve
......@@ -2,8 +2,8 @@
# Maintainer: Andy Li <andy@onthewings.net>
pkgname=ocaml-sha
_pkgname=sha
pkgver=1.15.2
pkgrel=3
pkgver=1.15.4
pkgrel=0
pkgdesc="Binding to the SHA cryptographic functions"
url="https://github.com/djs55/ocaml-sha"
arch="all !riscv64" # limited by ocaml aport
......@@ -11,7 +11,8 @@ license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="dune ocaml ocaml-findlib ocaml-ounit-dev ocaml-stdlib-shims ocaml-seq-dev"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/djs55/ocaml-sha/archive/$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.bz2::https://github.com/djs55/ocaml-sha/releases/download/v$pkgver/sha-$pkgver.tbz"
builddir="$srcdir/$_pkgname-$pkgver"
# 32-bit archs
case "$CARCH" in
......@@ -24,7 +25,7 @@ build() {
}
check() {
dune runtest --verbose
dune runtest --build-dir=.testenv --verbose
}
package() {
......@@ -75,5 +76,5 @@ scan_python3_dependency() {
}
sha512sums="
7ea47377747ef4c36791c4ed9ff88fe138ee14d012cc3f7b41fcc28776e57ea54c5ee5cc033adc6288177ed834afb73c44e60cfff01f1be28492a992f97a1d06 ocaml-sha-1.15.2.tar.gz
dbb31b523ba0bace023bc1b0558a8f572a0ec20fb3f19f783935be755cd161e09aba352eda2bcf7c4e5ab838c7f874cfbfaed9debf0813df25d9dbe7b9314fdf ocaml-sha-1.15.4.tar.bz2
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment