diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-05-13 09:23:50 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2012-05-13 09:23:50 +0000 |
commit | bdc5322697d06766e7c78fac7b15f0412821d74a (patch) | |
tree | 3aff0288c84297048f1365fd480084f1a843f347 /dev-haskell/convertible | |
parent | Version bump. (diff) | |
download | gentoo-2-bdc5322697d06766e7c78fac7b15f0412821d74a.tar.gz gentoo-2-bdc5322697d06766e7c78fac7b15f0412821d74a.tar.bz2 gentoo-2-bdc5322697d06766e7c78fac7b15f0412821d74a.zip |
Version bump.
(Portage version: 2.2.0_alpha101_p6/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/convertible')
-rw-r--r-- | dev-haskell/convertible/ChangeLog | 10 | ||||
-rw-r--r-- | dev-haskell/convertible/convertible-1.0.11.1.ebuild | 50 |
2 files changed, 58 insertions, 2 deletions
diff --git a/dev-haskell/convertible/ChangeLog b/dev-haskell/convertible/ChangeLog index 00aa2e58b06d..e8d7e2d5da4d 100644 --- a/dev-haskell/convertible/ChangeLog +++ b/dev-haskell/convertible/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-haskell/convertible -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-haskell/convertible/ChangeLog,v 1.2 2011/08/01 21:05:21 slyfox Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/convertible/ChangeLog,v 1.3 2012/05/13 09:23:50 slyfox Exp $ + +*convertible-1.0.11.1 (13 May 2012) + + 13 May 2012; Sergei Trofimovich <slyfox@gentoo.org> + +convertible-1.0.11.1.ebuild: + Version bump. 01 Aug 2011; Sergei Trofimovich <slyfox@gentoo.org> convertible-1.0.10.0.ebuild, +files/convertible-1.0.10.0-time-1.2.patch: diff --git a/dev-haskell/convertible/convertible-1.0.11.1.ebuild b/dev-haskell/convertible/convertible-1.0.11.1.ebuild new file mode 100644 index 000000000000..4ede82b63a77 --- /dev/null +++ b/dev-haskell/convertible/convertible-1.0.11.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-haskell/convertible/convertible-1.0.11.1.ebuild,v 1.1 2012/05/13 09:23:50 slyfox Exp $ + +# ebuild generated by hackport 0.2.17.9999 + +EAPI=4 + +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="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-haskell/mtl[profile?] + >=dev-haskell/text-0.7[profile?] + >=dev-haskell/time-1.1.3[profile?] + >=dev-lang/ghc-6.8.2" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2 + test? ( dev-haskell/hunit + dev-haskell/quickcheck:2 + dev-haskell/testpack + ) + " + +src_configure() { + cabal_src_configure $(cabal_flag test buildtests) +} + +src_test() { + # default tests + haskell-cabal_src_test || die "cabal test failed" + + # 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" +} |