From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AE6421382C5 for ; Tue, 29 Dec 2020 20:00:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4AAEE0CAB; Tue, 29 Dec 2020 20:00:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C890BE0CAB for ; Tue, 29 Dec 2020 20:00:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BD997341262 for ; Tue, 29 Dec 2020 20:00:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AB4246F for ; Tue, 29 Dec 2020 20:00:29 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1609271994.52cefbb87f2cb424a1697a514f1df1e6d4cba87d.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/lua/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/lua/lua-5.1.5-r5.ebuild X-VCS-Directories: dev-lang/lua/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 52cefbb87f2cb424a1697a514f1df1e6d4cba87d X-VCS-Branch: master Date: Tue, 29 Dec 2020 20:00:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b3ce30c-1a49-4724-a861-e07f766d379c X-Archives-Hash: cb04edb892ec1bc2f21950f79fdc4c93 commit: 52cefbb87f2cb424a1697a514f1df1e6d4cba87d Author: William Hubbs gentoo org> AuthorDate: Tue Dec 29 19:59:54 2020 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Dec 29 19:59:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52cefbb8 dev-lang/lua: remove 5.1.5-r5 (this version was broken) Signed-off-by: William Hubbs gentoo.org> dev-lang/lua/lua-5.1.5-r5.ebuild | 113 --------------------------------------- 1 file changed, 113 deletions(-) diff --git a/dev-lang/lua/lua-5.1.5-r5.ebuild b/dev-lang/lua/lua-5.1.5-r5.ebuild deleted file mode 100644 index 0d03622ce72..00000000000 --- a/dev-lang/lua/lua-5.1.5-r5.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils multilib multilib-minimal portability toolchain-funcs versionator flag-o-matic - -DESCRIPTION="A powerful light-weight programming language designed for extending applications" -HOMEPAGE="http://www.lua.org/" -SRC_URI="http://www.lua.org/ftp/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="+deprecated emacs readline doc" - -RDEPEND="readline? ( >=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND}" -PDEPEND="emacs? ( app-emacs/lua-mode )" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/luaconf.h -) - -src_prepare() { - # Correct documentation link - sed -i -e 's:\(/README\)\("\):\1.gz\2:g' doc/readme.html || die - - # Using dynamic linked lua is not recommended for performance - # reasons. http://article.gmane.org/gmane.comp.lang.lua.general/18519 - # Mainly, this is of concern if your arch is poor with GPRs, like x86. - - # Therefore both lua interpreter and compiler are statically linked to - # the core library modules. - - # Note: This patch only adds the required targets to the makefiles - # instead of relying upon libtool, which fails cross-compiling. Both - # shared and static versions of lua libraries are installed. - epatch "${FILESDIR}"/${P}-gentoo-build.patch - - # Rename deprecated functions in scripts - use deprecated || epatch "${FILESDIR}"/${P}-disable-deprecated.patch - - # Remove readline dependency if not requested - use readline || epatch "${FILESDIR}"/${P}-disable-readline.patch - - epatch "${FILESDIR}/${P}-fix_vararg_calls.patch" - - # Required by EAPI >= 6 - eapply_user - - # Add documentation URIs if needed - use doc && \ - HTML_DOCS=( doc/*.{html,css,png,gif} ) && \ - DOCS="HISTORY README" - - # custom Makefiles - multilib_copy_sources -} - -multilib_src_configure() { - # Fix directories according to FHS/Gentoo policy paths and ABI - sed -i \ - -e 's:/usr/local:'${EPREFIX}'/usr:' \ - -e 's:/man/:/share/man/:' \ - -e "s:\([/\"]\)\:\1$(get_libdir):g" \ - Makefile etc/lua.pc src/luaconf.h doc/manual.html || die -} - -multilib_src_compile() { - append-cflags "-DLUA_USE_LINUX" - append-ldflags "-Wl,-E" - tc-export AR CC CPP LD RANLIB - emake \ - MYLDFLAGS="${LDFLAGS}" \ - MYCFLAGS="${CFLAGS}" \ - linux -} - -multilib_src_install() { - emake -j1 install INSTALL_TOP="${ED}/usr" - - insinto usr/$(get_libdir)/pkgconfig - doins etc/lua.pc -} - -multilib_src_install_all() { - einstalldocs -r - - doicon etc/lua.ico - - doman doc/lua.1 doc/luac.1 -} - -multilib_src_test() { - # These tests MUST succeed for the ebuild to succeed - local MUST_SUCCEED="bisect cf echo env factorial fib fibfor hello printf sieve - sort trace-calls trace-globals" - - # These tests MUST fail for the ebuild to succeed - local MUST_FAIL="readonly" - - cd "${BUILD_DIR}" || die - - local test - for test in ${MUST_SUCCEED}; do - src/lua test/${test}.lua || die "test $test failed" - done - - for test in ${MUST_FAIL}; do - src/lua test/${test}.lua && die "test $test failed" - done -}