lua-resty-lrucache[1] is a "Lua LRU cache"; it is a runtime dependency of
www-nginx/ngx-lua-module.

[1]: https://github.com/openresty/lua-resty-lrucache

Signed-off-by: Zurab Kvachadze <zurabid2...@gmail.com>
---
 dev-lua/lua-resty-lrucache/Manifest                         | 1 +
 .../lua-resty-lrucache-0.15.ebuild}                         | 6 +++---
 .../usbmuxd => dev-lua/lua-resty-lrucache}/metadata.xml     | 6 +++++-
 3 files changed, 9 insertions(+), 4 deletions(-)
 create mode 100644 dev-lua/lua-resty-lrucache/Manifest
 copy dev-lua/{lua-resty-core/lua-resty-core-0.1.30.ebuild => 
lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild} (74%)
 copy {app-pda/usbmuxd => dev-lua/lua-resty-lrucache}/metadata.xml (61%)

diff --git a/dev-lua/lua-resty-lrucache/Manifest 
b/dev-lua/lua-resty-lrucache/Manifest
new file mode 100644
index 000000000000..3af68d23c1fa
--- /dev/null
+++ b/dev-lua/lua-resty-lrucache/Manifest
@@ -0,0 +1 @@
+DIST lua-resty-lrucache-0.15.tar.gz 17834 BLAKE2B 
80e6c1472de7df1b4c4e34cc002d64ae2aad92da8e0346325bb75e3ddb03c9015d5c34ffc961afbab6a06f0922eb11c0e17a1a91ddb0c84d42fe8c3aaf7c2c07
 SHA512 
544d862fb6de66c6a9e342ba62aaf11b639ba199c97261a74881a9b395705e2a78b96d58a405dab7793b53be12cd8108d3861f6d30c3b3950b565fed1547a47d
diff --git a/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild 
b/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
similarity index 74%
copy from dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild
copy to dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
index eb4de4b5c50e..f85dbf3f9a66 100644
--- a/dev-lua/lua-resty-core/lua-resty-core-0.1.30.ebuild
+++ b/dev-lua/lua-resty-lrucache/lua-resty-lrucache-0.15.ebuild
@@ -7,10 +7,10 @@ EAPI=8
 LUA_COMPAT=( luajit )
 inherit lua-single
 
-DESCRIPTION="FFI-based API for lua-nginx-module"
-HOMEPAGE="https://github.com/openresty/lua-resty-core";
+DESCRIPTION="Lua-land LRU Cache based on LuaJIT FFI"
+HOMEPAGE="https://github.com/openresty/lua-resty-lrucache";
 SRC_URI="
-       
https://github.com/openresty/lua-resty-core/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+       
https://github.com/openresty/lua-resty-lrucache/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz
 "
 
 LICENSE="BSD-2"
diff --git a/app-pda/usbmuxd/metadata.xml 
b/dev-lua/lua-resty-lrucache/metadata.xml
similarity index 61%
copy from app-pda/usbmuxd/metadata.xml
copy to dev-lua/lua-resty-lrucache/metadata.xml
index d8e789b30263..81d1558075b9 100644
--- a/app-pda/usbmuxd/metadata.xml
+++ b/dev-lua/lua-resty-lrucache/metadata.xml
@@ -9,7 +9,11 @@
                <email>proxy-ma...@gentoo.org</email>
                <name>Proxy Maintainers</name>
        </maintainer>
+       <longdescription>
+               This library implements a simple LRU cache for OpenResty and 
the ngx_lua module.
+       </longdescription>
        <upstream>
-               <remote-id type="github">libimobiledevice/usbmuxd</remote-id>
+               
<bugs-to>https://github.com/openresty/lua-resty-lrucache/issues</bugs-to>
+               <remote-id 
type="github">openresty/lua-resty-lrucache</remote-id>
        </upstream>
 </pkgmetadata>
-- 
2.45.3


Reply via email to