Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/missingh/
Date: Sat, 30 Jul 2022 05:59:57
Message-Id: 1659160736.8da95e7ef4b28a0f58f067c0187ad6ec10cbfdbd.sam@gentoo
1 commit: 8da95e7ef4b28a0f58f067c0187ad6ec10cbfdbd
2 Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Sat Jul 30 02:17:12 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 05:58:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8da95e7e
7
8 dev-haskell/missingh: revbump 1.4.3.0-r1
9
10 https://github.com/gentoo-haskell/gentoo-haskell/commit/e1c12df51a75b53806fe1f35d95fdc43c8289138
11 https://github.com/gentoo-haskell/gentoo-haskell/commit/3be430feb168f54686a5018d1017d945221b5f1f
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-haskell/missingh/metadata.xml | 18 ++++++++---------
15 ...h-1.4.3.0.ebuild => missingh-1.4.3.0-r1.ebuild} | 23 +++++++++++++---------
16 2 files changed, 23 insertions(+), 18 deletions(-)
17
18 diff --git a/dev-haskell/missingh/metadata.xml b/dev-haskell/missingh/metadata.xml
19 index 2139218ddd52..1bea67aa73fb 100644
20 --- a/dev-haskell/missingh/metadata.xml
21 +++ b/dev-haskell/missingh/metadata.xml
22 @@ -1,13 +1,13 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
25 <pkgmetadata>
26 - <maintainer type="project">
27 - <email>haskell@g.o</email>
28 - </maintainer>
29 - <use>
30 - <flag name="network-3">Use network-3</flag>
31 - </use>
32 - <upstream>
33 - <remote-id type="github">jgoerzen/missingh</remote-id>
34 - </upstream>
35 + <maintainer type="project">
36 + <email>haskell@g.o</email>
37 + <name>Gentoo Haskell</name>
38 + </maintainer>
39 + <longdescription>
40 + MissingH is a library of all sorts of utility functions for
41 + Haskell programmers. It is written in pure Haskell and thus should
42 + be extremely portable and easy to use.
43 + </longdescription>
44 </pkgmetadata>
45
46 diff --git a/dev-haskell/missingh/missingh-1.4.3.0.ebuild b/dev-haskell/missingh/missingh-1.4.3.0-r1.ebuild
47 similarity index 70%
48 rename from dev-haskell/missingh/missingh-1.4.3.0.ebuild
49 rename to dev-haskell/missingh/missingh-1.4.3.0-r1.ebuild
50 index 102bc03f9c1d..a307a2039f37 100644
51 --- a/dev-haskell/missingh/missingh-1.4.3.0.ebuild
52 +++ b/dev-haskell/missingh/missingh-1.4.3.0-r1.ebuild
53 @@ -1,10 +1,10 @@
54 -# Copyright 1999-2020 Gentoo Authors
55 +# Copyright 1999-2022 Gentoo Authors
56 # Distributed under the terms of the GNU General Public License v2
57
58 EAPI=7
59
60 # ebuild generated by hackport 0.6.4.9999
61 -#hackport: flags: network--ge-3-0-0:network-3
62 +#hackport: flags: +network--ge-3-0-0
63
64 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
65 inherit haskell-cabal
66 @@ -18,8 +18,7 @@ SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
67
68 LICENSE="BSD"
69 SLOT="0/${PV}"
70 -KEYWORDS="~amd64 ~x86 ~amd64-linux"
71 -IUSE="+network-3"
72 +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux"
73
74 RESTRICT=test # tests are present for removed modules
75
76 @@ -28,12 +27,11 @@ RDEPEND=">=dev-haskell/hslogger-1.3.0.0:=[profile?] <dev-haskell/hslogger-1.4:=[
77 >=dev-haskell/old-locale-1.0:=[profile?] <dev-haskell/old-locale-1.1:=[profile?]
78 >=dev-haskell/old-time-1.1:=[profile?] <dev-haskell/old-time-1.2:=[profile?]
79 >=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
80 - >=dev-haskell/random-1.0.1.1:=[profile?] <dev-haskell/random-1.2:=[profile?]
81 + dev-haskell/random
82 >=dev-haskell/regex-compat-0.95.1:=[profile?] <dev-haskell/regex-compat-0.96:=[profile?]
83 >=dev-lang/ghc-7.4.1:=
84 - network-3? ( >=dev-haskell/network-3.0:=[profile?] <dev-haskell/network-3.2:=[profile?]
85 - >=dev-haskell/network-bsd-2.8.1:=[profile?] <dev-haskell/network-bsd-2.9:=[profile?] )
86 - !network-3? ( >=dev-haskell/network-2.6.3.1:=[profile?] <dev-haskell/network-2.9:=[profile?] )
87 + >=dev-haskell/network-3.0:=[profile?] <dev-haskell/network-3.2:=[profile?]
88 + >=dev-haskell/network-bsd-2.8.1:=[profile?] <dev-haskell/network-bsd-2.9:=[profile?]
89 "
90 DEPEND="${RDEPEND}
91 >=dev-haskell/cabal-1.12
92 @@ -43,7 +41,14 @@ DEPEND="${RDEPEND}
93
94 S="${WORKDIR}/${MY_P}"
95
96 +src_prepare() {
97 + default
98 + cabal_chdeps \
99 + 'base >= 4.5.0.0 && < 4.15' 'base >= 4.5.0.0' \
100 + 'random >= 1.0.1.1 && < 1.2' 'random'
101 +}
102 +
103 src_configure() {
104 haskell-cabal_src_configure \
105 - $(cabal_flag network-3 network--ge-3_0_0)
106 + --flag=network--ge-3_0_0
107 }