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 53ECB1382C5 for ; Wed, 27 Jan 2021 19:48:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66F9DE0C28; Wed, 27 Jan 2021 19:48:15 +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 4E20EE0C28 for ; Wed, 27 Jan 2021 19:48:15 +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 A78FD340E43 for ; Wed, 27 Jan 2021 19:48:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E746792 for ; Wed, 27 Jan 2021 19:48:11 +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: <1611776414.4b7e790de3436efa0ce50f2332ac44347fc8b2e5.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lua-cjson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/lua-cjson/lua-cjson-2.1.0.8.ebuild X-VCS-Directories: dev-lua/lua-cjson/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 4b7e790de3436efa0ce50f2332ac44347fc8b2e5 X-VCS-Branch: master Date: Wed, 27 Jan 2021 19:48:11 +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: ece1e75c-b1ab-48ec-a25d-7095239f6dc4 X-Archives-Hash: 83437d1e1e31142df34d7f78523e49a5 commit: 4b7e790de3436efa0ce50f2332ac44347fc8b2e5 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Jan 24 17:57:54 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jan 27 19:40:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7e790d dev-lua/lua-cjson: drop old version Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/lua-cjson/lua-cjson-2.1.0.8.ebuild | 70 ------------------------------ 1 file changed, 70 deletions(-) diff --git a/dev-lua/lua-cjson/lua-cjson-2.1.0.8.ebuild b/dev-lua/lua-cjson/lua-cjson-2.1.0.8.ebuild deleted file mode 100644 index 2b119941749..00000000000 --- a/dev-lua/lua-cjson/lua-cjson-2.1.0.8.ebuild +++ /dev/null @@ -1,70 +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 fast JSON encoding/parsing module for Lua" -HOMEPAGE="https://www.kyne.com.au/~mark/software/lua-cjson.php https://github.com/openresty/lua-cjson" -SRC_URI="https://github.com/openresty/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="+internal-fpconv luajit test +threads" -RESTRICT="!test? ( test )" -REQUIRED_USE="threads? ( internal-fpconv )" - -RDEPEND=" - luajit? ( dev-lang/luajit:2 ) - !luajit? ( dev-lang/lua:0 ) -" - -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-lang/perl )" - -DOCS=( "manual.txt" "NEWS" "performance.txt" "README.md" "THANKS" ) - -PATCHES=( "${FILESDIR}/${PN}-2.1.0.8-sparse_array_test_fix.patch" ) - -src_prepare() { - default - - # Don't install tests - sed -e '/cd tests/d' -i Makefile || die -} - -src_compile() { - local myemakeargs=( - "CC=$(tc-getCC)" - "CFLAGS=${CFLAGS}" - "LDFLAGS=${LDFLAGS}" - "LUA_INCLUDE_DIR=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'includedir' 'INSTALL_INC') $(usex luajit 'luajit' 'lua'))" - ) - - emake "${myemakeargs[@]}" -} - -src_test() { - cd tests || die - - ln -s "${S}"/cjson.so ./ || die - ln -s "${S}"/lua/cjson ./ || die - - ./genutf8.pl || die - ./test.lua || die -} - -src_install() { - local myemakeargs=( - "DESTDIR=${D}" - "LUA_CMODULE_DIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" - "LUA_MODULE_DIR=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" - "PREFIX=${EPREFIX}/usr" - ) - - emake "${myemakeargs[@]}" install install-extra - - einstalldocs -}