Permalink
Browse files

dev-haskell/stm-split: allow stm-2.4

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
trofi committed Dec 3, 2012
1 parent fd4a42a commit 008148664015de4592948bd484b15405b295f062
Showing with 12 additions and 7 deletions.
  1. +12 −7 dev-haskell/stm-split/{stm-split-0.0.ebuild → stm-split-0.0-r1.ebuild}
@@ -2,24 +2,29 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
-# ebuild generated by hackport 0.2.18.9999
+# ebuild generated by hackport 0.3.1.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
DESCRIPTION="TMVars, TVars and TChans with distinguished input and output side"
HOMEPAGE="http://hackage.haskell.org/package/stm-split"
-SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
-SLOT="0"
+SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=dev-haskell/stm-2.2[profile?]
- <dev-haskell/stm-2.4[profile?]
- >=dev-lang/ghc-6.10.1"
+RDEPEND=">=dev-haskell/stm-2.2:=[profile?]
+ <dev-haskell/stm-2.5:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"
+
+src_prepare() {
+ cabal_chdeps \
+ 'stm >=2.2 && <2.4' 'stm >=2.2 && <2.5'
+}

0 comments on commit 0081486

Please sign in to comment.