diff options
author | Daniel Isaksen <d@duniel.no> | 2019-06-08 01:28:28 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-14 19:39:20 +0000 |
commit | 89f3fb279b87b500aca86169b2864065620dee8b (patch) | |
tree | 93cab5929f8d0e3ad0bb5f70825760f4433faab6 /testing/rebar3 | |
parent | 9b4c9730f09a4a48866c71a986051eaf6427430b (diff) | |
download | aports-89f3fb279b87b500aca86169b2864065620dee8b.tar.bz2 aports-89f3fb279b87b500aca86169b2864065620dee8b.tar.xz |
testing/rebar3: bump to 3.11.1, take maintainership, fix tests
Signed-off-by: Daniel Isaksen <d@duniel.no>
Closes GH-8629
Diffstat (limited to 'testing/rebar3')
-rw-r--r-- | testing/rebar3/APKBUILD | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/testing/rebar3/APKBUILD b/testing/rebar3/APKBUILD index d79583e85c..383b0fe288 100644 --- a/testing/rebar3/APKBUILD +++ b/testing/rebar3/APKBUILD @@ -1,25 +1,27 @@ -# Maintainer: +# Maintainer: Daniel Isaksen <d@duniel.no> pkgname=rebar3 -pkgver=3.5.0 -pkgrel=0 +pkgver=3.11.1 +pkgrel=1 pkgdesc="erlang build tool that makes it easy to compile and test erlang applications and releases" url="http://www.rebar3.org/" arch="noarch !armv7" license="Apache-2.0" depends="erlang erlang-compiler" -makedepends="erlang-dev erlang-ssl erlang-eunit erlang-sasl erlang-dialyzer" +makedepends="erlang-dev erlang-ssl erlang-eunit erlang-sasl erlang-dialyzer erlang-hipe" +checkdepends="erlang-common-test erlang-tools erlang-snmp erlang-edoc erlang-erts" install="" subpackages="" -_bbmustache_ver="1.3.0" -_certifi_ver="2.0.0" +_bbmustache_ver="1.6.1" +_certifi_ver="2.5.1" _cf_ver="0.2.2" -_cth_readable_ver="1.3.2" -_erlware_commons_ver="1.0.4" +_cth_readable_ver="1.4.4" +_erlware_commons_ver="1.3.1" _eunit_formatters_ver="0.5.0" _getopt_ver="1.0.1" -_providers_ver="1.7.0" -_relx_ver="3.24.3" -_ssl_verify_fun_ver="1.1.3" +_providers_ver="1.8.1" +_relx_ver="3.32.1" +_ssl_verify_fun_ver="1.1.5" +_meck_ver="0.8.13" source="rebar3-$pkgver.tar.gz::https://github.com/erlang/rebar3/archive/$pkgver.tar.gz https://repo.hex.pm/tarballs/bbmustache-$_bbmustache_ver.tar https://repo.hex.pm/tarballs/certifi-$_certifi_ver.tar @@ -31,6 +33,7 @@ source="rebar3-$pkgver.tar.gz::https://github.com/erlang/rebar3/archive/$pkgver. https://repo.hex.pm/tarballs/providers-$_providers_ver.tar https://repo.hex.pm/tarballs/relx-$_relx_ver.tar https://repo.hex.pm/tarballs/ssl_verify_fun-$_ssl_verify_fun_ver.tar + https://repo.hex.pm/tarballs/meck-$_meck_ver.tar " builddir="$srcdir/rebar3-$pkgver" @@ -38,7 +41,7 @@ builddir="$srcdir/rebar3-$pkgver" # XXX: rebar3 bootstrap tries to download a package index (but all of the dependencies are predownloaded), # which means we need networking enabled -options="net !check" +#options="net !check" _prepare_subpkg() { msg "unpacking $1 $2 to _build/default/lib" @@ -55,8 +58,6 @@ _prepare_subpkg() { prepare() { default_prepare - cd "$builddir" - _prepare_subpkg bbmustache $_bbmustache_ver _prepare_subpkg certifi $_certifi_ver _prepare_subpkg cf $_cf_ver @@ -67,13 +68,12 @@ prepare() { _prepare_subpkg providers $_providers_ver _prepare_subpkg relx $_relx_ver _prepare_subpkg ssl_verify_fun $_ssl_verify_fun_ver + _prepare_subpkg meck $_meck_ver ln -sf default "$builddir"/_build/bootstrap } build() { - cd "$builddir" - # DEBUG=1 gives us verbose build output # we use /tmp/rebar-build as home dir because rebar3 bootstrap downloads a package index and it cannot be disabled @@ -81,6 +81,13 @@ build() { HOME=/tmp/rebar-build ./bootstrap # clean up + #rm -rf /tmp/rebar-build +} + +check() { + HOME=/tmp/rebar-build ./rebar3 ct + + # cleanup rm -rf /tmp/rebar-build } @@ -89,14 +96,15 @@ package() { install -D -m0755 rebar3 "$pkgdir"/usr/bin/rebar3 } -sha512sums="c29471e241e144abf466382e18b022e6d06d10ee965de984d69f0fd7ba9f64745806e28c87c980ea3a8e01ff61562c434c6ced4aeaee2a2aedf4d24bde66801f rebar3-3.5.0.tar.gz -de5ac693a1a1655838a657020e35a7e77c80fc39a0478f14381a830a1421b64af6d755ca12577cb4ff9ed70685631a471b7a16f9302eae81266ac7197c76bbc3 bbmustache-$_bbmustache_ver.tar -7e8fa461054c784d50d028e130641cfed1897206eca46f4b3067482607611aeeb90652f0075a1551a8672e635976088be6a2836f744ec1303775a0170fb1a2af certifi-2.0.0.tar +sha512sums="749368c8c19641d0c1083f1750438cfc5f1c75e284bd74b4f8ae368103e79a376f4bd91e85db35e1619116cd2f3b1a8dc2d3d89db19da8f4440e0b58d3c0a37c rebar3-3.11.1.tar.gz +7da99c76c5bb5b7cdc213784184c06d8be093a53c2d1da45d82677a3b18672c9368c4dac39797dee50c83cae7be4d06979d5ad2bee6b9d9d7f83fb56ebb8b032 bbmustache-1.6.1.tar +478126f314065d6d91f6854b9565461ca0c3d31265b952bbe6eb3643e861ee1faeba388c2d356d3595381aa3a5d5871c7c98cb85d8e6ab614917eb5c8be9082a certifi-2.5.1.tar 0afbe335c6170f1f4efa6fb22111d8698abc288b1cc125fb69653958df1dbdb1a936f927309b460dc6cfa1fc2b15c82838b8935d5fa8e28dab1c050295608698 cf-0.2.2.tar -f18eabca5ed9739116c9195d38515ba1362d2f1ff0f93342b1bee6526044e059232118ad50118a68bfd3ffd6c020153cd6bec626036d0082e973737d552a9ab7 cth_readable-1.3.2.tar -350e09d1dc1e7e22be5f331f95c3e4375c03739edb3126c3994cdbd2aeee4bbab12c856197a10e5a97a21e633e86a8774087e215f60ec87412e745aced7093cc erlware_commons-1.0.4.tar +2036b947d33037afd2d043447bd533e207490c290ef1bd0115660c76824dbd95ce03c56bb4b89377a82bab25dab1bb19e28fc42d3f56064ea261a57b7f9f183e cth_readable-1.4.4.tar +1f9e7617b88ec7cae6e83da1a60a2d22ce3325b6425cd284c3ec3dd0de49a26220b868ea60a937758dd65d7ea137819e314504a98ced99fc2617056ada4d2fa0 erlware_commons-1.3.1.tar e8692ff35f979dfaf99ccac58014429d300a71ff76f2ce945814a0d4d9431821f04f988dc0271271858a37e6903a73b4dd9ae3abf215333f3135fa883ec07022 eunit_formatters-0.5.0.tar 859642dc26c42414474fa8af8a32fed827b0773ac6d6eb51ec19c291672408e71619ad2bb0c7f08d84ff591b33a655a7e0b6241b94372e9cc816a648ee6cdaf6 getopt-1.0.1.tar -c942b6468df7a5562205d8c65415bbecdc8bc87416deb081ed524541db3e3706110ef49dc55c91e9914e2baaeb1323ac8e2f44d0013856501fd4eeb774d3722b providers-1.7.0.tar -c05d2c143e66ef17e5ccd6d69216551616b0a25c11140235b7e6e8905c27cd2a1808f454533499710a1ecd3048280cc77e35a2ce4e547e4e127a3dfce7b96934 relx-3.24.3.tar -8d907b8746cb61806892965af3e12e95a4f2e552212993fe62f121ded5c8502907d8daf1228ae747ea81c3fa4bbd364747316a75790f4644146f3e77c2896c95 ssl_verify_fun-1.1.3.tar" +b1db18264c98717849ed521f8eb1ef0f112ea5e602bcd529fd97996120640c7567097174180673ba166d4c408496ce63c351ce70a3f385ed1ae7d1e444e2587a providers-1.8.1.tar +2bcc9a8a12cc1fbca3c195cc61d60acda98b49df72a068dcc8bed3fa645ad76f3d008f31f914bdb5ec48fc372b6196abeadf8dddf188b5c91a314f1852aa9d27 relx-3.32.1.tar +9beef3fb7b1aa2e40202d321442159a502a6efdcac3d15397c0dfffef633a1f5af8baa006eb4437d14620ffc2e23018111f1626d2f34a63e804cd8e11fe17f71 ssl_verify_fun-1.1.5.tar +adcfd3fdf69d4926dc1d9c2f0b477c8977bddba8b8ffdbfedcf1b5dc3c1af47b39b1c6263c922a43efede90f145f009d71b27178597320522960c5ebbd84a15a meck-0.8.13.tar" |