summaryrefslogtreecommitdiff
path: root/dev-lua
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-12-11 18:49:49 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-12-11 18:49:49 +0000
commitc5f8cee2d770be2d89d223aaed1d710f6360bacf (patch)
treeb918c65ee050fab2863b2a2d1ded1df1e4d08493 /dev-lua
parentfe62b3ccb215d77385147982f5da938d73f9c44e (diff)
downloadbaldeagleos-repo-c5f8cee2d770be2d89d223aaed1d710f6360bacf.tar.gz
baldeagleos-repo-c5f8cee2d770be2d89d223aaed1d710f6360bacf.tar.xz
baldeagleos-repo-c5f8cee2d770be2d89d223aaed1d710f6360bacf.zip
Adding metadata
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/basexx/metadata.xml6
-rw-r--r--dev-lua/binaryheap/binaryheap-0.4.ebuild1
-rw-r--r--dev-lua/binaryheap/metadata.xml6
-rw-r--r--dev-lua/compat53/compat53-0.14.3.ebuild13
-rw-r--r--dev-lua/compat53/metadata.xml6
-rw-r--r--dev-lua/cqueues/cqueues-20200726_p20241204.ebuild43
-rw-r--r--dev-lua/cqueues/files/cqueues-20200726_p20241204-qa-flags.patch39
-rw-r--r--dev-lua/cqueues/files/cqueues-20200726_p20241204-rm-vendor-compat53.patch48
-rw-r--r--dev-lua/cqueues/metadata.xml6
-rw-r--r--dev-lua/fifo/metadata.xml6
-rw-r--r--dev-lua/lpeg-patterns/metadata.xml6
-rw-r--r--dev-lua/lua-http/lua-http-0.4_p20240908.ebuild1
-rw-r--r--dev-lua/lua-http/metadata.xml6
-rw-r--r--dev-lua/lua-mmdb/metadata.xml6
14 files changed, 151 insertions, 42 deletions
diff --git a/dev-lua/basexx/metadata.xml b/dev-lua/basexx/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/basexx/metadata.xml
+++ b/dev-lua/basexx/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-lua/binaryheap/binaryheap-0.4.ebuild b/dev-lua/binaryheap/binaryheap-0.4.ebuild
index 59008cf279a9..13fc235b2159 100644
--- a/dev-lua/binaryheap/binaryheap-0.4.ebuild
+++ b/dev-lua/binaryheap/binaryheap-0.4.ebuild
@@ -13,6 +13,7 @@ MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Binary heap implementation in pure Lua"
HOMEPAGE="http://tieske.github.io/binaryheap.lua"
+HOMEPAGE+=" https://github.com/Tieske/binaryheap.lua"
SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
diff --git a/dev-lua/binaryheap/metadata.xml b/dev-lua/binaryheap/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/binaryheap/metadata.xml
+++ b/dev-lua/binaryheap/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-lua/compat53/compat53-0.14.3.ebuild b/dev-lua/compat53/compat53-0.14.3.ebuild
index cd0ba2db8edc..8a428f7ef436 100644
--- a/dev-lua/compat53/compat53-0.14.3.ebuild
+++ b/dev-lua/compat53/compat53-0.14.3.ebuild
@@ -27,6 +27,9 @@ RDEPEND="${DEPEND}"
src_prepare() {
default
+ # change to name of compat53.'module' calls
+ # this is required, see rockspecs
+ mv lbitlib.c bitlib.c || die
mv liolib.c io.c || die
mv lstrlib.c string.c || die
mv ltablib.c table.c || die
@@ -39,11 +42,11 @@ lua_src_compile() {
local u=""
for u in *.c; do
edo $(tc-getCC) -shared -fPIC \
- ${CPPFLAGS} \
- ${CFLAGS} $(lua_get_CFLAGS) \
- ${SOFLAGS} \
- ${LDFLAGS} $(lua_get_LIBS) \
- -o "${u/.c/.so}" ${u} c-api/compat-5.3.c
+ ${CPPFLAGS} \
+ ${CFLAGS} $(lua_get_CFLAGS) \
+ ${SOFLAGS} \
+ ${LDFLAGS} $(lua_get_LIBS) \
+ -o "${u/.c/.so}" ${u} c-api/compat-5.3.c
done
}
diff --git a/dev-lua/compat53/metadata.xml b/dev-lua/compat53/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/compat53/metadata.xml
+++ b/dev-lua/compat53/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-lua/cqueues/cqueues-20200726_p20241204.ebuild b/dev-lua/cqueues/cqueues-20200726_p20241204.ebuild
index 12e9e2c73ce6..5f2a1fc4656f 100644
--- a/dev-lua/cqueues/cqueues-20200726_p20241204.ebuild
+++ b/dev-lua/cqueues/cqueues-20200726_p20241204.ebuild
@@ -22,15 +22,21 @@ IUSE="examples"
REQUIRED_USE="${LUA_REQUIRED_USE}"
-DEPEND="
+COMMON_DEPEND="
${LUA_DEPS}
dev-libs/openssl:0=
"
-RDEPEND="${DEPEND}"
-BDEPEND="
+DEPEND="
+ ${COMMON_DEPEND}
dev-lua/compat53[${LUA_USEDEP}]
- virtual/pkgconfig
"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/cqueues-20200726_p20241204-qa-flags.patch
+ "${FILESDIR}"/cqueues-20200726_p20241204-rm-vendor-compat53.patch
+)
DOCS=( "doc/." )
@@ -57,27 +63,12 @@ lua_src_prepare() {
sed -e 's:for V in 5.1 5.2 5.3 5.4:for V in '${LUA_VERSION}':' \
-i "${BUILD_DIR}"/regress/GNUmakefile || die
- popd
+ popd || die
}
src_prepare() {
default
rm -r vendor || die
- sed \
- -e '/HAVE_API_FN =/d' \
- -e '/ALL_CFLAGS += -g/d' \
- -e '/ALL_LDFLAGS += -L/d' \
- -e 's:-O2::' \
- -i GNUmakefile || die
-
- # use header from dev-lua/compat53 instead of vendor
- sed -e 's:-DCOMPAT53_PREFIX=cqueues::' \
- -e 's:$$(d)/../vendor/compat53/c-api/compat-5.3.h::' \
- -e '/)\/compat53/,/)\/compat53/d' \
- -i src/GNUmakefile || die
-
- sed -e 's:"../vendor/compat53/c-api\/compat-5.3.h":<compat-5.3.h>:' \
- -i src/cqueues.h || die
# tests deleted :
# 22, 73, 87 = weak/old ssl
@@ -105,7 +96,7 @@ lua_src_compile() {
emake CC=$(tc-getCC) \
all${LUA_VERSION}
- popd
+ popd || die
}
src_compile() {
@@ -115,15 +106,9 @@ src_compile() {
lua_src_test() {
pushd "${BUILD_DIR}" || die
- if [[ ${ELUA} != luajit ]]; then
- LUA_VERSION="$(ver_cut 1-2 $(lua_get_version))"
- else
- LUA_VERSION="5.1"
- fi
-
emake CC=$(tc-getCC) check
- popd
+ popd || die
}
src_test() {
@@ -146,7 +131,7 @@ lua_src_install() {
"prefix=${EPREFIX}/usr" \
install${LUA_VERSION}
- popd
+ popd || die
}
src_install() {
diff --git a/dev-lua/cqueues/files/cqueues-20200726_p20241204-qa-flags.patch b/dev-lua/cqueues/files/cqueues-20200726_p20241204-qa-flags.patch
new file mode 100644
index 000000000000..a1f654877c04
--- /dev/null
+++ b/dev-lua/cqueues/files/cqueues-20200726_p20241204-qa-flags.patch
@@ -0,0 +1,39 @@
+--- a/GNUmakefile 2024-12-10 19:17:18.107965992 -0000
++++ b/GNUmakefile 2024-12-10 19:17:25.319850369 -0000
+@@ -19,7 +19,6 @@
+ LUAPATH_FN = $(shell env CC='$(subst ',\\',$(CC))' CPPFLAGS='$(subst ',\\',$(CPPFLAGS))' LDFLAGS='$(subst ',\\',$(LDFLAGS))' $(LUAPATH) -krxm3 -I '$(subst ',\\',$(DESTDIR)$(includedir))' -I/usr/include -I/usr/local/include -P '$(subst ',\\',$(DESTDIR)$(bindir))' -P '$(subst ',\\',$(bindir))' -L '$(subst ',\\',$(DESTDIR)$(libdir))' -L '$(subst ',\\',$(libdir))' -v$(1) $(2))
+
+ # check whether luapath can locate Lua $(1) headers
+-HAVE_API_FN = $(and $(filter $(1),$(call LUAPATH_FN,$(1),version)),$(1)$(info enabling Lua $(1)))
+
+ # check whether $(1) in LUA_APIS or $(LUA$(1:.=)_CPPFLAGS) is non-empty
+ WITH_API_FN = $$(and $$(or $$(filter $(1),$$(LUA_APIS)),$$(LUA$(subst .,,$(1))_CPPFLAGS)),$(1))
+@@ -168,18 +167,15 @@
+ ifeq ($(origin ALL_CFLAGS), undefined)
+
+ ifeq ($(VENDOR_CC_$(d)), gcc)
+-ALL_CFLAGS += -O2 -std=gnu99 -fPIC
+-ALL_CFLAGS += -g -Wall -Wextra $(call cc-option, -Wno-missing-field-initializers) $(call cc-option, -Wno-override-init) -Wno-unused
++ALL_CFLAGS += -std=gnu99 -fPIC
+ endif
+
+ ifeq ($(VENDOR_CC_$(d)), clang)
+-ALL_CFLAGS += -O2 -std=gnu99 -fPIC
+-ALL_CFLAGS += -g -Wall -Wextra -Wno-missing-field-initializers -Wno-initializer-overrides -Wno-unused -Wno-dollar-in-identifier-extension
++ALL_CFLAGS += -std=gnu99 -fPIC
+ endif
+
+ ifeq ($(VENDOR_CC_$(d)), sunpro)
+ ALL_CFLAGS += -xcode=pic13
+-ALL_CFLAGS += -g
+ #
+ # Solaris Studio supports anonymous unions just fine; but it complains
+ # incessantly about them.
+@@ -215,7 +211,6 @@
+ #
+ ifeq ($(origin ALL_LDFLAGS), undefined)
+
+-ALL_LDFLAGS += -L$(DESTDIR)$(libdir) -L$(libdir)
+ ALL_LDFLAGS += $(LDFLAGS)
+
+ endif # ALL_LDFLAGS
diff --git a/dev-lua/cqueues/files/cqueues-20200726_p20241204-rm-vendor-compat53.patch b/dev-lua/cqueues/files/cqueues-20200726_p20241204-rm-vendor-compat53.patch
new file mode 100644
index 000000000000..ed25b17ba21a
--- /dev/null
+++ b/dev-lua/cqueues/files/cqueues-20200726_p20241204-rm-vendor-compat53.patch
@@ -0,0 +1,48 @@
+--- a/src/GNUmakefile 2024-12-10 19:37:27.380639046 -0000
++++ b/src/GNUmakefile 2024-12-10 19:37:56.648169798 -0000
+@@ -22,7 +22,7 @@
+ VERSION_$(d) = $(or $(CQUEUES_VERSION),$(shell $(<D)/../mk/changelog version))
+ COMMIT_$(d) = $(shell $(<D)/../mk/changelog commit)
+
+-CPPFLAGS_$(d) = $(ALL_CPPFLAGS) -DCOMPAT53_PREFIX=cqueues
++CPPFLAGS_$(d) = $(ALL_CPPFLAGS)
+ CFLAGS_$(d) = $(ALL_CFLAGS)
+ SOFLAGS_$(d) = $(ALL_SOFLAGS)
+ LDFLAGS_$(d) = $(ALL_LDFLAGS)
+@@ -50,7 +50,7 @@
+ $$(d)/$(1)/cqueues.so: $$(addprefix $$(d)/$(1)/, $$(OBJS_$(d))) $$(d)/lib/libnonlua.a
+ $$(CC) -o $$@ $$^ $$(SOFLAGS_$$(abspath $$(@D)/..)) $$(LDFLAGS_$$(abspath $$(@D)/..)) $$(LIBS_$$(abspath $$(@D)/..))
+
+-$$(d)/$(1)/%.o: $$(d)/%.c $$(d)/cqueues.h $$(d)/../vendor/compat53/c-api/compat-5.3.h $$(d)/config.h
++$$(d)/$(1)/%.o: $$(d)/%.c $$(d)/cqueues.h $$(d)/config.h
+ $$(MKDIR) -p $$(@D)
+ $$(CC) $$(CFLAGS_$$(<D)) $$(ALL_LUA$(subst .,,$(1))_CPPFLAGS) $$(CPPFLAGS_$$(<D)) -c -o $$@ $$<
+
+@@ -66,16 +66,6 @@
+
+ $$(d)/$(1)/notify.o: $$(d)/lib/notify.h
+
+-ifneq ($(1), 5.3)
+-ifneq ($(1), 5.4)
+-$$(d)/$(1)/compat53.o: $$(d)/../vendor/compat53/c-api/compat-5.3.c $$(d)/../vendor/compat53/c-api/compat-5.3.h $$(d)/config.h
+- $$(MKDIR) -p $$(@D)
+- $$(CC) $$(CFLAGS_$(d)) $$(ALL_LUA$(subst .,,$(1))_CPPFLAGS) $$(CPPFLAGS_$(d)) -c -o $$@ $$<
+-
+-$$(d)/$(1)/cqueues.so: $$(d)/$(1)/compat53.o
+-endif
+-endif
+-
+ .SECONDARY: liblua$(1)-cqueues cqueues$(1) cqueues
+
+ liblua$(1)-cqueues cqueues$(1) cqueues: $$(d)/$(1)/cqueues.so
+--- a/src/cqueues.h 2024-12-10 19:37:27.380639046 -0000
++++ b/src/cqueues.h 2024-12-10 19:37:38.028468322 -0000
+@@ -40,7 +40,7 @@
+ #include <lualib.h>
+ #include <lauxlib.h>
+
+-#include "../vendor/compat53/c-api/compat-5.3.h"
++#include <compat-5.3.h>
+
+
+ /*
diff --git a/dev-lua/cqueues/metadata.xml b/dev-lua/cqueues/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/cqueues/metadata.xml
+++ b/dev-lua/cqueues/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-lua/fifo/metadata.xml b/dev-lua/fifo/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/fifo/metadata.xml
+++ b/dev-lua/fifo/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-lua/lpeg-patterns/metadata.xml b/dev-lua/lpeg-patterns/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/lpeg-patterns/metadata.xml
+++ b/dev-lua/lpeg-patterns/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-lua/lua-http/lua-http-0.4_p20240908.ebuild b/dev-lua/lua-http/lua-http-0.4_p20240908.ebuild
index 91c10ac4fcea..84054ec1ac6e 100644
--- a/dev-lua/lua-http/lua-http-0.4_p20240908.ebuild
+++ b/dev-lua/lua-http/lua-http-0.4_p20240908.ebuild
@@ -12,6 +12,7 @@ HOMEPAGE="https://daurnimator.github.io/lua-http/"
HOMEPAGE+=" https://github.com/daurnimator/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"
diff --git a/dev-lua/lua-http/metadata.xml b/dev-lua/lua-http/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/lua-http/metadata.xml
+++ b/dev-lua/lua-http/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-lua/lua-mmdb/metadata.xml b/dev-lua/lua-mmdb/metadata.xml
index 113e6f2d1a4a..525cb04ae1b4 100644
--- a/dev-lua/lua-mmdb/metadata.xml
+++ b/dev-lua/lua-mmdb/metadata.xml
@@ -5,6 +5,10 @@
<email>nicolas.parlant@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ No newline at end of file