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 8B9D21382C5 for ; Sat, 9 Jan 2021 14:29:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 164ADE08C8; Sat, 9 Jan 2021 14:29:49 +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 E153FE08C8 for ; Sat, 9 Jan 2021 14:29:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C0DF03410D3 for ; Sat, 9 Jan 2021 14:29:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A12C498 for ; Sat, 9 Jan 2021 14:29:44 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1610202561.6ce9d557ccd5cca926a608222adbd17be2e56423.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luarocks/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/luarocks/Manifest dev-lua/luarocks/luarocks-3.4.0-r100.ebuild dev-lua/luarocks/luarocks-3.4.0.ebuild X-VCS-Directories: dev-lua/luarocks/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 6ce9d557ccd5cca926a608222adbd17be2e56423 X-VCS-Branch: master Date: Sat, 9 Jan 2021 14:29:44 +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: 819b67c9-af2b-45dc-acee-e1a90247c6ac X-Archives-Hash: 61215cd496331536840f78dc50e49377 commit: 6ce9d557ccd5cca926a608222adbd17be2e56423 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Jan 9 14:20:13 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jan 9 14:29:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce9d557 dev-lua/luarocks: drop old version Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luarocks/Manifest | 1 - dev-lua/luarocks/luarocks-3.4.0-r100.ebuild | 87 ----------------------------- dev-lua/luarocks/luarocks-3.4.0.ebuild | 71 ----------------------- 3 files changed, 159 deletions(-) diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest index 35bc6852df4..80635d0e56e 100644 --- a/dev-lua/luarocks/Manifest +++ b/dev-lua/luarocks/Manifest @@ -1,3 +1,2 @@ DIST luarocks-3.3.1.tar.gz 241636 BLAKE2B fd34d7a233bbf1c5f224bd04886a7f1382d63ffc014c8b78ae7924fb799d66a32e048298deed103686771263885c85c9173c013d1bbb3bad6a48e9fd99fdaac0 SHA512 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a -DIST luarocks-3.4.0.tar.gz 244013 BLAKE2B 873c315ca3616179d20d665ceb09b8549c6f007d721581751bb4bb27d147547a52f5be1458541f9c0f936fcc3659c1d8eb253431ee0cf12530f3bef09aa838a3 SHA512 111ef93cbc4c0d79fdb26d9696b76e6b9e7fb1e30029db43feae9622cc6dd89991f1a62f87af0ca11f4043cb0d445ec73c5edf53e1af5f0d9bc4f756d4c18151 DIST luarocks-3.5.0.tar.gz 244798 BLAKE2B 24ceead8953ad6d9eefbf471fd49e0bd82256cc00c201395770919a680873544db67f062a4af93ddd390985b0b74db55e37a95516287dfc1e077a25b67c9f264 SHA512 fda01b7149839adf7c0e1c05d0f1793e79575c5d378d96ee1e197828e9b9b6e89a635f8a26a5b71db5b48465ef74b219fac18ecdbd59962cbf9da613b05dd42a diff --git a/dev-lua/luarocks/luarocks-3.4.0-r100.ebuild b/dev-lua/luarocks/luarocks-3.4.0-r100.ebuild deleted file mode 100644 index 8075c2212cf..00000000000 --- a/dev-lua/luarocks/luarocks-3.4.0-r100.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..3} luajit ) - -inherit lua-single - -DESCRIPTION="A package manager for the Lua programming language" -HOMEPAGE="https://luarocks.org" -SRC_URI="https://luarocks.org/releases/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="libressl test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="test" - -RDEPEND="${LUA_DEPS}" - -DEPEND=" - net-misc/curl - libressl? ( dev-libs/libressl:0 ) - !libressl? ( dev-libs/openssl:0 ) - ${RDEPEND} -" - -BDEPEND=" - virtual/pkgconfig - test? ( - $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') - $(lua_gen_cond_dep 'dev-lua/busted-htest[${LUA_USEDEP}]') - ${RDEPEND} - ) -" - -src_prepare() { - default - - # If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists, - # as no compiled modules are installed on a new, fresh installation, - # so this check must be disabled, otherwise 'configure' will fail. - sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die -} - -src_configure() { - local myeconfargs=( - "--prefix=${EPREFIX}/usr" - "--rocks-tree=$(lua_get_lmod_dir)" - "--with-lua-include=$(lua_get_include_dir)" - "--with-lua-interpreter=${ELUA}" - "--with-lua-lib=$(lua_get_cmod_dir)" - ) - - # Since the configure script is handcrafted, - # and yells at unknown options, do not use 'econf'. - ./configure "${myeconfargs[@]}" || die -} - -src_test() { - busted --lua=${ELUA} || die -} - -src_install() { - default - - { find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die -} - -pkg_postinst() { - local lua_abi_ver - if use lua_single_target_luajit; then - lua_abi_ver="5.1" - else - lua_abi_ver=${ELUA#lua} - fi - elog - elog "To manage rocks for a Lua version other than the current ${CATEGORY}/${PN} default (${lua_abi_ver})" - elog "you can use the command-line option --lua-version, e.g." - elog - elog " luarocks --lua-version 5.3 install luasocket" - elog - elog "(use 5.1 for luajit). Note that the relevant Lua version must already be present in the system." - elog -} diff --git a/dev-lua/luarocks/luarocks-3.4.0.ebuild b/dev-lua/luarocks/luarocks-3.4.0.ebuild deleted file mode 100644 index 52063734ca5..00000000000 --- a/dev-lua/luarocks/luarocks-3.4.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="A package manager for the Lua programming language" -HOMEPAGE="https://luarocks.org" -SRC_URI="https://luarocks.org/releases/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="luajit libressl test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="test" - -RDEPEND=" - luajit? ( dev-lang/luajit:2 ) - !luajit? ( >=dev-lang/lua-5.1:0 ) -" - -DEPEND=" - net-misc/curl - libressl? ( dev-libs/libressl:0 ) - !libressl? ( dev-libs/openssl:0 ) - ${RDEPEND} -" - -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lua/busted - dev-lua/busted-htest - ${RDEPEND} - ) -" - -src_prepare() { - default - - # If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists, - # as no compiled modules are installed on a new, fresh installation, - # so this check must be disabled, otherwise 'configure' will fail. - sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die -} - -src_configure() { - local myeconfargs=( - "--prefix=${EPREFIX}/usr" - "--rocks-tree=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" - "--with-lua-include=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'includedir' 'INSTALL_INC') $(usex luajit 'luajit' 'lua'))" - "--with-lua-interpreter=$(usex luajit 'luajit' 'lua')" - "--with-lua-lib=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" - ) - - # Since the configure script is handcrafted, - # and yells at unknown options, do not use 'econf'. - ./configure "${myeconfargs[@]}" || die -} - -src_test() { - busted --lua=${ELUA} || die -} - -src_install() { - default - - { find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die -}