public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-lua/lua-http/
Date: Mon,  2 Dec 2024 16:12:12 +0000 (UTC)	[thread overview]
Message-ID: <1733152290.4c07ae9bbe2e4682b1ad84562e8f4f6dcd4015c2.julien@gentoo> (raw)

commit:     4c07ae9bbe2e4682b1ad84562e8f4f6dcd4015c2
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Dec  2 13:47:20 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Dec  2 15:11:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4c07ae9b

dev-lua/lua-http: new package, add 20240908

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>

 dev-lua/lua-http/Manifest                 |  1 +
 dev-lua/lua-http/lua-http-20240908.ebuild | 47 +++++++++++++++++++++++++++++++
 dev-lua/lua-http/metadata.xml             | 11 ++++++++
 3 files changed, 59 insertions(+)

diff --git a/dev-lua/lua-http/Manifest b/dev-lua/lua-http/Manifest
new file mode 100644
index 000000000..c32ca2fbe
--- /dev/null
+++ b/dev-lua/lua-http/Manifest
@@ -0,0 +1 @@
+DIST lua-http-20240908.tar.gz 142897 BLAKE2B 2c68b11ffa8e579ba2be9db08c65f8f28b1eb96079a8d1b71c245ff516a7249cee86317aca3e0635b2e612120aedfa6f4e3bbe9392919835502845567cb2100f SHA512 579db298e901c555bfabd09d375d83ec1be0b45e37c9c55a779620c720a18392fdee3dc971a2ded7b0804f1fcdfc9f69863510a5823b1a0b2637b8195a42cae1

diff --git a/dev-lua/lua-http/lua-http-20240908.ebuild b/dev-lua/lua-http/lua-http-20240908.ebuild
new file mode 100644
index 000000000..c0e49196e
--- /dev/null
+++ b/dev-lua/lua-http/lua-http-20240908.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua
+
+DESCRIPTION="HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server."
+HOMEPAGE="https://daurnimator.github.io/lua-http/"
+EGIT_COMMIT="ee3cf4b4992479b8ebfb39b530694af3bbd1d1eb"
+SRC_URI="https://github.com/daurnimator/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+DEPEND="
+	${LUA_DEPS}
+	lua_targets_luajit? ( dev-lua/compat53[lua_targets_luajit(-)] )
+	lua_targets_lua5-1? ( dev-lua/compat53[lua_targets_lua5-1(-)] )
+	dev-lua/basexx[${LUA_USEDEP}]
+	dev-lua/binaryheap[${LUA_USEDEP}]
+	dev-lua/cqueues[${LUA_USEDEP}]
+	dev-lua/fifo[${LUA_USEDEP}]
+	dev-lua/lpeg[${LUA_USEDEP}]
+	dev-lua/lpeg-patterns[${LUA_USEDEP}]
+	dev-lua/LuaBitOp[${LUA_USEDEP}]
+	dev-lua/luaossl[${LUA_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+lua_enable_tests busted
+
+lua_src_install() {
+	insinto $(lua_get_lmod_dir)/http/
+	doins http/*.lua http/compat/*.lua
+}
+
+src_install() {
+	lua_foreach_impl lua_src_install
+	einstalldocs
+}

diff --git a/dev-lua/lua-http/metadata.xml b/dev-lua/lua-http/metadata.xml
new file mode 100644
index 000000000..a8fee6db0
--- /dev/null
+++ b/dev-lua/lua-http/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>nicolas.parlant@parhuet.fr</email>
+		<name>Nicolas PARLANT</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">daurnimator/lua-http</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2024-12-02 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 16:12 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-11 10:15 [gentoo-commits] repo/proj/guru:master commit in: dev-lua/lua-http/ Florian Schmaus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1733152290.4c07ae9bbe2e4682b1ad84562e8f4f6dcd4015c2.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox