summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2014-07-03 11:23:57 +0000
committerMark Wright <gienah@gentoo.org>2014-07-03 11:23:57 +0000
commit0653b3ed9fef109845583c1616d29eecee9b334f (patch)
treec9f44673b51bf7d2a061d35d93affe62730a9498 /dev-haskell/convertible
parentPatch testpack-2.1.2.1-r2 for quickcheck-2.7 (diff)
downloadgentoo-2-0653b3ed9fef109845583c1616d29eecee9b334f.tar.gz
gentoo-2-0653b3ed9fef109845583c1616d29eecee9b334f.tar.bz2
gentoo-2-0653b3ed9fef109845583c1616d29eecee9b334f.zip
Bump convertible to 1.1.0.0-r1
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/convertible')
-rw-r--r--dev-haskell/convertible/ChangeLog9
-rw-r--r--dev-haskell/convertible/convertible-1.1.0.0-r1.ebuild50
2 files changed, 57 insertions, 2 deletions
diff --git a/dev-haskell/convertible/ChangeLog b/dev-haskell/convertible/ChangeLog
index 8755811dd6be..67a6ff3c2157 100644
--- a/dev-haskell/convertible/ChangeLog
+++ b/dev-haskell/convertible/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/convertible
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/convertible/ChangeLog,v 1.5 2012/12/06 22:54:58 slyfox Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/convertible/ChangeLog,v 1.6 2014/07/03 11:23:57 gienah Exp $
+
+*convertible-1.1.0.0-r1 (03 Jul 2014)
+
+ 03 Jul 2014; Mark Wright <gienah@gentoo.org> +convertible-1.1.0.0-r1.ebuild:
+ Bump convertible to 1.1.0.0-r1
06 Dec 2012; Sergei Trofimovich <slyfox@gentoo.org>
convertible-1.0.10.0.ebuild, convertible-1.0.11.1.ebuild:
diff --git a/dev-haskell/convertible/convertible-1.1.0.0-r1.ebuild b/dev-haskell/convertible/convertible-1.1.0.0-r1.ebuild
new file mode 100644
index 000000000000..89d1204b7e77
--- /dev/null
+++ b/dev-haskell/convertible/convertible-1.1.0.0-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/convertible/convertible-1.1.0.0-r1.ebuild,v 1.1 2014/07/03 11:23:57 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Typeclasses and instances for converting between types"
+HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/convertible"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-haskell/mtl:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-lang/ghc-6.12.1:=
+ test? ( dev-haskell/hunit:=[profile?]
+ >=dev-haskell/quickcheck-2.0:2=[profile?]
+ >=dev-haskell/testpack-2.0:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8.0.2
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag test buildtests)
+}
+
+src_test() {
+ # default tests
+ haskell-cabal_src_test
+
+ # built custom tests
+ "${S}/dist/build/runtests/runtests" || die "unit tests failed"
+}
+
+src_install() {
+ cabal_src_install
+
+ # if tests were enabled, make sure the unit test driver is deleted
+ rm -f "${ED}/usr/bin/runtests"
+}