public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ml/tiny_httpd/files/, dev-ml/tiny_httpd/
@ 2023-01-30 19:41 Alfredo Tupone
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2023-01-30 19:41 UTC (permalink / raw
  To: gentoo-commits

commit:     0ded55eced0c1dbf01e558ffc6036d102a80bfdc
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 19:40:27 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 19:41:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ded55ec

dev-ml/tiny_httpd: rm dev-ml/seq deps

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch           | 11 +++++++++++
 .../{tiny_httpd-0.12.ebuild => tiny_httpd-0.12-r1.ebuild}     |  7 ++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

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
new file mode 100644
index 000000000000..b35ba64f8d72
--- /dev/null
+++ b/dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch
@@ -0,0 +1,11 @@
+--- a/src/dune	2023-01-30 20:28:23.578884847 +0100
++++ b/src/dune	2023-01-30 20:28:33.523713488 +0100
+@@ -2,7 +2,7 @@
+ (library
+   (name tiny_httpd)
+   (public_name tiny_httpd)
+-  (libraries threads seq)
++  (libraries threads)
+   (flags :standard -safe-string -warn-error -a+8)
+   (wrapped false))
+ 

diff --git a/dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild b/dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
similarity index 89%
rename from dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild
rename to dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
index 890d8831cf38..957cfe61d316 100644
--- a/dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild
+++ b/dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,9 +18,8 @@ KEYWORDS="~amd64"
 IUSE="camlzip ocamlopt test"
 
 RDEPEND="
+	>=dev-lang/ocaml-4.08
 	dev-ml/result:=
-	dev-ml/seq:=
-
 	camlzip? ( >=dev-ml/camlzip-1.06:= )
 "
 DEPEND="
@@ -37,6 +36,8 @@ DEPEND="
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( camlzip )"
 
+PATCHES=( "${FILESDIR}"/${P}-noseq.patch )
+
 src_compile() {
 	local pkgs="tiny_httpd"
 	use camlzip && pkgs="${pkgs},tiny_httpd_camlzip"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ml/tiny_httpd/files/, dev-ml/tiny_httpd/
@ 2024-07-01 16:40 Alfredo Tupone
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2024-07-01 16:40 UTC (permalink / raw
  To: gentoo-commits

commit:     2dedbfbe387d1b3a6d60d6d2716498d5016f182b
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  1 16:39:54 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jul  1 16:39:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dedbfbe

dev-ml/tiny_httpd: add 0.16

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/tiny_httpd/Manifest                         |  1 +
 .../tiny_httpd/files/tiny_httpd-0.16-noseq.patch   | 11 +++++
 dev-ml/tiny_httpd/tiny_httpd-0.16.ebuild           | 50 ++++++++++++++++++++++
 3 files changed, 62 insertions(+)

diff --git a/dev-ml/tiny_httpd/Manifest b/dev-ml/tiny_httpd/Manifest
index 528990da261e..e6f641205e00 100644
--- a/dev-ml/tiny_httpd/Manifest
+++ b/dev-ml/tiny_httpd/Manifest
@@ -1 +1,2 @@
 DIST tiny_httpd-0.12.tar.gz 49124 BLAKE2B c3f407a605dabad1c710a696a3fca5dce04a75deb61e25e9ce572432e0d96cd3029628ea24d17d55a051d1d0f78aa1fd80797e7ff9c0bb7fc9d190e461784cd3 SHA512 99b4d01d4f4d138b122c689b8b3bc5043fc386d6686675311f625bf5fec72c6e1a7513712b00889fe17cd392b8c475440d4f89ee46392aff32ac6ccc39cefe09
+DIST tiny_httpd-0.16.tar.gz 66034 BLAKE2B 5bbbe87f48b19c2c8519d4c109e2b9eaef0ca5c42f77acdad8f6a216a23f59a68121d03d1ab95762999cb0f7089e0eee36ac0ed11151bbb72d4b9c5ab4314500 SHA512 fea483b931c1431117f7a1d3244749f856982e440d20b64a8d7c6fd841398eec3c7f91afaece707b5a35c0b332a06dde6464337aa1ac7b757f7952047981b130

diff --git a/dev-ml/tiny_httpd/files/tiny_httpd-0.16-noseq.patch b/dev-ml/tiny_httpd/files/tiny_httpd-0.16-noseq.patch
new file mode 100644
index 000000000000..8862a3361dc9
--- /dev/null
+++ b/dev-ml/tiny_httpd/files/tiny_httpd-0.16-noseq.patch
@@ -0,0 +1,11 @@
+--- a/src/dune	2024-07-01 18:38:15.116581859 +0200
++++ b/src/dune	2024-07-01 18:38:21.807507542 +0200
+@@ -1,7 +1,7 @@
+ (library
+   (name tiny_httpd)
+   (public_name tiny_httpd)
+-  (libraries threads seq unix
++  (libraries threads unix
+              (select Tiny_httpd_log.ml from
+               (logs -> Tiny_httpd_log.logs.ml)
+               (-> Tiny_httpd_log.default.ml)))

diff --git a/dev-ml/tiny_httpd/tiny_httpd-0.16.ebuild b/dev-ml/tiny_httpd/tiny_httpd-0.16.ebuild
new file mode 100644
index 000000000000..a0453cacbc4c
--- /dev/null
+++ b/dev-ml/tiny_httpd/tiny_httpd-0.16.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune multiprocessing
+
+DESCRIPTION="Minimal HTTP server with a small request router"
+HOMEPAGE="
+	https://github.com/c-cube/tiny_httpd
+	https://opam.ocaml.org/packages/tiny_httpd
+"
+SRC_URI="https://github.com/c-cube/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="camlzip ocamlopt test"
+
+RDEPEND="
+	>=dev-lang/ocaml-4.08
+	dev-ml/result:=
+	camlzip? ( >=dev-ml/camlzip-1.06:= )
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-ml/qtest
+		dev-ml/ounit2
+		dev-ml/ptime
+		dev-ml/qcheck
+		net-misc/curl
+	)
+"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( camlzip )"
+
+PATCHES=( "${FILESDIR}"/${P}-noseq.patch )
+
+src_compile() {
+	local pkgs="tiny_httpd"
+	use camlzip && pkgs="${pkgs},tiny_httpd_camlzip"
+	dune build -p "${pkgs}" -j $(makeopts_jobs) || die
+}
+
+src_install() {
+	dune_src_install tiny_httpd
+	use camlzip && dune_src_install "tiny_httpd_camlzip"
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-ml/tiny_httpd/files/, dev-ml/tiny_httpd/
@ 2024-10-20 17:49 Alfredo Tupone
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2024-10-20 17:49 UTC (permalink / raw
  To: gentoo-commits

commit:     ec21a0a06c7db3e2d2197e1099d24a0cc420458f
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 17:48:14 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 17:48:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec21a0a0

dev-ml/tiny_httpd: add 0.17.0

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/tiny_httpd/Manifest                         |  1 +
 .../tiny_httpd/files/tiny_httpd-0.17.0-noseq.patch |  9 ++++
 dev-ml/tiny_httpd/tiny_httpd-0.17.0.ebuild         | 53 ++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/dev-ml/tiny_httpd/Manifest b/dev-ml/tiny_httpd/Manifest
index e6f641205e00..fcec6b5c3309 100644
--- a/dev-ml/tiny_httpd/Manifest
+++ b/dev-ml/tiny_httpd/Manifest
@@ -1,2 +1,3 @@
 DIST tiny_httpd-0.12.tar.gz 49124 BLAKE2B c3f407a605dabad1c710a696a3fca5dce04a75deb61e25e9ce572432e0d96cd3029628ea24d17d55a051d1d0f78aa1fd80797e7ff9c0bb7fc9d190e461784cd3 SHA512 99b4d01d4f4d138b122c689b8b3bc5043fc386d6686675311f625bf5fec72c6e1a7513712b00889fe17cd392b8c475440d4f89ee46392aff32ac6ccc39cefe09
 DIST tiny_httpd-0.16.tar.gz 66034 BLAKE2B 5bbbe87f48b19c2c8519d4c109e2b9eaef0ca5c42f77acdad8f6a216a23f59a68121d03d1ab95762999cb0f7089e0eee36ac0ed11151bbb72d4b9c5ab4314500 SHA512 fea483b931c1431117f7a1d3244749f856982e440d20b64a8d7c6fd841398eec3c7f91afaece707b5a35c0b332a06dde6464337aa1ac7b757f7952047981b130
+DIST tiny_httpd-0.17.0.tar.gz 93730 BLAKE2B f5764bbc224ef3e0f2eaf25771935149ec86f38cdac8e19cc7114d361948f54d3fbbd2c3729a3e3043131b6c7461f6a00ac0d51d409672a242826fe9e1e849a5 SHA512 a891b7920c8b92f1c800e7add57bf1dea20bec3e364af66ea5dda5e46abd9d10dfe4d026a8d76c127761f63a9563df35473bd8df2e8b4f5ed692f7f6a3570f64

diff --git a/dev-ml/tiny_httpd/files/tiny_httpd-0.17.0-noseq.patch b/dev-ml/tiny_httpd/files/tiny_httpd-0.17.0-noseq.patch
new file mode 100644
index 000000000000..a5bb9531cfc8
--- /dev/null
+++ b/dev-ml/tiny_httpd/files/tiny_httpd-0.17.0-noseq.patch
@@ -0,0 +1,9 @@
+--- a/src/dune	2024-10-20 18:15:24.137632115 +0200
++++ b/src/dune	2024-10-20 18:15:39.144450132 +0200
+@@ -2,5 +2,5 @@
+   (name tiny_httpd)
+   (public_name tiny_httpd)
+   (flags :standard -open Tiny_httpd_core)
+-  (libraries threads seq unix hmap tiny_httpd.core tiny_httpd.html
++  (libraries threads unix hmap tiny_httpd.core tiny_httpd.html
+              tiny_httpd.unix))

diff --git a/dev-ml/tiny_httpd/tiny_httpd-0.17.0.ebuild b/dev-ml/tiny_httpd/tiny_httpd-0.17.0.ebuild
new file mode 100644
index 000000000000..f0947b7f0508
--- /dev/null
+++ b/dev-ml/tiny_httpd/tiny_httpd-0.17.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune multiprocessing
+
+DESCRIPTION="Minimal HTTP server with a small request router"
+HOMEPAGE="
+	https://github.com/c-cube/tiny_httpd
+	https://opam.ocaml.org/packages/tiny_httpd
+"
+SRC_URI="https://github.com/c-cube/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="camlzip ocamlopt test"
+
+RDEPEND="
+	>=dev-lang/ocaml-4.08
+	dev-ml/hmap:=
+	dev-ml/iostream:=[ocamlopt?]
+	dev-ml/logs:=[ocamlopt?]
+	dev-ml/result:=[ocamlopt?]
+	camlzip? ( >=dev-ml/camlzip-1.06:=[ocamlopt?] )
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-ml/qtest
+		dev-ml/ounit2
+		dev-ml/ptime
+		dev-ml/qcheck
+		net-misc/curl
+	)
+"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( camlzip )"
+
+PATCHES=( "${FILESDIR}"/${P}-noseq.patch )
+
+src_compile() {
+	local pkgs="tiny_httpd"
+	use camlzip && pkgs="${pkgs},tiny_httpd_camlzip"
+	dune build -p "${pkgs}" -j $(makeopts_jobs) || die
+}
+
+src_install() {
+	dune_src_install tiny_httpd
+	use camlzip && dune_src_install "tiny_httpd_camlzip"
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-20 17:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-30 19:41 [gentoo-commits] repo/gentoo:master commit in: dev-ml/tiny_httpd/files/, dev-ml/tiny_httpd/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2024-07-01 16:40 Alfredo Tupone
2024-10-20 17:49 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox