diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-23 00:11:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-23 00:11:31 +0100 |
commit | bff543bb632933380da922cbfc07c67157d72d42 (patch) | |
tree | df2e5eebc3dbd8e29153ab3a869b3be8d9be9f19 /dev-lua/mpack | |
parent | 491d0101c89d81dec507f28215b3cb094800d600 (diff) |
gentoo auto-resync : 23:06:2024 - 00:11:30
Diffstat (limited to 'dev-lua/mpack')
-rw-r--r-- | dev-lua/mpack/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/mpack/mpack-1.0.11.ebuild | 116 |
2 files changed, 0 insertions, 118 deletions
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest index a04345cf769f..cae6521afdeb 100644 --- a/dev-lua/mpack/Manifest +++ b/dev-lua/mpack/Manifest @@ -1,5 +1,3 @@ -DIST mpack-1.0.11.tar.gz 16305 BLAKE2B e076043259692dc1aecbb62498cd44e523a44e40c265adeb3edc088f7b81a9e5892b13bbb730107fe64804be684c15510e8aea603abdafc2003c659e6bff9143 SHA512 2bd76e3d12928cb51f475d58e2c8b749f4b2b8b45f72296f6dd46c13b31fee80e0c4859de9332a7232842f511e4a53d30b43aad563980fd026d04fd65fb57b7e DIST mpack-1.0.12.tar.gz 16524 BLAKE2B 7b2d5dbdbb72f6d792e366259ef5ba080872417b558ff8d4fd0877f5a9fbeb8794d6e1657034b74f0dffe5e1c03c0339060eebf9e85370619938cc7b8f03c540 SHA512 7df730ba98c9530d948252f2efa70cb6d4f65b0fbc3443de2239145e9ce1aa12dfa8acbbfd4b87edf19a529e3595c7a8955e00235f69aa3535d353f7f9a1c7d0 -EBUILD mpack-1.0.11.ebuild 2314 BLAKE2B 3e2d82b69a43b2b2d732487323d9b0ea1a186f3870a110a435f73abe49bc5272ea0c79727281e2f9319a28ae34396eecfa6d973576614114654e576cf11c01f7 SHA512 0fcf3750cd37447e227926d32d98e67bc7757afb1adc4b1ff0e4680248c562cb870135578b4f4cf4bc1a814c81e80d92bf46771676edaf01c64e74fb676ab2e0 EBUILD mpack-1.0.12.ebuild 2336 BLAKE2B 3e80f03bd2e428da69a3cd13007395ea0c163ae1dfe5beac80323ef6eeccc1dfae57210977787af198beb22d01c7681e2baed5aacc574778f040c50b0d9042e2 SHA512 030b299273f942b9bb6363216b38524adf679be6a3326d00a5546a1d25a9fa23dba7ddadc16f1d382fb40f5750d56e332db20ec9d504099b7f772dc7a6d27854 MISC metadata.xml 337 BLAKE2B 552e6b193055ff86ce3bc29ec14b7ba72bf99ba5458c8588af1d53b6d393759118103d95f9b3e3f4c8582b19f7daccf0a5b619a8b171f5c74e2a8ad4f0648875 SHA512 6cc2098e7e31232ff9b6aa2cecfe7f9cde61d1ee36efb190d87330a5b6088a9d43f999d3cbce632925c01e35806c09022170230934f526febe1bd24c384b3ce1 diff --git a/dev-lua/mpack/mpack-1.0.11.ebuild b/dev-lua/mpack/mpack-1.0.11.ebuild deleted file mode 100644 index 2cc20b76c877..000000000000 --- a/dev-lua/mpack/mpack-1.0.11.ebuild +++ /dev/null @@ -1,116 +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 ) - -inherit lua toolchain-funcs - -MY_PN="lib${PN}-lua" - -DESCRIPTION="Lua bindings for libmpack" -HOMEPAGE="https://github.com/libmpack/libmpack-lua/" -SRC_URI="https://github.com/${MY_PN/-lua/}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${PV}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos" -IUSE="test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/libmpack - ${LUA_DEPS} -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lua/busted[${LUA_USEDEP}] - dev-lua/lua_cliargs[${LUA_USEDEP}] - ${RDEPEND} - ) -" - -src_prepare() { - default - - lua_copy_sources -} - -lua_src_compile() { - pushd "${BUILD_DIR}" || die - - local myemakeargs=( - "CC=$(tc-getCC)" - "LUA_INCLUDE=$(lua_get_CFLAGS)" - "LUA_LIB=" - "USE_SYSTEM_MPACK=yes" - "USE_SYSTEM_LUA=yes" - ) - - emake "${myemakeargs[@]}" - - popd -} - -src_compile() { - lua_foreach_impl lua_src_compile -} - -lua_src_test() { - pushd "${BUILD_DIR}" || die - - # "[ FAILED ] test.lua @ 279: mpack should not leak memory" - # It doesn't seem upstream actually support LuaJIT so were this up to me - # I would drop it from LUA_COMPAT, unfortunately there are packages in the - # tree which currently expect it to be supported. - if [[ ${ELUA} == "luajit" ]]; then - ewarn "Not running tests under ${ELUA} because they are known to fail" - return - fi - - busted --lua="${ELUA}" test.lua || die - - popd -} - -src_test() { - lua_foreach_impl lua_src_test -} - -lua_src_install() { - pushd "${BUILD_DIR}" || die - - local installdir="$(lua_get_cmod_dir)" - local myemakeargs=( - "DESTDIR=${ED}" - "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}" - "USE_SYSTEM_MPACK=yes" - "USE_SYSTEM_LUA=yes" - ) - - emake "${myemakeargs[@]}" install - - popd - - if [[ ${CHOST} == *-darwin* ]] ; then - local luav=$(lua_get_version) - # we only want the major version (e.g. 5.1) - local luamv=${luav:0:3} - local file="lua/${luamv}/mpack.so" - install_name_tool \ - -id "${EPREFIX}/usr/$(get_libdir)/${file}" \ - "${ED}/usr/$(get_libdir)/${file}" \ - || die "Failed to adjust install_name" - fi -} - -src_install() { - lua_foreach_impl lua_src_install - - einstalldocs -} |