Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/tiny_httpd/files/, dev-ml/tiny_httpd/
Date: Mon, 30 Jan 2023 19:42:00
Message-Id: 1675107697.0ded55eced0c1dbf01e558ffc6036d102a80bfdc.tupone@gentoo
1 commit: 0ded55eced0c1dbf01e558ffc6036d102a80bfdc
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 19:40:27 2023 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 19:41:37 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ded55ec
7
8 dev-ml/tiny_httpd: rm dev-ml/seq deps
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11
12 dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch | 11 +++++++++++
13 .../{tiny_httpd-0.12.ebuild => tiny_httpd-0.12-r1.ebuild} | 7 ++++---
14 2 files changed, 15 insertions(+), 3 deletions(-)
15
16 diff --git a/dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch b/dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch
17 new file mode 100644
18 index 000000000000..b35ba64f8d72
19 --- /dev/null
20 +++ b/dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch
21 @@ -0,0 +1,11 @@
22 +--- a/src/dune 2023-01-30 20:28:23.578884847 +0100
23 ++++ b/src/dune 2023-01-30 20:28:33.523713488 +0100
24 +@@ -2,7 +2,7 @@
25 + (library
26 + (name tiny_httpd)
27 + (public_name tiny_httpd)
28 +- (libraries threads seq)
29 ++ (libraries threads)
30 + (flags :standard -safe-string -warn-error -a+8)
31 + (wrapped false))
32 +
33
34 diff --git a/dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild b/dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
35 similarity index 89%
36 rename from dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild
37 rename to dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
38 index 890d8831cf38..957cfe61d316 100644
39 --- a/dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild
40 +++ b/dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
41 @@ -1,4 +1,4 @@
42 -# Copyright 1999-2022 Gentoo Authors
43 +# Copyright 1999-2023 Gentoo Authors
44 # Distributed under the terms of the GNU General Public License v2
45
46 EAPI=8
47 @@ -18,9 +18,8 @@ KEYWORDS="~amd64"
48 IUSE="camlzip ocamlopt test"
49
50 RDEPEND="
51 + >=dev-lang/ocaml-4.08
52 dev-ml/result:=
53 - dev-ml/seq:=
54 -
55 camlzip? ( >=dev-ml/camlzip-1.06:= )
56 "
57 DEPEND="
58 @@ -37,6 +36,8 @@ DEPEND="
59 RESTRICT="!test? ( test )"
60 REQUIRED_USE="test? ( camlzip )"
61
62 +PATCHES=( "${FILESDIR}"/${P}-noseq.patch )
63 +
64 src_compile() {
65 local pkgs="tiny_httpd"
66 use camlzip && pkgs="${pkgs},tiny_httpd_camlzip"