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/binary-instances/
Date: Tue, 04 Aug 2020 06:39:01
Message-Id: 1596523134.42d19b038a46781ae8eb11bd7ae13e8120d199c4.slyfox@gentoo
1 commit: 42d19b038a46781ae8eb11bd7ae13e8120d199c4
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 4 06:38:15 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 4 06:38:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d19b03
7
8 dev-haskell/binary-instances: new package, a depend of binary-tagged
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/binary-instances/Manifest | 1 +
14 .../binary-instances-1.0.0.1.ebuild | 48 ++++++++++++++++++++++
15 dev-haskell/binary-instances/metadata.xml | 13 ++++++
16 3 files changed, 62 insertions(+)
17
18 diff --git a/dev-haskell/binary-instances/Manifest b/dev-haskell/binary-instances/Manifest
19 new file mode 100644
20 index 00000000000..d4c03f59e1b
21 --- /dev/null
22 +++ b/dev-haskell/binary-instances/Manifest
23 @@ -0,0 +1 @@
24 +DIST binary-instances-1.0.0.1.tar.gz 5025 BLAKE2B 403f6bc8c55bec745b5284b8ebd1ddb429b277b1acbd9081207a40f07eefdc5533cf612fb74bbd7a741378051e06cb6d1d85413572e8e12a42e244e17a42649e SHA512 8933f2eab4a23460bd9be7547f229416adccb3e82ec452f75567fa5b5cb6babe4b7f243fbf3799099647bc4f890eaa1acc962128caa8caafc3ff724867585e3d
25
26 diff --git a/dev-haskell/binary-instances/binary-instances-1.0.0.1.ebuild b/dev-haskell/binary-instances/binary-instances-1.0.0.1.ebuild
27 new file mode 100644
28 index 00000000000..8cafa453115
29 --- /dev/null
30 +++ b/dev-haskell/binary-instances/binary-instances-1.0.0.1.ebuild
31 @@ -0,0 +1,48 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +# ebuild generated by hackport 0.6.4
38 +
39 +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
40 +inherit haskell-cabal
41 +
42 +DESCRIPTION="Orphan instances for binary"
43 +HOMEPAGE="https://github.com/phadej/binary-instances#readme"
44 +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
45 +
46 +LICENSE="BSD"
47 +SLOT="0/${PV}"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE=""
50 +
51 +RDEPEND=">=dev-haskell/aeson-0.7.0.6:=[profile?] <dev-haskell/aeson-1.5:=[profile?]
52 + >=dev-haskell/binary-orphans-1.0.1:=[profile?] <dev-haskell/binary-orphans-1.1:=[profile?]
53 + >=dev-haskell/case-insensitive-1.2.0.4:=[profile?] <dev-haskell/case-insensitive-1.2.2:=[profile?]
54 + >=dev-haskell/hashable-1.2.3.3:=[profile?] <dev-haskell/hashable-1.4:=[profile?]
55 + >=dev-haskell/scientific-0.3.3.8:=[profile?] <dev-haskell/scientific-0.4:=[profile?]
56 + >=dev-haskell/tagged-0.7.3:=[profile?] <dev-haskell/tagged-0.8.7:=[profile?]
57 + >=dev-haskell/text-1.2.0.6:=[profile?] <dev-haskell/text-1.3:=[profile?]
58 + >=dev-haskell/text-binary-0.2.1.1:=[profile?] <dev-haskell/text-binary-0.3:=[profile?]
59 + >=dev-haskell/time-compat-1.9.2.2:=[profile?] <dev-haskell/time-compat-1.10:=[profile?]
60 + >=dev-haskell/unordered-containers-0.2.5.1:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
61 + >=dev-haskell/vector-0.10.12.3:=[profile?] <dev-haskell/vector-0.13:=[profile?]
62 + >=dev-haskell/vector-binary-instances-0.2.1.0:=[profile?] <dev-haskell/vector-binary-instances-0.3:=[profile?]
63 + >=dev-lang/ghc-7.6.2:=
64 +"
65 +DEPEND="${RDEPEND}
66 + >=dev-haskell/cabal-1.16.0
67 + test? ( >=dev-haskell/quickcheck-2.13.1 <dev-haskell/quickcheck-2.14
68 + >=dev-haskell/quickcheck-instances-0.3.21 <dev-haskell/quickcheck-instances-0.4
69 + >=dev-haskell/tasty-0.10.1.2 <dev-haskell/tasty-1.3
70 + >=dev-haskell/tasty-quickcheck-0.8.3.2 <dev-haskell/tasty-quickcheck-0.11 )
71 +"
72 +
73 +src_prepare() {
74 + default
75 +
76 + cabal_chdeps \
77 + 'base >=4.6.0.1 && <4.15' 'base >=4.6.0.1' && <5 \
78 + 'binary >=0.5.1.1 && <0.8.9' 'binary >=0.5.1.1'
79 +}
80
81 diff --git a/dev-haskell/binary-instances/metadata.xml b/dev-haskell/binary-instances/metadata.xml
82 new file mode 100644
83 index 00000000000..e0ce1f41ebf
84 --- /dev/null
85 +++ b/dev-haskell/binary-instances/metadata.xml
86 @@ -0,0 +1,13 @@
87 +<?xml version="1.0" encoding="UTF-8"?>
88 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
89 +<pkgmetadata>
90 + <maintainer type="project">
91 + <email>haskell@g.o</email>
92 + <name>Gentoo Haskell</name>
93 + </maintainer>
94 + <use>
95 + </use>
96 + <longdescription>
97 + `binary-orphans` defines orphan instances for types in some popular packages.
98 + </longdescription>
99 +</pkgmetadata>