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/hit/
Date: Sun, 28 May 2017 17:53:40
Message-Id: 1495993977.66e7e9e6c47c23f0b73d93b18b940fae596946f6.slyfox@gentoo
1 commit: 66e7e9e6c47c23f0b73d93b18b940fae596946f6
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 28 12:49:10 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun May 28 17:52:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66e7e9e6
7
8 dev-haskell/hit: new package, a depend of dev-haskell/stack
9
10 Git operations in haskell
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.2
13
14 dev-haskell/hit/Manifest | 1 +
15 dev-haskell/hit/hit-0.6.3.ebuild | 50 ++++++++++++++++++++++++++++++++++++++++
16 dev-haskell/hit/metadata.xml | 22 ++++++++++++++++++
17 3 files changed, 73 insertions(+)
18
19 diff --git a/dev-haskell/hit/Manifest b/dev-haskell/hit/Manifest
20 new file mode 100644
21 index 00000000000..be9a68e6116
22 --- /dev/null
23 +++ b/dev-haskell/hit/Manifest
24 @@ -0,0 +1 @@
25 +DIST hit-0.6.3.tar.gz 38690 SHA256 db86b3712029a4e40d1306dd6cc9ca2c9f4c77fe65a2b74106f1cbd2de26e471 SHA512 82ccfeb77a439caa1792f1ae29535636764be9e6e94f75973f37a86db6627a492e57da835954384ef8468799de9f0897e20905f65dad256fe3547a4248d5fffc WHIRLPOOL e90e0d842666b027be5c3996a233e66385c9cb62d694a8dd923ca20cfadeedabc892dc25c5a6367310cf9d3892e731563234fe49330e48cd1a46346095388c0c
26
27 diff --git a/dev-haskell/hit/hit-0.6.3.ebuild b/dev-haskell/hit/hit-0.6.3.ebuild
28 new file mode 100644
29 index 00000000000..46610175734
30 --- /dev/null
31 +++ b/dev-haskell/hit/hit-0.6.3.ebuild
32 @@ -0,0 +1,50 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +# ebuild generated by hackport 0.5.3.9999
39 +
40 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
41 +inherit haskell-cabal
42 +
43 +DESCRIPTION="Git operations in haskell"
44 +HOMEPAGE="https://github.com/vincenthz/hit"
45 +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
46 +
47 +LICENSE="BSD"
48 +SLOT="0/${PV}"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="debug executable"
51 +
52 +RDEPEND=">=dev-haskell/attoparsec-0.10.1:=[profile?]
53 + dev-haskell/byteable:=[profile?]
54 + dev-haskell/cryptohash:=[profile?]
55 + >=dev-haskell/hourglass-0.2:=[profile?]
56 + dev-haskell/mtl:=[profile?]
57 + >=dev-haskell/parsec-3:=[profile?]
58 + dev-haskell/patience:=[profile?]
59 + dev-haskell/random:=[profile?]
60 + dev-haskell/system-fileio:=[profile?]
61 + dev-haskell/system-filepath:=[profile?]
62 + dev-haskell/unix-compat:=[profile?]
63 + dev-haskell/utf8-string:=[profile?]
64 + dev-haskell/vector:=[profile?]
65 + dev-haskell/zlib:=[profile?]
66 + >=dev-haskell/zlib-bindings-0.1:=[profile?] <dev-haskell/zlib-bindings-0.2:=[profile?]
67 + >=dev-lang/ghc-7.4.1:=
68 + executable? ( >=dev-haskell/hashable-1.2:=[profile?]
69 + dev-haskell/hashtables:=[profile?] )
70 +"
71 +DEPEND="${RDEPEND}
72 + >=dev-haskell/cabal-1.8
73 + test? ( >=dev-haskell/bytedump-1.0
74 + dev-haskell/tasty
75 + dev-haskell/tasty-quickcheck )
76 +"
77 +
78 +src_configure() {
79 + haskell-cabal_src_configure \
80 + $(cabal_flag debug debug) \
81 + $(cabal_flag executable executable)
82 +}
83
84 diff --git a/dev-haskell/hit/metadata.xml b/dev-haskell/hit/metadata.xml
85 new file mode 100644
86 index 00000000000..3f0d2b779d9
87 --- /dev/null
88 +++ b/dev-haskell/hit/metadata.xml
89 @@ -0,0 +1,22 @@
90 +<?xml version="1.0" encoding="UTF-8"?>
91 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
92 +<pkgmetadata>
93 + <maintainer type="project">
94 + <email>haskell@g.o</email>
95 + <name>Gentoo Haskell</name>
96 + </maintainer>
97 + <longdescription>
98 +
99 + An haskell implementation of git storage operations, allowing users
100 + to manipulate git repositories (read and write).
101 +
102 + This implementation is fully interoperable with the main C implementation.
103 +
104 + This is stricly only manipulating the git store (what's inside the .git directory),
105 + and doesn't do anything with the index or your working directory files.
106 +
107 + </longdescription>
108 + <use>
109 + <flag name="executable">Build the executable</flag>
110 + </use>
111 +</pkgmetadata>