From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- dev-lua/luaposix/Manifest | 2 +- dev-lua/luaposix/luaposix-35.0-r101.ebuild | 76 ----------------------------- dev-lua/luaposix/luaposix-35.0-r102.ebuild | 77 ++++++++++++++++++++++++++++++ 3 files changed, 78 insertions(+), 77 deletions(-) delete mode 100644 dev-lua/luaposix/luaposix-35.0-r101.ebuild create mode 100644 dev-lua/luaposix/luaposix-35.0-r102.ebuild (limited to 'dev-lua/luaposix') diff --git a/dev-lua/luaposix/Manifest b/dev-lua/luaposix/Manifest index da49f5e24ea1..ca4e1afda115 100644 --- a/dev-lua/luaposix/Manifest +++ b/dev-lua/luaposix/Manifest @@ -1,3 +1,3 @@ DIST luaposix-35.0.tar.gz 178091 BLAKE2B b2d2ca01f18f0e98b45008919fc886e05d2cad034c84e870900c33891dd5867d9bc7aa8deae06c3f3f0852db902c1e766e693162b32ed474eb710b379bf9e3ed SHA512 4bb61892b78d9e59418a9a6360b9f611fb9b5438b9261a2c6672f053a1b21dfd9a2060b8d2f0d3eac6185773cf84672c1769c081c4ab53d2ddae2232e4a9269b -EBUILD luaposix-35.0-r101.ebuild 1739 BLAKE2B 338f0fcdf903219c4b759994546661ae676c19499b8290c2eac7fbb47e38b4a3893f1e883933d5bdc58d5fe66bbdade98da31f53ad64a014592d0f07f1c8e1db SHA512 4ebeea72e3b5adc5a59db1865d27962c723d010197b2287af97c528cde304ba1aa8d93596e87b6e3ec17c3e4dbe7fbd86d9d4848fe20f86cc83100086e655acc +EBUILD luaposix-35.0-r102.ebuild 1802 BLAKE2B 73eea4ca5bd7fee3714b300aee02932b7b56345d7ccde35ef6cebf3bc6062e4293078f849b39ed00b96a7e635160db8746fae32e1bb075b95c0cc226d404f1e3 SHA512 cf0495453e49f0f1a1c787088c613e40988f6b23d4043ba6ceab51b11462f622487c2bb413782b0a0cab439c6b06f5defac5b3a48339583f8ee85051a4be642d MISC metadata.xml 504 BLAKE2B e1d4aa804daf372530735ca8e8c63e48b217c8727d9df5f43a11eee19c3368f3310f3da82fe8d13dbb390447560189fadaaf2afe0f5c4c25cd1788fdd0c0c951 SHA512 0255f682b22f979f210bda8293f1debee04fee7582a384630aee77bb0265dd7e7ee424f0d925a78e520e9ab6d0babb33f8676d0b1ce3f88adcfd61b1ba374477 diff --git a/dev-lua/luaposix/luaposix-35.0-r101.ebuild b/dev-lua/luaposix/luaposix-35.0-r101.ebuild deleted file mode 100644 index 03e1676c00c5..000000000000 --- a/dev-lua/luaposix/luaposix-35.0-r101.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit lua toolchain-funcs - -DESCRIPTION="Bindings for POSIX APIs" -HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" -SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux ~x86-linux" - -IUSE="doc" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -# Requires specl, which is not in the tree yet -RESTRICT="test" - -DEPEND="${LUA_DEPS}" -RDEPEND="${DEPEND} - lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] ) - lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] ) -" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # Temporary fix for respect LDFLAGS (#739050) - # Fixed in luke 0.2.1 - sed -i -e "s:c_module,libdirs:c_module,'\$LDFLAGS',libdirs:g" \ - build-aux/luke || die - - lua_copy_sources -} - -lua_src_compile() { - pushd "${BUILD_DIR}" || die - - # LDOC=true means disable ldoc update documentation - ./build-aux/luke --verbose package="${PN}" version="${PV}" \ - LDOC=true \ - PREFIX="${ED}/usr" \ - INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ - INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die - - popd || die -} - -src_compile() { - lua_foreach_impl lua_src_compile -} - -lua_src_install() { - pushd "${BUILD_DIR}" || die - - ./build-aux/luke install \ - LDOC=true \ - PREFIX="${ED}/usr" \ - INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ - INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ - || die - - popd || die -} - -src_install() { - lua_foreach_impl lua_src_install - dodoc {NEWS,README}.md - use doc && dodoc -r doc -} diff --git a/dev-lua/luaposix/luaposix-35.0-r102.ebuild b/dev-lua/luaposix/luaposix-35.0-r102.ebuild new file mode 100644 index 000000000000..164481402ea1 --- /dev/null +++ b/dev-lua/luaposix/luaposix-35.0-r102.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua toolchain-funcs + +DESCRIPTION="Bindings for POSIX APIs" +HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" +SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~arm ~arm64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +# Requires specl, which is not in the tree yet +RESTRICT="test" + +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND} + lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] ) + lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] ) +" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Temporary fix for respect LDFLAGS (#739050) + # Fixed in luke 0.2.1 + sed -i -e "s:c_module,libdirs:c_module,'\$LDFLAGS',libdirs:g" \ + build-aux/luke || die + + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + # LDOC=true means disable ldoc update documentation + ./build-aux/luke --verbose package="${PN}" version="${PV}" \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + LUA_INCDIR="${EPREFIX}/$(lua_get_include_dir)" \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die + + popd || die +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + ./build-aux/luke install \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + || die + + popd || die +} + +src_install() { + lua_foreach_impl lua_src_install + dodoc {NEWS,README}.md + use doc && dodoc -r doc +} -- cgit v1.2.3