crystal: update to 0.25.1

Closes: #987 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Daniel Lewan 2018-07-17 20:14:35 +02:00 committed by Jürgen Buchmüller
parent 45aff3a68a
commit f31a1e1952
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

View file

@ -1,10 +1,10 @@
# Template file for 'crystal' # Template file for 'crystal'
pkgname=crystal pkgname=crystal
version=0.24.1 version=0.25.1
revision=6 revision=1
_shardsversion=0.7.2 _shardsversion=0.8.1
_bootstrapversion=0.24.1 _bootstrapversion=0.25.1
_bootstraprevision=2 _bootstraprevision=1
hostmakedepends="git llvm" hostmakedepends="git llvm"
makedepends="gc-devel libatomic_ops pcre-devel libevent-devel libyaml-devel makedepends="gc-devel libatomic_ops pcre-devel libevent-devel libyaml-devel
libxml2-devel" libxml2-devel"
@ -16,11 +16,10 @@ maintainer="lvmbdv <ata.kuyumcu@protonmail.com>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://crystal-lang.org/" homepage="https://crystal-lang.org/"
distfiles=" 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" https://github.com/crystal-lang/shards/archive/v${_shardsversion}.tar.gz"
checksum=" checksum="9b5a7bd2de67ab36cc5430133228a1e656a431fc7d928a37a61109bd8da77fc6
4999a4d2a9ffc7bfbea8351b97057c3a135c2091cbd518e5c22ea7f5392b67d8 75c74ab6acf2d5c59f61a7efd3bbc3c4b1d65217f910340cb818ebf5233207a5"
97a3681e74d2fdcba0575f6906f4ba0aefc709a2eb672c7289c63176ff4f3be2"
nocross="FIXME: someone needs to sort out the llvm --cxxflags for cross building" nocross="FIXME: someone needs to sort out the llvm --cxxflags for cross building"
_crystalflags="--release --no-debug --progress" _crystalflags="--release --no-debug --progress"
@ -31,12 +30,12 @@ desc_option_binary_bootstrap="Bootstrap using precompiled binaries"
if [ "$build_option_binary_bootstrap" ]; then if [ "$build_option_binary_bootstrap" ]; then
case "$XBPS_MACHINE" in case "$XBPS_MACHINE" in
x86_64) x86_64)
distfiles+=" https://github.com/crystal-lang/crystal/releases/download/v${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-x86_64.tar.gz" distfiles+=" https://github.com/crystal-lang/crystal/releases/download/${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-x86_64.tar.gz"
checksum+=" b75df8522f2302270b48e6b77812a0cb0086e338cdf884227e0076afbf83aca7" checksum+=" 943ea77a976e80d2b3558ef525d2c9fa7fc3d41d6b5799923e378408d75e557e"
;; ;;
i686) i686)
distfiles+=" https://github.com/crystal-lang/crystal/releases/download/v${_bootstrapversion}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-i686.tar.gz" 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" broken="cannot be built on $XBPS_MACHINE"
@ -49,7 +48,7 @@ fi
do_extract() { do_extract() {
mkdir -p ${wrksrc}/{shards,$(vopt_if binary_bootstrap bootstrap)} 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 tar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${_shardsversion}.tar.gz --strip-components=1 -C ${wrksrc}/shards
if [ "$build_option_binary_bootstrap" ]; then if [ "$build_option_binary_bootstrap" ]; then
tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-${XBPS_TARGET_MACHINE}.tar.gz \ tar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/crystal-${_bootstrapversion}-${_bootstraprevision}-linux-${XBPS_TARGET_MACHINE}.tar.gz \