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/only/
Date: Tue, 04 Aug 2020 07:46:46
Message-Id: 1596527191.270c3a0b6e400e1e9693a719a1204b8d793fc768.slyfox@gentoo
1 commit: 270c3a0b6e400e1e9693a719a1204b8d793fc768
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 4 07:31:43 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 4 07:46:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=270c3a0b
7
8 dev-haskell/only: new package, a depend of cassava-0.5
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-haskell/only/Manifest | 1 +
14 dev-haskell/only/metadata.xml | 19 +++++++++++++++++++
15 dev-haskell/only/only-0.1.ebuild | 29 +++++++++++++++++++++++++++++
16 3 files changed, 49 insertions(+)
17
18 diff --git a/dev-haskell/only/Manifest b/dev-haskell/only/Manifest
19 new file mode 100644
20 index 00000000000..31b50286c75
21 --- /dev/null
22 +++ b/dev-haskell/only/Manifest
23 @@ -0,0 +1 @@
24 +DIST Only-0.1.tar.gz 1960 BLAKE2B b57f48e58287c43395383e355ba9b2d42df4c8b65edbc268e7203853083524dc88540d63a052968b9776dc94064006241188b23e840e1e36872389f9e463d1ff SHA512 6b64178a433079449b6840b03345e70f2c5c03e322184a60d3ff2f4d0ae48be87042ff32dc1cabe1911b6c43f7162090ee067aa582c6d5ab56610ca4897a33de
25
26 diff --git a/dev-haskell/only/metadata.xml b/dev-haskell/only/metadata.xml
27 new file mode 100644
28 index 00000000000..180274c7981
29 --- /dev/null
30 +++ b/dev-haskell/only/metadata.xml
31 @@ -0,0 +1,19 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="project">
36 + <email>haskell@g.o</email>
37 + <name>Gentoo Haskell</name>
38 + </maintainer>
39 + <longdescription>
40 + This package provides a canonical anonymous 1-tuple type missing
41 + from Haskell for attaching typeclass instances.
42 +
43 + NOTE: There is also the &lt;/package/OneTuple OneTuple package&gt; which
44 + by using a boxed @data@-type provides a 1-tuple type which has
45 + laziness properties which are more faithful to the ones of Haskell&#39;s
46 + native tuples; whereas the primary purpose of &#39;Only&#39; is to
47 + provide the traditionally so named type-wrapper for attaching typeclass
48 + instances.
49 + </longdescription>
50 +</pkgmetadata>
51
52 diff --git a/dev-haskell/only/only-0.1.ebuild b/dev-haskell/only/only-0.1.ebuild
53 new file mode 100644
54 index 00000000000..f83748215b3
55 --- /dev/null
56 +++ b/dev-haskell/only/only-0.1.ebuild
57 @@ -0,0 +1,29 @@
58 +# Copyright 1999-2020 Gentoo Authors
59 +# Distributed under the terms of the GNU General Public License v2
60 +
61 +EAPI=7
62 +
63 +# ebuild generated by hackport 0.5.3.9999
64 +
65 +CABAL_FEATURES="lib profile haddock hoogle hscolour"
66 +inherit haskell-cabal
67 +
68 +MY_PN="Only"
69 +MY_P="${MY_PN}-${PV}"
70 +
71 +DESCRIPTION="The 1-tuple type or single-value \"collection\""
72 +HOMEPAGE="http://hackage.haskell.org/package/Only"
73 +SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
74 +
75 +LICENSE="BSD"
76 +SLOT="0/${PV}"
77 +KEYWORDS="~amd64 ~x86"
78 +IUSE=""
79 +
80 +RDEPEND=">=dev-lang/ghc-7.4.1:=
81 +"
82 +DEPEND="${RDEPEND}
83 + >=dev-haskell/cabal-1.10
84 +"
85 +
86 +S="${WORKDIR}/${MY_P}"