From b43e6014a18914f787d92b6efada3f9fd72583bc Mon Sep 17 00:00:00 2001 From: Jack Todaro Date: Sat, 3 Nov 2018 19:52:06 +1100 Subject: dev-haskell/stack-bin: bump up to 1.7.1 Closes: https://github.com/gentoo-haskell/gentoo-haskell/issues/878 Signed-off-by: Jack Todaro Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Sergei Trofimovich --- dev-haskell/stack-bin/Manifest | 3 ++ dev-haskell/stack-bin/stack-bin-1.7.1.ebuild | 47 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-haskell/stack-bin/stack-bin-1.7.1.ebuild (limited to 'dev-haskell/stack-bin') diff --git a/dev-haskell/stack-bin/Manifest b/dev-haskell/stack-bin/Manifest index 1070fba25430..2d19fac64936 100644 --- a/dev-haskell/stack-bin/Manifest +++ b/dev-haskell/stack-bin/Manifest @@ -4,3 +4,6 @@ DIST stack-1.5.1-linux-x86_64.tar.gz 11788896 BLAKE2B 379c31e6afe179e23cca928f9c DIST stack-1.6.1-linux-arm.tar.gz 16560843 BLAKE2B 863e519ba19dd59dd08485b377e42e73554de1d548f4e26d4ebf175ca1cc06ed4b75c66bc798a88b5086eaa5e3552994c054edc29de760b5b477c3123f508df4 SHA512 4db9d962af8765ede290b5ebdb6c66a164f513ebfc05db715cd4dca70cad79846e17a48027ecce008939ecbf645d643f9497a4d53fe4d76a82ca94876a800fae DIST stack-1.6.1-linux-i386.tar.gz 12623620 BLAKE2B 2db8c645ab6b8ff70a469c70cbf15d252c7d30d302c8dcc1f017129f297231e358a9764f188b03b7b914ba22a15339e72a6e639397879cd8a331ce44a047f112 SHA512 8f2998a6b2f9b4764f14520ecf0c02225513c4bda7d7442e97c5595bf09a6fc09c15a45de0d096a563b4a3705f4b2d1fbf6bf9b771db52991d61134319074642 DIST stack-1.6.1-linux-x86_64.tar.gz 12989288 BLAKE2B 44625d81410bd80ea0879e639a5b49d369939e3e3e01751061f25a5ce516ef3938e7b44f367be6851c77ae562a6846328bc9708a698b4417e5d215bffa584944 SHA512 dbd07448fa06e2020651be1dcdb39b383dfa6d207fbc9c63ac7744f3055416020fbe6b26203c43668fad01a8036237da84778057486b1edeec32f7eb66b2239e +DIST stack-1.7.1-linux-arm.tar.gz 15818359 BLAKE2B 3493a09f7685acfa7fe7930c2a33d24c36b74ed345a3877967154a5d48b1d65a19dfaea07b3d5db2e2cd23189eff64f5f2efb1777d5aac891c9d1254df431235 SHA512 aee7da80a8d061c5cc61ce33f138ccc14c4fa1a1f2e12f75fe0f0ef77afe1a33bc631eae4caacdb8c200793719655c588bd31a35a168480eb31bce89cd0e4db2 +DIST stack-1.7.1-linux-i386.tar.gz 13600712 BLAKE2B 1f5f2278f609aa5405b4be9726d1bd657bd3e409cb716ec07d7716bd1db4625283df708d84f465fb5a028c4467678c26fa0fb302d7e88c7d66b4e8f366481541 SHA512 02eeee457e5d62fe16cd610272ac504d226b680b944e1ab0cf03781838518f3afb41f486abdf254a042f931177ab4ecf01141b0d1cf1787ea938df113a51e5c7 +DIST stack-1.7.1-linux-x86_64.tar.gz 14025122 BLAKE2B ea7c62ef9c4dee85016ef6b1868da3aa51abac4ab1cafff2a15636d92d4ab8fc5d6bcf501bfb40db0bf5b80c791bef2d970e620a326547502821b44e2c93bf9d SHA512 5746548abbc06cc84bb053d236ce41319b5cacca75ac66507318670b9ebed51dcf891eabb74111cc4544c38f0d3716dfb6a02ba06019ddc6399b41d1378199c5 diff --git a/dev-haskell/stack-bin/stack-bin-1.7.1.ebuild b/dev-haskell/stack-bin/stack-bin-1.7.1.ebuild new file mode 100644 index 000000000000..74cb3293c1c9 --- /dev/null +++ b/dev-haskell/stack-bin/stack-bin-1.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="The Haskell Tool Stack (Binary)" +HOMEPAGE="https://github.com/commercialhaskell/stack" + +uri() { + echo "https://github.com/commercialhaskell/stack/releases/download/v${PV}/stack-${PV}-linux-$1.tar.gz" +} + +SRC_URI=" + arm? ( $(uri arm) ) + x86? ( $(uri i386) ) + amd64? ( $(uri x86_64) ) +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~arm" +IUSE="symlink" + +DEPEND="" +RDEPEND="${DEPEND} + sys-libs/zlib + dev-libs/gmp:0 +" +RDEPEND+=" symlink? ( !dev-haskell/stack )" + +S=${WORKDIR} + +QA_PREBUILT="/usr/bin/stack-bin" +QA_PRESTRIPPED="/usr/bin/stack-bin" + +src_prepare() { + default + + mv stack-${PV}-*/doc doc || die + mv stack-${PV}-*/stack stack-bin || die +} + +src_install() { + dodoc doc/* + dobin stack-bin + use symlink && dosym stack-bin /usr/bin/stack +} -- cgit v1.2.3-65-gdbad