aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortcely <tcely@users.noreply.github.com>2019-02-07 14:36:53 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-08 18:45:22 +0000
commit023a1c579183b37a30450dc9e7986eabd332cba5 (patch)
tree02188425c12e4f8a6b840e57d378d69ca136a768
parent62bda4345a9fc41bf290b11abcc58e31408e4e49 (diff)
downloadaports-023a1c579183b37a30450dc9e7986eabd332cba5.tar.bz2
aports-023a1c579183b37a30450dc9e7986eabd332cba5.tar.xz
main/fossil: improve
- attempt to use check Review from @prspkt: - https for url - more specific license
-rw-r--r--main/fossil/APKBUILD24
1 files changed, 6 insertions, 18 deletions
diff --git a/main/fossil/APKBUILD b/main/fossil/APKBUILD
index b3e7676dc1..f4a352774a 100644
--- a/main/fossil/APKBUILD
+++ b/main/fossil/APKBUILD
@@ -4,10 +4,13 @@ pkgname=fossil
pkgver=2.7
pkgrel=0
pkgdesc="Simple, high-reliability, distributed software configuration management"
-url="http://www.fossil-scm.org"
+url="https://www.fossil-scm.org"
arch="all"
-license="BSD"
+license="BSD-2-Clause"
+options="!check" # missing tcl modules
depends=""
+# add tcllib when it is packaged
+checkdepends="coreutils ed"
makedepends="openssl-dev sqlite-dev tcl-dev zlib-dev"
source="https://www.fossil-scm.org/index.html/uv/$pkgname-src-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
@@ -23,24 +26,9 @@ build() {
make TCC="${CC:-gcc} $CFLAGS"
}
-# The tests don't have all the dependencies they want
-# Even with these dependencies, roughly a dozen of them
-# are broken anyway.
-#
-# ***** Final results: 11 errors out of 34909 tests
-# ***** Considered failures: pre-commit-warnings-fossil-1
-# test-framework-json test-framework-set-manifest th1-checkout-1
-# th1-checkout-2 th1-header-2 th1-artifact-3 th1-artifact-7
-# th1-globalState-1 th1-globalState-8 th1-encode64-3
-# ***** Ignored results: 5 ignored errors out of 34909 tests
-# ***** Ignored failures: merge5-sqlite3-issue stash-1-diff
-# stash-WY-1-CODE stash-3-2 stash-3-2-show-1
-#
check() {
- return 0
-
cd "$builddir"
- make test
+ make TESTFLAGS="-quiet -halt" test
}
package() {