From f31a1e19527ae493a4dca8660a1cff572a25ef01 Mon Sep 17 00:00:00 2001 From: Daniel Lewan Date: Tue, 17 Jul 2018 20:14:35 +0200 Subject: [PATCH] crystal: update to 0.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #987 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- srcpkgs/crystal/template | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/srcpkgs/crystal/template b/srcpkgs/crystal/template index 144d44b709d..b1115f7bbdd 100644 --- a/srcpkgs/crystal/template +++ b/srcpkgs/crystal/template @@ -1,10 +1,10 @@ # Template file for 'crystal' pkgname=crystal -version=0.24.1 -revision=6 -_shardsversion=0.7.2 -_bootstrapversion=0.24.1 -_bootstraprevision=2 +version=0.25.1 +revision=1 +_shardsversion=0.8.1 +_bootstrapversion=0.25.1 +_bootstraprevision=1 hostmakedepends="git llvm" makedepends="gc-devel libatomic_ops pcre-devel libevent-devel libyaml-devel libxml2-devel" @@ -16,11 +16,10 @@ maintainer="lvmbdv " license="Apache-2.0" homepage="https://crystal-lang.org/" distfiles=" - https://github.com/crystal-lang/crystal/archive/v${version}.tar.gz + https://github.com/crystal-lang/crystal/archive/${version}.tar.gz https://github.com/crystal-lang/shards/archive/v${_shardsversion}.tar.gz" -checksum=" - 4999a4d2a9ffc7bfbea8351b97057c3a135c2091cbd518e5c22ea7f5392b67d8 - 97a3681e74d2fdcba0575f6906f4ba0aefc709a2eb672c7289c63176ff4f3be2" +checksum="9b5a7bd2de67ab36cc5430133228a1e656a431fc7d928a37a61109bd8da77fc6 + 75c74ab6acf2d5c59f61a7efd3bbc3c4b1d65217f910340cb818ebf5233207a5" nocross="FIXME: someone needs to sort out the llvm --cxxflags for cross building" _crystalflags="--release --no-debug --progress" @@ -31,12 +30,12 @@ desc_option_binary_bootstrap="Bootstrap using precompiled binaries" if [ "$build_option_binary_bootstrap" ]; then case "$XBPS_MACHINE" in x86_64) - distfiles+=" https://github.com/crystal-lang/crystal/releases/download/v${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-x86_64.tar.gz" - checksum+=" b75df8522f2302270b48e6b77812a0cb0086e338cdf884227e0076afbf83aca7" + distfiles+=" https://github.com/crystal-lang/crystal/releases/download/${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-x86_64.tar.gz" + checksum+=" 943ea77a976e80d2b3558ef525d2c9fa7fc3d41d6b5799923e378408d75e557e" ;; i686) distfiles+=" https://github.com/crystal-lang/crystal/releases/download/v${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-i686.tar.gz" - checksum+=" 4f45f8ea57486be0f8d035c466edda848b7e1a7aa809fff4ea31311fd8ebea97" + checksum+=" ff0e38021cb20ad7cea3aaba78350a4ae22c4dc48563ba482aa3a87eb07e1044" ;; *) broken="cannot be built on $XBPS_MACHINE" @@ -49,7 +48,7 @@ fi do_extract() { mkdir -p ${wrksrc}/{shards,$(vopt_if binary_bootstrap bootstrap)} - tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${version}.tar.gz --strip-components=1 -C ${wrksrc} + tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${version}.tar.gz --strip-components=1 -C ${wrksrc} tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${_shardsversion}.tar.gz --strip-components=1 -C ${wrksrc}/shards if [ "$build_option_binary_bootstrap" ]; then tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-${XBPS_TARGET_MACHINE}.tar.gz \