dev-lua/luasystem: drop 0.2.1_p0-r1, 0.3.0

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2025-01-26 02:49:34 +01:00
parent 840b6ab0e8
commit cf6cbdece2
4 changed files with 0 additions and 217 deletions
-2
View File
@@ -1,3 +1 @@
DIST luasystem-0.2.1_p0.tar.gz 8162 BLAKE2B ad8a6009823ad8202ff3884a3167d0779405c2a6be460b7ef2939622eb4d0fc8edbc6b04aba5dec9dd5e4e38f11ae0dcd582b9c348d5b516aa411858d55c6d71 SHA512 9dc323d4d1914cfa4f278a49ef22e58569d5cd7e369fa17fa6006cd47f9d90c6dfd4404067ea2436aa46a27cfbdf91e4aa26e20b89aeeefdf2aa7252c51fb32b
DIST luasystem-0.3.0.tar.gz 19607 BLAKE2B 82dd54dab61045d25d9d1dc074526c2443b9732adf27da052f65702f0941a04dce65582091b5ecb802e5aed9baa2f4dbd53e4cd1b624426341a83fbcb0109378 SHA512 1adf1167767d7d8233ed2c90c106b050dc2370e891465eeb13f16ebc96e8f467d67a89a40173064112117ac9db2451aa73fde0d11fab01f6d2c56bdef50cb6ac
DIST luasystem-0.4.5.tar.gz 75630 BLAKE2B 3f269e4d45026e53f40dabee78e655e400a72312e5cdb3680027f1725e694e45d4cd313b2eb11224fe3901c240f50d94187bc8acb83de78bbf26b878e6915c2a SHA512 e7e8fe6aa09f625c0b97f48799f7b00d80e8ac0d00efedf258ae72f7d0f4283d43c285e09b32ab8707c228403eadda98727ce260d7fc9ed9dbd67877a55a6203
@@ -1,33 +0,0 @@
diff --git a/src/Makefile b/src/Makefile
index 10fc31a..af5e4e4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -144,8 +144,8 @@ O_linux=o
CC_linux=gcc
DEF_linux=
CFLAGS_linux= -I$(LUAINC) $(DEF) -Wall -Wshadow -Wextra \
- -Wimplicit -O2 -ggdb3 -fpic -fvisibility=hidden
-LDFLAGS_linux=-lrt -O -shared -fpic -o
+ -Wimplicit -fpic -fvisibility=hidden
+LDFLAGS_linux=-lrt -shared -fpic -o
LD_linux=gcc
#------
@@ -208,7 +208,7 @@ SOLIB=core.$(SO)
#
CC=$(CC_$(PLAT))
DEF=$(DEF_$(PLAT))
-CFLAGS=$(MYCFLAGS) $(CFLAGS_$(PLAT))
+CFLAGS=$(CFLAGS_$(PLAT)) $(MYCFLAGS)
LDFLAGS=$(MYLDFLAGS) $(LDFLAGS_$(PLAT))
LD=$(LD_$(PLAT))
LUAINC= $(LUAINC_$(PLAT))
@@ -248,7 +248,7 @@ none:
all: $(SOLIB)
$(SOLIB): $(OBJS)
- $(LD) $(OBJS) $(LDFLAGS)$@
+ $(LD) $(OBJS) $(LDFLAGS) $@
install: all
$(INSTALL_DIR) $(INSTALL_TOP_LDIR)
@@ -1,91 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..4} luajit )
MY_PV="${PV/_p/-}"
inherit lua toolchain-funcs
DESCRIPTION="Platform independent system calls for Lua"
HOMEPAGE="https://github.com/o-lim/luasystem/"
SRC_URI="https://github.com/o-lim/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="${LUA_DEPS}"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
test? (
dev-lua/busted[${LUA_USEDEP}]
dev-lua/lua_cliargs[${LUA_USEDEP}]
${RDEPEND}
)
"
PATCHES=( "${FILESDIR}"/${P}-fix-makefile.patch )
src_prepare() {
default
lua_copy_sources
}
lua_src_test() {
busted --lua=${ELUA} || die
}
src_test() {
lua_foreach_impl lua_src_test
}
lua_src_compile() {
pushd "${BUILD_DIR}" || die
local myemakeargs=(
"CC=$(tc-getCC)"
"LD=$(tc-getCC)"
"LUAINC_linux=$(lua_get_include_dir)"
"MYCFLAGS=${CFLAGS}"
"MYLDFLAGS=${LDFLAGS}"
)
emake "${myemakeargs[@]}" linux
popd
}
src_compile() {
lua_foreach_impl lua_src_compile
}
lua_src_install () {
pushd "${BUILD_DIR}" || die
local emakeargs=(
"INSTALL_TOP_CDIR=${ED}/$(lua_get_cmod_dir)"
"INSTALL_TOP_LDIR=${ED}/$(lua_get_lmod_dir)"
"LUA_INC=${ED}/$(lua_get_include_dir)"
)
emake "${emakeargs[@]}" install
insinto $(lua_get_lmod_dir)/system
doins system/init.lua
popd
}
src_install() {
lua_foreach_impl lua_src_install
einstalldocs
}
-91
View File
@@ -1,91 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..4} luajit )
MY_PV="${PV/_p/-}"
inherit lua toolchain-funcs
DESCRIPTION="Platform independent system calls for Lua"
HOMEPAGE="https://github.com/lunarmodules/luasystem"
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="test"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RESTRICT="!test? ( test )"
RDEPEND="${LUA_DEPS}"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
test? (
dev-lua/busted[${LUA_USEDEP}]
dev-lua/lua_cliargs[${LUA_USEDEP}]
${RDEPEND}
)
"
PATCHES=( "${FILESDIR}"/${PN}-0.2.1_p0-fix-makefile.patch )
src_prepare() {
default
lua_copy_sources
}
lua_src_test() {
busted --lua=${ELUA} || die
}
src_test() {
lua_foreach_impl lua_src_test
}
lua_src_compile() {
pushd "${BUILD_DIR}" || die
local myemakeargs=(
"CC=$(tc-getCC)"
"LD=$(tc-getCC)"
"LUAINC_linux=$(lua_get_include_dir)"
"MYCFLAGS=${CFLAGS}"
"MYLDFLAGS=${LDFLAGS}"
)
emake "${myemakeargs[@]}" linux
popd
}
src_compile() {
lua_foreach_impl lua_src_compile
}
lua_src_install () {
pushd "${BUILD_DIR}" || die
local emakeargs=(
"INSTALL_TOP_CDIR=${ED}/$(lua_get_cmod_dir)"
"INSTALL_TOP_LDIR=${ED}/$(lua_get_lmod_dir)"
"LUA_INC=${ED}/$(lua_get_include_dir)"
)
emake "${emakeargs[@]}" install
insinto $(lua_get_lmod_dir)/system
doins system/init.lua
popd
}
src_install() {
lua_foreach_impl lua_src_install
einstalldocs
}