diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-10 13:53:18 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-02-10 14:22:11 +0100 |
commit | 334b8c94e41740b90599364f110c418ebe09dc02 (patch) | |
tree | 576a708e9d6a3531daf763a39ef896ffe730cb4a /community/julia/APKBUILD | |
parent | ccc266c812b8ae5f3f909bb402fe8c43a78355d1 (diff) | |
download | aports-334b8c94e41740b90599364f110c418ebe09dc02.tar.bz2 aports-334b8c94e41740b90599364f110c418ebe09dc02.tar.xz |
community/julia: move tests to subpackage -tests
Diffstat (limited to 'community/julia/APKBUILD')
-rw-r--r-- | community/julia/APKBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/community/julia/APKBUILD b/community/julia/APKBUILD index 6f7ca874ad..8e007e79ad 100644 --- a/community/julia/APKBUILD +++ b/community/julia/APKBUILD @@ -51,7 +51,7 @@ makedepends="$depends_dev paxmark perl " -subpackages="$pkgname-doc $pkgname-dev $pkgname-dbg" +subpackages="$pkgname-tests::noarch $pkgname-doc $pkgname-dev $pkgname-dbg" source="https://github.com/JuliaLang/julia/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz libuv-$_libuv_ver.tar.gz::https://api.github.com/repos/JuliaLang/libuv/tarball/$_libuv_ver UnicodeData.txt-9.0.0::http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt @@ -165,6 +165,14 @@ package() { rm -Rf "$pkgdir"/usr/share/julia/site } +tests() { + pkgdesc="$pkgdesc (tests)" + replaces="$pkgname" # for backward compatibility + + mkdir -p "$subpkgdir"/usr/share/julia + mv "$pkgdir"/usr/share/julia/test "$subpkgdir"/usr/share/julia +} + # Note: Julia builds somehow special debug binaries, so we need to bypass # default_dbg and just copy them as-is. dbg() { |