summaryrefslogtreecommitdiff
blob: 6157158555f4f4eaa626c0b87cdf00d162672897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

CABAL_FEATURES="test-suite"
inherit haskell-cabal

DESCRIPTION="Basic syntax and deliverability checks on email addresses"
HOMEPAGE="https://michael.orlitzky.com/code/email-validator.xhtml"
SRC_URI="https://michael.orlitzky.com/code/releases/${P}.tar.gz"

LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~amd64"

RESTRICT=test # Ambiguous module name ‘Network.DNS’: dns-4.0.1 resolv-0.1.2.0

RDEPEND=">=dev-haskell/cmdargs-0.10:=
	>=dev-haskell/dns-2:=
	>=dev-haskell/email-validate-2:=
	>=dev-haskell/hunit-1.2:=
	>=dev-haskell/parallel-io-0.3:=
	>=dev-haskell/pcre-light-0.4:=
	>=dev-haskell/tasty-0.8:=
	>=dev-haskell/tasty-hunit-0.8:=
	>=dev-lang/ghc-7.6.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.16.0
	test? ( >=dev-haskell/doctest-0.9 )
"

src_install() {
	haskell-cabal_src_install
	doman "${S}/doc/man1/${PN}.1"
}