summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-11-26 12:17:47 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-11-26 12:17:54 +0000
commit98f332d3931cebe6af6a38b6d84c4da7fa0b68be (patch)
treedfcc6d4b6e1ec9419bd25c43f0d9db0c252ba81c /app-admin
parentapp-emulation/e-uae: stable 0.8.29_rc4-r3 for ppc, bug #638648 (diff)
downloadgentoo-98f332d3931cebe6af6a38b6d84c4da7fa0b68be.tar.gz
gentoo-98f332d3931cebe6af6a38b6d84c4da7fa0b68be.tar.bz2
gentoo-98f332d3931cebe6af6a38b6d84c4da7fa0b68be.zip
app-admin/haskell-updater: bump up to 1.2.11
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/haskell-updater/Manifest5
-rw-r--r--app-admin/haskell-updater/haskell-updater-1.2.11.ebuild47
2 files changed, 50 insertions, 2 deletions
diff --git a/app-admin/haskell-updater/Manifest b/app-admin/haskell-updater/Manifest
index 17e41fe0dbc0..38240b70b544 100644
--- a/app-admin/haskell-updater/Manifest
+++ b/app-admin/haskell-updater/Manifest
@@ -1,2 +1,3 @@
-DIST haskell-updater-1.2.10.tar.gz 26586 SHA256 e9712ccaa38bb2ca4242272eee72c72e5b2d0943d7d35c846fccdd89a5428e7d SHA512 c0a72ae77362e5ed4ea0e244449175454119b1284756adeb43534bf58b661f3cabb88e08bd5903d415a9f95a6de309753dedf974ddd853b300fd215250e0ad7c WHIRLPOOL 930975884f1f2b3ae47902cf3e4e88894ee7d4227dbf8bbd06e4f893d00bd715eae5ffd5c78375edf9d43f853da0fcac856492520de350ca1d044ee9da6a1dca
-DIST haskell-updater-1.2.9.tar.gz 26675 SHA256 eafc441bad4f15d60c8686c189d6dd49ea9e87bdddf09a24cef2a3eca9eca859 SHA512 d19b6154d5ef4da176638c237082586688e2ac73a41c075fc3e51979b86b9e48ca5a9bfe6c870d468d66d95c1464456feed8afc388aea282aa7aad5a35f5e0da WHIRLPOOL e28c55e9bd2d9033b42fb42e2db6ff2911a2fb50a5d1ad276d6344ca29b4b05abf73d746604ced6766b983d8a7e6e688534be28ba61f0c62f8aca20d9a46c669
+DIST haskell-updater-1.2.10.tar.gz 26586 BLAKE2B adc46f85118fa55e530aa079ef2df0663b178b15311f4f2ff6474db75aacf1277238a27a2bb98841fc1fe50b556d7f01a677861b3ce9559fe809a02db401ef8d SHA512 c0a72ae77362e5ed4ea0e244449175454119b1284756adeb43534bf58b661f3cabb88e08bd5903d415a9f95a6de309753dedf974ddd853b300fd215250e0ad7c
+DIST haskell-updater-1.2.11.tar.gz 26705 BLAKE2B 007242ec23c75261664d3674a0a8312324621fad70a686f71e0bb16dc801c163d95d5d4c9e3fa667cd92b3cd1b8fe35d457a7d79800500b560731d5dae14bdc2 SHA512 3a0b0d54e0dd7fdbdd7c23fd213d630a45db32afef8e5ac01e42798f8339ffd83060db9e110c5baeaa05ea634f5286c25ad9a5996c293b47805a2806f7719d46
+DIST haskell-updater-1.2.9.tar.gz 26675 BLAKE2B a3d11cdcee886a07d87cd2888a9deea1d963b7234b4a10a6b78e9467fae4e9382c92f14a6ba0593f86bf9422ab2cb4bec823de96f34b463590ae18429c118edb SHA512 d19b6154d5ef4da176638c237082586688e2ac73a41c075fc3e51979b86b9e48ca5a9bfe6c870d468d66d95c1464456feed8afc388aea282aa7aad5a35f5e0da
diff --git a/app-admin/haskell-updater/haskell-updater-1.2.11.ebuild b/app-admin/haskell-updater/haskell-updater-1.2.11.ebuild
new file mode 100644
index 000000000000..5d51680239c9
--- /dev/null
+++ b/app-admin/haskell-updater/haskell-updater-1.2.11.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CABAL_FEATURES="bin nocabaldep"
+inherit eutils haskell-cabal
+
+DESCRIPTION="Rebuild Haskell dependencies in Gentoo"
+HOMEPAGE="http://haskell.org/haskellwiki/Gentoo#haskell-updater"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=">=dev-lang/ghc-6.12.1"
+
+# Need a lower version for portage to get --keep-going
+RDEPEND="|| ( >=sys-apps/portage-2.1.6
+ sys-apps/pkgcore
+ sys-apps/paludis )"
+
+src_prepare() {
+ default
+
+ if use prefix; then
+ sed -i -e "s,/var/db/pkg,${EPREFIX}&,g" \
+ "${S}/Distribution/Gentoo/Packages.hs" || die
+
+ sed -i -e 's,"/","'"${EPREFIX}"'/",g' \
+ "${S}/Distribution/Gentoo/GHC.hs" || die
+ fi
+}
+
+src_configure() {
+ cabal_src_configure \
+ --bindir="${EPREFIX}/usr/sbin" \
+ --constraint="Cabal == $(cabal-version)"
+}
+
+src_install() {
+ cabal_src_install
+
+ dodoc TODO
+}