summaryrefslogtreecommitdiff
path: root/dev-lua
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-24 01:44:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-24 01:44:21 +0000
commit4560e1a95e1072b051371c59aec78b15e4787ded (patch)
tree094ce9f8e6716977f66ede36cb7a5c7725af0f04 /dev-lua
parent60360664173979c416f4acb44f2fb2368922742d (diff)
gentoo auto-resync : 24:12:2023 - 01:44:20
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/Manifest.gzbin7315 -> 7314 bytes
-rw-r--r--dev-lua/luasystem/Manifest4
-rw-r--r--dev-lua/luasystem/luasystem-0.3.0.ebuild91
-rw-r--r--dev-lua/luasystem/metadata.xml1
4 files changed, 95 insertions, 1 deletions
diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz
index 445e36241525..b5d13a3e859c 100644
--- a/dev-lua/Manifest.gz
+++ b/dev-lua/Manifest.gz
Binary files differ
diff --git a/dev-lua/luasystem/Manifest b/dev-lua/luasystem/Manifest
index 7afab966badf..ed4f6ece5cd3 100644
--- a/dev-lua/luasystem/Manifest
+++ b/dev-lua/luasystem/Manifest
@@ -1,4 +1,6 @@
AUX luasystem-0.2.1_p0-fix-makefile.patch 825 BLAKE2B 1732876603d8b5560bda1644de832d611e851bbe8c8edb7c1861c43b5496d47306a2f61d29087b83a0b8d87ecb2731572c2c3d149a19000c7173161bd0f326fd SHA512 980ee1089e4b2b45c54e0ac953bb441e5c31164417e64dbf3fd8f75010d50ddda84572fa0b8ed6101f1924a96a64de0ce31d4e24cf69f9f15d5c59b8f5ef8e3e
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
EBUILD luasystem-0.2.1_p0-r1.ebuild 1614 BLAKE2B 1c99d5ed57adde933ca326e903fce527511580e407fe7c463db16badd7711e7af4656f4e9f1040aae4a6a28819be25481e17cc5d32c83200546aff5b148f3e97 SHA512 4d87dd9c6c076655f5a3bd61da38288950ed888cc0a0b312ec67b490048721bc330a86da1b50998e5f9e0446b7d0853583cd3e79aad210126acd2d565b2c74f1
-MISC metadata.xml 598 BLAKE2B a2e1bab68a86246a95e786808f852e24e898659076fd9fd479750f1e0942e10c1245aa49c0074428cbf7b86f89edd8486bdb6eab90192b43d111deb98f1e361a SHA512 dc77705eb1fbf226de1c7ede3bbe71d8b1573cdce6042d9dbd43fe89af2f9f713cc365cfb3dfbc7c182acf7dd23adbf7b8b736a2f3c655f7652886894f65bd63
+EBUILD luasystem-0.3.0.ebuild 1652 BLAKE2B d85c191429f71111442ba7cdc7f64068c4d76e8ab9eb70bbe9e429a3d5192df9b9c72552e5e4e0f65b50076404fce9cfc55c515c828e5a0d5e532ea46f198f2e SHA512 4aacca2ed6df6824f6745b2be37290cda44b0b035ab7c354c8867f4257dcf0d4f59be44e8d4782002c353c5577a819924a58d7ce83904ee54e0759af9fc8eac5
+MISC metadata.xml 660 BLAKE2B ade0d9b3fc58f3e97e278f88625d443845dd6055747754c89bfba4a7b830b3b1b01c63f22d5880339e4b8afbbd49e36f5b21e41b21eef748c309370532621dfc SHA512 992ec9c3e2442855bf3bf1d3e1166ca3dbb9c802ebb06d4ad6b55a1dc136adbe58d3c8c992c6f460e8ae7e3fa88ec62c72fce0341932c7a03ff09c3fa7b8069d
diff --git a/dev-lua/luasystem/luasystem-0.3.0.ebuild b/dev-lua/luasystem/luasystem-0.3.0.ebuild
new file mode 100644
index 000000000000..ee1ca807ef71
--- /dev/null
+++ b/dev-lua/luasystem/luasystem-0.3.0.ebuild
@@ -0,0 +1,91 @@
+# 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 ~ia64 ~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
+}
diff --git a/dev-lua/luasystem/metadata.xml b/dev-lua/luasystem/metadata.xml
index 7f9fa1b5f4a9..4d95a0681768 100644
--- a/dev-lua/luasystem/metadata.xml
+++ b/dev-lua/luasystem/metadata.xml
@@ -15,5 +15,6 @@
</longdescription>
<upstream>
<remote-id type="github">LuaDist2/luasystem</remote-id>
+ <remote-id type="github">lunarmodules/luasystem</remote-id>
</upstream>
</pkgmetadata>