Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/path-io/
Date: Sun, 28 May 2017 17:53:46
Message-Id: 1495993981.678edbfdb8164d64bf5384c00e8d650026988075.slyfox@gentoo
1 commit: 678edbfdb8164d64bf5384c00e8d650026988075
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 28 12:55:18 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun May 28 17:53:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678edbfd
7
8 dev-haskell/path-io: new package, a depend of dev-haskell/stack
9
10 Interface to 'directory' package for users of 'path'
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.2
13
14 dev-haskell/path-io/Manifest | 1 +
15 dev-haskell/path-io/metadata.xml | 11 +++++++++
16 dev-haskell/path-io/path-io-1.2.2.ebuild | 42 ++++++++++++++++++++++++++++++++
17 3 files changed, 54 insertions(+)
18
19 diff --git a/dev-haskell/path-io/Manifest b/dev-haskell/path-io/Manifest
20 new file mode 100644
21 index 00000000000..7a2ed45c118
22 --- /dev/null
23 +++ b/dev-haskell/path-io/Manifest
24 @@ -0,0 +1 @@
25 +DIST path-io-1.2.2.tar.gz 17818 SHA256 72255f9d014285c87dd4c537f445a5448b2b64e81c4ee4759464b4b0e401fe46 SHA512 910af5fd9345daa815235027992e6ab4af3784da7afa314644abaf8acb5bee59f3f1444449ce55e88961c86031cf4537c855e13ba2e777348d9fe4c0104fb6d1 WHIRLPOOL f6f62b8168d14f5ddaac4752557dda517e7224d76cfae0147e083403fff00453f3b95cdac060dee9e77c95b4f24d532a3bdce156f49cf38b3054931682ecd8c9
26
27 diff --git a/dev-haskell/path-io/metadata.xml b/dev-haskell/path-io/metadata.xml
28 new file mode 100644
29 index 00000000000..f7fb2720334
30 --- /dev/null
31 +++ b/dev-haskell/path-io/metadata.xml
32 @@ -0,0 +1,11 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="project">
37 + <email>haskell@g.o</email>
38 + <name>Gentoo Haskell</name>
39 + </maintainer>
40 + <longdescription>
41 + Interface to directory package for users of path.
42 + </longdescription>
43 +</pkgmetadata>
44
45 diff --git a/dev-haskell/path-io/path-io-1.2.2.ebuild b/dev-haskell/path-io/path-io-1.2.2.ebuild
46 new file mode 100644
47 index 00000000000..54a64dff47e
48 --- /dev/null
49 +++ b/dev-haskell/path-io/path-io-1.2.2.ebuild
50 @@ -0,0 +1,42 @@
51 +# Copyright 1999-2017 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=6
55 +
56 +# ebuild generated by hackport 0.5.1.9999
57 +#hackport: flags: -dev
58 +
59 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
60 +inherit haskell-cabal
61 +
62 +DESCRIPTION="Interface to 'directory' package for users of 'path'"
63 +HOMEPAGE="https://github.com/mrkkrp/path-io"
64 +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
65 +
66 +LICENSE="BSD"
67 +SLOT="0/${PV}"
68 +KEYWORDS="~amd64 ~x86"
69 +IUSE=""
70 +
71 +RDEPEND=">=dev-haskell/exceptions-0.8:=[profile?] <dev-haskell/exceptions-0.9:=[profile?]
72 + >=dev-haskell/path-0.5:=[profile?] <dev-haskell/path-0.6:=[profile?]
73 + >=dev-haskell/temporary-1.1:=[profile?] <dev-haskell/temporary-1.3:=[profile?]
74 + dev-haskell/unix-compat:=[profile?]
75 + >=dev-lang/ghc-7.10.1:=
76 +"
77 +DEPEND="${RDEPEND}
78 + >=dev-haskell/cabal-1.22.2.0
79 + test? ( >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3.0 )
80 +"
81 +
82 +src_prepare() {
83 + default
84 +
85 + cabal_chdeps \
86 + 'time >= 1.4 && < 1.7' 'time >= 1.4'
87 +}
88 +
89 +src_configure() {
90 + haskell-cabal_src_configure \
91 + --flag=-dev
92 +}