commit:     60632d90622785ac717c4e05e0e16d985e09a39d
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Tue May 21 00:30:14 2024 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
CommitDate: Tue May 21 00:30:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=60632d90

dev-lua/multipart-post: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 dev-lua/multipart-post/Manifest                  |  1 +
 dev-lua/multipart-post/metadata.xml              | 11 +++++++
 dev-lua/multipart-post/multipart-post-1.4.ebuild | 37 ++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/dev-lua/multipart-post/Manifest b/dev-lua/multipart-post/Manifest
new file mode 100644
index 0000000000..c79170e6d5
--- /dev/null
+++ b/dev-lua/multipart-post/Manifest
@@ -0,0 +1 @@
+DIST lua-multipart-post-1.4.tar.gz 4993 BLAKE2B 
e4c23f8dd895acd4f186fce26c2071e11fecf013cf3500725e74b25d11ec4e682eaa8fd128ded409d81d2dce2009a4fa5caf8f0b6059cb31077beeb7d163a220
 SHA512 
610e79c789ac63872c0fc5e4ae416d3ebf9808261d1de0cd624d088f83a41ccb9d4d9624585be7b9a249040efdaa9d3c51c10e1ac0910a736119ec426c297df0

diff --git a/dev-lua/multipart-post/metadata.xml 
b/dev-lua/multipart-post/metadata.xml
new file mode 100644
index 0000000000..0c1cfc2f9b
--- /dev/null
+++ b/dev-lua/multipart-post/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>zdanevich.vit...@ya.ru</email>
+               <name>Vitaly Zdanevich</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">catwell/lua-multipart-post</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-lua/multipart-post/multipart-post-1.4.ebuild 
b/dev-lua/multipart-post/multipart-post-1.4.ebuild
new file mode 100644
index 0000000000..11de272dae
--- /dev/null
+++ b/dev-lua/multipart-post/multipart-post-1.4.ebuild
@@ -0,0 +1,37 @@
+# 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 Multipart Post helper that does just that."
+HOMEPAGE="https://github.com/catwell/lua-multipart-post";
+SRC_URI="https://github.com/catwell/lua-$PN/archive/refs/tags/v$PV.tar.gz -> 
lua-${P}.tar.gz"
+S="$WORKDIR/lua-$P"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="dev-lua/luasocket[${LUA_USEDEP}]"
+
+# Require cwtes, which is not in the tree yet
+RESTRICT="test"
+
+DOCS=( README.md )
+
+lua_src_install() {
+       insinto "$(lua_get_lmod_dir)"
+       doins multipart-post.lua
+}
+
+src_install() {
+       lua_foreach_impl lua_src_install
+
+       einstalldocs
+}

Reply via email to