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/uri-bytestring/
Date: Thu, 16 Feb 2017 10:22:43
Message-Id: 1487240516.7de86b4fccf96da4bd4536bd50a2a8bf20e85818.slyfox@gentoo
1 commit: 7de86b4fccf96da4bd4536bd50a2a8bf20e85818
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 16 08:39:21 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 16 10:21:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7de86b4f
7
8 dev-haskell/uri-bytestring: new package, a depend of dev-haskell/persistent-2.6
9
10 Haskell URI parsing as ByteStrings
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 dev-haskell/uri-bytestring/Manifest | 1 +
15 dev-haskell/uri-bytestring/metadata.xml | 11 ++++++
16 .../uri-bytestring/uri-bytestring-0.2.2.1.ebuild | 42 ++++++++++++++++++++++
17 3 files changed, 54 insertions(+)
18
19 diff --git a/dev-haskell/uri-bytestring/Manifest b/dev-haskell/uri-bytestring/Manifest
20 new file mode 100644
21 index 0000000000..c7a727624c
22 --- /dev/null
23 +++ b/dev-haskell/uri-bytestring/Manifest
24 @@ -0,0 +1 @@
25 +DIST uri-bytestring-0.2.2.1.tar.gz 20755 SHA256 9185e8f05d5c5154348c0d57d0df2b92ba6d09153fbdebded995b2f54e71c67e SHA512 d540722657b80039de25a6893067ea8fa50228420725ea22b95a6b7fb3e99803e41b18006b307973fd38fe5ba58d611d3115d1b677e3a36c38168b92289fee97 WHIRLPOOL 6067dd4e279839e95cb7a972133590612ef64cfeee100b6b339fba7e75779c06d4e8c6edf099189f3014abbfb1d6bf522a2bbd6fbec61477fcca7e372f74c822
26
27 diff --git a/dev-haskell/uri-bytestring/metadata.xml b/dev-haskell/uri-bytestring/metadata.xml
28 new file mode 100644
29 index 0000000000..e4b66eee5a
30 --- /dev/null
31 +++ b/dev-haskell/uri-bytestring/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 + uri-bytestring aims to be an RFC3986 compliant URI parser that uses efficient ByteStrings for parsing and representing the URI data.
42 + </longdescription>
43 +</pkgmetadata>
44
45 diff --git a/dev-haskell/uri-bytestring/uri-bytestring-0.2.2.1.ebuild b/dev-haskell/uri-bytestring/uri-bytestring-0.2.2.1.ebuild
46 new file mode 100644
47 index 0000000000..16679048fc
48 --- /dev/null
49 +++ b/dev-haskell/uri-bytestring/uri-bytestring-0.2.2.1.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 +# $Id$
54 +
55 +EAPI=6
56 +
57 +# ebuild generated by hackport 0.5.1.9999
58 +#hackport: flags: -lib-werror
59 +
60 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
61 +inherit haskell-cabal
62 +
63 +DESCRIPTION="Haskell URI parsing as ByteStrings"
64 +HOMEPAGE="https://github.com/Soostone/uri-bytestring"
65 +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
66 +
67 +LICENSE="BSD"
68 +SLOT="0/${PV}"
69 +KEYWORDS="~amd64 ~x86"
70 +IUSE=""
71 +
72 +RDEPEND=">=dev-haskell/attoparsec-0.12:=[profile?] <dev-haskell/attoparsec-0.14:=[profile?]
73 + >=dev-haskell/blaze-builder-0.3.0.0:=[profile?] <dev-haskell/blaze-builder-0.5:=[profile?]
74 + >=dev-lang/ghc-7.6.1:=
75 +"
76 +DEPEND="${RDEPEND}
77 + >=dev-haskell/cabal-1.16.0
78 + test? ( >=dev-haskell/generics-sop-0.2
79 + dev-haskell/hunit
80 + dev-haskell/lens-simple
81 + dev-haskell/quickcheck
82 + dev-haskell/quickcheck-instances
83 + dev-haskell/semigroups
84 + dev-haskell/tasty
85 + dev-haskell/tasty-hunit
86 + dev-haskell/tasty-quickcheck )
87 +"
88 +
89 +src_configure() {
90 + haskell-cabal_src_configure \
91 + --flag=-lib-werror
92 +}