# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# ebuild generated by hackport 0.3.2.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite"
inherit haskell-cabal

DESCRIPTION="Encode unicode strings to ascii forms according to RFC 3492"
HOMEPAGE="https://github.com/litherum/punycode"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""

RESTRICT=test # runs slow, finds error.

RDEPEND="dev-haskell/cereal:=[profile?]
		dev-haskell/mtl:=[profile?]
		dev-haskell/text:=[profile?]
		>=dev-lang/ghc-6.10.4:="
DEPEND="${RDEPEND}
		>=dev-haskell/cabal-1.8"
		# test? ( dev-haskell/encoding
		# 	dev-haskell/hunit
		# 	dev-haskell/quickcheck
		# )"