From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1205656-garchives=archives.gentoo.org@lists.gentoo.org>
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 DDEC9138359
	for <garchives@archives.gentoo.org>; Sun, 13 Sep 2020 09:16:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 31738E087F;
	Sun, 13 Sep 2020 09:16:56 +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 054B6E087F
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Sep 2020 09:16:55 +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 6AD66340D24
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Sep 2020 09:16:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E1FE233F
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Sep 2020 09:16:52 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1599988607.e0a9f1f990018d178a29dbcae70fd92951946b29.sam@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-2.2.0.ebuild dev-lua/luarocks/luarocks-3.2.1.ebuild dev-lua/luarocks/metadata.xml
X-VCS-Directories: dev-lua/luarocks/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e0a9f1f990018d178a29dbcae70fd92951946b29
X-VCS-Branch: master
Date: Sun, 13 Sep 2020 09:16:52 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 23e1c7e6-38a5-4c95-a70c-282574226647
X-Archives-Hash: 1959b8156cf29a511a71418963b57650

commit:     e0a9f1f990018d178a29dbcae70fd92951946b29
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 13 09:16:47 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 13 09:16:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0a9f1f9

dev-lua/luarocks: cleanup (inc. old EAPI 4 ebuild)

Closes: https://bugs.gentoo.org/739478
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lua/luarocks/Manifest              |  2 --
 dev-lua/luarocks/luarocks-2.2.0.ebuild | 52 ----------------------------------
 dev-lua/luarocks/luarocks-3.2.1.ebuild | 36 -----------------------
 dev-lua/luarocks/metadata.xml          |  6 ----
 4 files changed, 96 deletions(-)

diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest
index fbace4ca97b..dd6984a1219 100644
--- a/dev-lua/luarocks/Manifest
+++ b/dev-lua/luarocks/Manifest
@@ -1,3 +1 @@
-DIST luarocks-2.2.0.tar.gz 111549 BLAKE2B 214c1c03e03f95ca1acfc1fda863895c91c508221c615fe3ccc064e9adbcaa8549d24ff788141c0093259ca52578fadccfb3f6891209f86336c57937ac5ec32d SHA512 41f32e383263485758e64df661ecfbd744369035362755c64466f2c52a8740ed941b80cab3212222d7d24e4b1a7ed9ccb84fa66c8e458526056af0b06d97224f
-DIST luarocks-3.2.1.tar.gz 232149 BLAKE2B f8298ef054f50b8f70bf48748435a54f683ba8eef3113641e98b00e1aa872b95e75b36f0df96de7870d3576d3b9149dde8af1b68a3d7ceda86d3654dbad507c0 SHA512 9abf2c5477b9ab8e3caf485dd10fc154435b41efc13c7709f36a9182ccbd98d022738627f76901977a9b7c42ae61e5f139e78070d469094a7571910afbb747ff
 DIST luarocks-3.3.1.tar.gz 241636 BLAKE2B fd34d7a233bbf1c5f224bd04886a7f1382d63ffc014c8b78ae7924fb799d66a32e048298deed103686771263885c85c9173c013d1bbb3bad6a48e9fd99fdaac0 SHA512 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a

diff --git a/dev-lua/luarocks/luarocks-2.2.0.ebuild b/dev-lua/luarocks/luarocks-2.2.0.ebuild
deleted file mode 100644
index 5a450c989c0..00000000000
--- a/dev-lua/luarocks/luarocks-2.2.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils multilib
-
-DESCRIPTION="A deployment and management system for Lua modules"
-HOMEPAGE="http://www.luarocks.org"
-SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="curl openssl"
-
-DEPEND="dev-lang/lua
-		curl? ( net-misc/curl )
-		openssl? ( dev-libs/openssl )"
-RDEPEND="${DEPEND}
-		app-arch/unzip"
-
-src_configure() {
-	USE_MD5="md5sum"
-	USE_FETCH="wget"
-	use openssl && USE_MD5="openssl"
-	use curl && USE_FETCH="curl"
-
-	# econf doesn't work b/c it passes variables the custom configure can't
-	# handle
-	./configure \
-			--prefix=/usr \
-			--with-lua-lib=/usr/$(get_libdir) \
-			--rocks-tree=/usr/$(get_libdir)/lua/luarocks \
-			--with-downloader=$USE_FETCH \
-			--with-md5-checker=$USE_MD5 \
-			|| die "configure failed"
-}
-
-src_compile() {
-	# -j1 b/c make tries to delete files it has yet to create (bug #402005)
-	emake DESTDIR="${D}" -j1
-}
-
-src_install() {
-	# -j1 b/c otherwise it fails to find src/bin/luarocks
-	emake DESTDIR="${D}" -j1 install
-}
-
-pkg_preinst() {
-	find "${D}" -type f | xargs sed -i -e "s:${D}::g" || die "sed failed"
-}

diff --git a/dev-lua/luarocks/luarocks-3.2.1.ebuild b/dev-lua/luarocks/luarocks-3.2.1.ebuild
deleted file mode 100644
index 7607520b482..00000000000
--- a/dev-lua/luarocks/luarocks-3.2.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A deployment and management system for Lua modules"
-HOMEPAGE="http://www.luarocks.org"
-SRC_URI="http://luarocks.org/releases/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="libressl"
-
-DEPEND="dev-lang/lua:="
-RDEPEND="${DEPEND}
-	net-misc/curl
-	!libressl? ( dev-libs/openssl:0 )
-	libressl? ( dev-libs/libressl:0 )
-"
-BDEPEND="virtual/pkgconfig"
-
-src_configure() {
-	# econf doesn't work b/c it passes variables the custom configure can't
-	# handle
-	./configure \
-			--prefix="${EPRIFIX}/usr" \
-			--with-lua-lib="${EPRIFIX}/usr/$(get_libdir)" \
-			--rocks-tree="${EPRIFIX}/usr/$(get_libdir)/lua/luarocks" \
-			|| die "configure failed"
-}
-
-src_install() {
-	default
-	{ find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die "sed failed"
-}

diff --git a/dev-lua/luarocks/metadata.xml b/dev-lua/luarocks/metadata.xml
index da075190f82..da7ced9078f 100644
--- a/dev-lua/luarocks/metadata.xml
+++ b/dev-lua/luarocks/metadata.xml
@@ -9,12 +9,6 @@
 		<email>gyakovlev@gentoo.org</email>
 		<name>Georgy Yakovlev</name>
 	</maintainer>
-	<use>
-		<flag name="curl">Uses <pkg>net-misc/curl</pkg> for fetching lua
-			packages instead of <pkg>net-misc/wget</pkg>.</flag>
-		<flag name="openssl">Uses <pkg>dev-libs/openssl</pkg> for verifying lua
-			packages instead of md5sum.</flag>
-	</use>
 	<longdescription lang="en">
 		Package manager for Lua.