From 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 14 Dec 2020 13:26:14 +0000 Subject: gentoo resync : 14.12.2020 --- dev-lua/luasocket/Manifest | 2 +- .../luasocket-3.0_rc1_p20200328-r100.ebuild | 90 -------------------- .../luasocket-3.0_rc1_p20200328-r101.ebuild | 97 ++++++++++++++++++++++ 3 files changed, 98 insertions(+), 91 deletions(-) delete mode 100644 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild create mode 100644 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild (limited to 'dev-lua/luasocket') diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest index 964e87c6bdff..1505bfd67933 100644 --- a/dev-lua/luasocket/Manifest +++ b/dev-lua/luasocket/Manifest @@ -2,6 +2,6 @@ AUX proxy-fix.patch 1026 BLAKE2B 6dde53833c9b35e059a4c1e7052cb494b4e1ceb2dc496a2 DIST luasocket-3.0_rc1.tar.gz 328598 BLAKE2B 9cc382d909cfa018edec237ac901220cccb0cf0e3a775b9cd8083487ace42a94dfd280f9423097f677f37ee9f85afcfff844250cd49c0f813b7c50c3adc532c5 SHA512 f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540 DIST luasocket-3.0_rc1_p20200328.tar.gz 335628 BLAKE2B 9e5d3e415337903b689705669b586c4481179a319b4e3428823c8f442d04f26db86bfeca66db7e58d157e31431c31e4f687403f7163b75f57d6f87cdb934717f SHA512 bdf7086a0504b0072b9cfd1266fc4ae89504053801722859a426f567fca00ed76f4c295c2a3a968e93f0036d9b792cf97561e9baa82c09ea23999cfd473227eb EBUILD luasocket-3.0_rc1-r5.ebuild 1269 BLAKE2B 2d68f6772b9b9b64f6e4a7019fe0fbb0d1b06853b22dbf6b25df7e1009fc9cadf71d011ce25192533b2327e9c9a0e696922da36e37e979ebcb684c385fc38be3 SHA512 e26279b51433c160b3eeed4891684ef339c711986ffd6bce5f0b89b714bcdaac792b033cf6a28558be8c5660dd12258e513a7025465a34be53e07e4130bbae39 -EBUILD luasocket-3.0_rc1_p20200328-r100.ebuild 1948 BLAKE2B 520cca570a1bc4a66d6bfbf4668a035857265d983a13159b630445333df23d5959098752288a509fd27e2352a00c66af2c1bf129c9835eb79ac7a6eb9cdb3163 SHA512 b9631e0d568994989ef221f5bade7d3c67346638a3827787f53fe5f4052aa6d74843b08b9d0accae75a3b574d7d4d6c203697454bad48edc5a74461ea595d314 +EBUILD luasocket-3.0_rc1_p20200328-r101.ebuild 2090 BLAKE2B b05de5f8feb553e4a58c446d016a2bebb66ccac4c2d5927f246856a2b4b055c8a0c5e6e003a3e77ed19ca51871028b06436c94cabb21be6981a316b52ce6979c SHA512 eeca0edc2aa3c3e9d5a940c78610e45c56705ef55e0659120f2643b350cc00d8f5eb7ccca9f372d2493838e39adfcdac40a2593ad4cf3ddfe972652f47bd5df6 EBUILD luasocket-3.0_rc1_p20200328.ebuild 1824 BLAKE2B acd961363bba7bd85d0437f2b81712863becfefef7cb76172b9ae88a189065ee5a5ae5035a35923df1a9de96ab2df04fa624ef8fefae3a952d27ae13f1e86309 SHA512 afc8bf466ffcd25e15899e043a7fa5fd9cad9d3025abb8931c14471b53a12b8262d3f714ed3b611f4216c131d5cf2cff9ba0790642bb2cd8199d42d729f13b98 MISC metadata.xml 572 BLAKE2B 22a011f8d4e4f921389561208866b4740ac3d16bd8868958ec3aa06cded706d3444b9cb24fa79f2ecedd1d315ce6f2e6b95853eada6abe404cc49225ed291ef0 SHA512 6a4010f7f130b00f9819677e701496b056fbd9ee382881f2efe61877dcefae594cc8dbeab688ed99822e9335e0b484d4774a0209f47aa8527f6f95a134382b0c diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild deleted file mode 100644 index 479cb3ff4eef..000000000000 --- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62" -LUA_COMPAT=( lua5-{1..3} ) -LUA_REQ_USE="${MULTILIB_USEDEP}" - -inherit flag-o-matic lua multilib multilib-minimal toolchain-funcs - -DESCRIPTION="Networking support library for the Lua language" -HOMEPAGE=" - http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/ - https://github.com/diegonehab/luasocket -" -SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="test" - -RDEPEND="${LUA_DEPS}" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -HTML_DOCS="doc/." - -src_prepare() { - default - - # Respect users CFLAGS - sed -e 's/-O2 -ggdb3//g' -i src/makefile || die - - # Workaround for 32-bit systems - append-cflags -fno-stack-protector - - multilib_copy_sources -} - -lua_multilib_src_compile() { - # Clean project, to compile it for every lua slot - emake clean - - local myemakeargs=( - "CC=$(tc-getCC)" - "LD=$(tc-getCC)" - "LDFLAGS_linux=-O -fpic -shared -o" - "LUAINC_linux=$(lua_get_include_dir)" - "LUAV=${ELUA}" - "MIME_V=1.0.3-${ELUA}" - "MYCFLAGS=${CFLAGS}" - "MYLDFLAGS=${LDFLAGS}" - "SOCKET_V=3.0-rc1-${ELUA}" - ) - - emake "${myemakeargs[@]}" all -} - -multilib_src_compile() { - lua_foreach_impl lua_multilib_src_compile -} - -lua_multilib_src_install() { - local myemakeargs=( - "CDIR=$(lua_get_cmod_dir)" - "DESTDIR=${ED}" - "LDIR=$(lua_get_lmod_dir)" - "LUAPREFIX_linux=" - "MIME_V=1.0.3-${ELUA}" - "SOCKET_V=3.0-rc1-${ELUA}" - ) - - emake "${myemakeargs[@]}" install - emake "${myemakeargs[@]}" install-unix - - insinto "$(lua_get_include_dir)"/luasocket - doins src/*.h -} - -multilib_src_install() { - lua_foreach_impl lua_multilib_src_install -} - -multilib_src_install_all() { - einstalldocs -} diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild new file mode 100644 index 000000000000..dab20430d3c6 --- /dev/null +++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62" +LUA_COMPAT=( lua5-{1..3} ) +LUA_REQ_USE="${MULTILIB_USEDEP}" +MY_P="${PN}-${EGIT_COMMIT}" + +inherit flag-o-matic lua multilib-minimal toolchain-funcs + +DESCRIPTION="Networking support library for the Lua language" +HOMEPAGE=" + http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/ + https://github.com/diegonehab/luasocket +" +SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +HTML_DOCS="doc/." + +src_prepare() { + default + + # Respect users CFLAGS + sed -e 's/-O2 -ggdb3//g' -i src/makefile || die + + # Workaround for 32-bit systems + append-cflags -fno-stack-protector + + lua_copy_sources + lua_foreach_impl multilib_copy_sources +} + +lua_multilib_src_compile() { + pushd "${WORKDIR}/${MY_P}-${ELUA/./-}-${MULTILIB_ABI_FLAG}.${ABI}" || die + + local myemakeargs=( + "CC=$(tc-getCC)" + "LD=$(tc-getCC)" + "LDFLAGS_linux=-O -fpic -shared -o" + "LUAINC_linux=$(lua_get_include_dir)" + "LUAV=${ELUA}" + "MIME_V=1.0.3-${ELUA}" + "MYCFLAGS=${CFLAGS}" + "MYLDFLAGS=${LDFLAGS}" + "SOCKET_V=3.0-rc1-${ELUA}" + ) + + emake "${myemakeargs[@]}" all + + popd +} + +multilib_src_compile() { + lua_foreach_impl lua_multilib_src_compile +} + +lua_multilib_src_install() { + pushd "${WORKDIR}/${MY_P}-${ELUA/./-}-${MULTILIB_ABI_FLAG}.${ABI}" || die + + local myemakeargs=( + "CDIR=$(lua_get_cmod_dir)" + "DESTDIR=${ED}" + "LDIR=$(lua_get_lmod_dir)" + "LUAPREFIX_linux=" + "MIME_V=1.0.3-${ELUA}" + "SOCKET_V=3.0-rc1-${ELUA}" + ) + + emake "${myemakeargs[@]}" install + emake "${myemakeargs[@]}" install-unix + + insinto "$(lua_get_include_dir)"/luasocket + doins src/*.h + + popd +} + +multilib_src_install() { + lua_foreach_impl lua_multilib_src_install +} + +multilib_src_install_all() { + einstalldocs +} -- cgit v1.2.3