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/generics-sop/
Date: Thu, 16 Feb 2017 10:22:17
Message-Id: 1487240515.a67a929265e728f8144c04ec3a0e2bf5916ddc47.slyfox@gentoo
1 commit: a67a929265e728f8144c04ec3a0e2bf5916ddc47
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 16 08:38:38 2017 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 16 10:21:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a67a9292
7
8 dev-haskell/generics-sop: new package, a depend of dev-haskell/persistent-2.6
9
10 Generic Programming using True Sums of Products
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 dev-haskell/generics-sop/Manifest | 1 +
15 .../generics-sop/generics-sop-0.2.4.0.ebuild | 26 +++++++++++++++
16 dev-haskell/generics-sop/metadata.xml | 37 ++++++++++++++++++++++
17 3 files changed, 64 insertions(+)
18
19 diff --git a/dev-haskell/generics-sop/Manifest b/dev-haskell/generics-sop/Manifest
20 new file mode 100644
21 index 0000000000..c04bc56dff
22 --- /dev/null
23 +++ b/dev-haskell/generics-sop/Manifest
24 @@ -0,0 +1 @@
25 +DIST generics-sop-0.2.4.0.tar.gz 32986 SHA256 481f73f122970efc24fe9dea71077e265d260834d975dd41395671d9a86a1863 SHA512 ce0d92214e622c58febced5684ba92b117e413d5718c6fdea1471f0fc5ea48ea53b212a536618086228542985f304dc4434c75c6ab919a72e6f49ccce342d866 WHIRLPOOL 8ee0469f5a9685b904bd7d86a8949cf3f527c8f0d207632b796f215499d9864fea3766e185536109dbf722f6395c4bed9e49e66a695dd748afb19510dbc04012
26
27 diff --git a/dev-haskell/generics-sop/generics-sop-0.2.4.0.ebuild b/dev-haskell/generics-sop/generics-sop-0.2.4.0.ebuild
28 new file mode 100644
29 index 0000000000..61f9a0a236
30 --- /dev/null
31 +++ b/dev-haskell/generics-sop/generics-sop-0.2.4.0.ebuild
32 @@ -0,0 +1,26 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +# ebuild generated by hackport 0.5.1.9999
40 +
41 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
42 +inherit haskell-cabal
43 +
44 +DESCRIPTION="Generic Programming using True Sums of Products"
45 +HOMEPAGE="http://hackage.haskell.org/package/generics-sop"
46 +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
47 +
48 +LICENSE="BSD"
49 +SLOT="0/${PV}"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE=""
52 +
53 +RDEPEND=">=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-0.6:=[profile?]
54 + >=dev-lang/ghc-7.8.2:=
55 +"
56 +DEPEND="${RDEPEND}
57 + >=dev-haskell/cabal-1.18.1.3
58 +"
59
60 diff --git a/dev-haskell/generics-sop/metadata.xml b/dev-haskell/generics-sop/metadata.xml
61 new file mode 100644
62 index 0000000000..af041149fe
63 --- /dev/null
64 +++ b/dev-haskell/generics-sop/metadata.xml
65 @@ -0,0 +1,37 @@
66 +<?xml version="1.0" encoding="UTF-8"?>
67 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
68 +<pkgmetadata>
69 + <maintainer type="project">
70 + <email>haskell@g.o</email>
71 + <name>Gentoo Haskell</name>
72 + </maintainer>
73 + <longdescription>
74 + A library to support the definition of generic functions.
75 + Datatypes are viewed in a uniform, structured way:
76 + the choice between constructors is represented using an n-ary
77 + sum, and the arguments of each constructor are represented using
78 + an n-ary product.
79 +
80 + The module "Generics.SOP" is the main module of this library and contains
81 + more detailed documentation.
82 +
83 + Examples of using this library are provided by the following
84 + packages:
85 +
86 + * @&lt;https://hackage.haskell.org/package/basic-sop basic-sop&gt;@ basic examples,
87 +
88 + * @&lt;https://hackage.haskell.org/package/pretty-sop pretty-sop&gt;@ generic pretty printing,
89 +
90 + * @&lt;https://hackage.haskell.org/package/lens-sop lens-sop&gt;@ generically computed lenses,
91 +
92 + * @&lt;https://hackage.haskell.org/package/json-sop json-sop&gt;@ generic JSON conversions.
93 +
94 + A detailed description of the ideas behind this library is provided by
95 + the paper:
96 +
97 + * Edsko de Vries and Andres Löh.
98 + &lt;http://www.andres-loeh.de/TrueSumsOfProducts True Sums of Products&gt;.
99 + Workshop on Generic Programming (WGP) 2014.
100 +
101 + </longdescription>
102 +</pkgmetadata>