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 EE4AD1382C5 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 4317EE0C30; Wed, 27 Jan 2021 19:48:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2C11AE0C30 for ; Wed, 27 Jan 2021 19:48:16 +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 5D481341048 for ; Wed, 27 Jan 2021 19:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D0514AE for ; Wed, 27 Jan 2021 19:48:12 +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: <1611776420.67edd7bbec39255f7784ff73d457ecb4a0c49679.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luadbi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/luadbi/luadbi-0.7.2.ebuild X-VCS-Directories: dev-lua/luadbi/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 67edd7bbec39255f7784ff73d457ecb4a0c49679 X-VCS-Branch: master Date: Wed, 27 Jan 2021 19:48:12 +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: 5d0e3219-f80f-418f-b12f-09e2513faf86 X-Archives-Hash: 8ea4f8e9795ef6678a82aea7af6e6b3f commit: 67edd7bbec39255f7784ff73d457ecb4a0c49679 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Jan 24 18:05:38 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jan 27 19:40:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67edd7bb dev-lua/luadbi: drop old version Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luadbi/luadbi-0.7.2.ebuild | 65 -------------------------------------- 1 file changed, 65 deletions(-) diff --git a/dev-lua/luadbi/luadbi-0.7.2.ebuild b/dev-lua/luadbi/luadbi-0.7.2.ebuild deleted file mode 100644 index 2ddcc6056bd..00000000000 --- a/dev-lua/luadbi/luadbi-0.7.2.ebuild +++ /dev/null @@ -1,65 +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 database interface library for Lua" -HOMEPAGE="https://github.com/mwild1/luadbi" -SRC_URI="https://github.com/mwild1/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 x86" -IUSE="mysql postgres +sqlite test" -REQUIRED_USE="|| ( mysql postgres sqlite )" -RESTRICT="test" - -RDEPEND=" - >=dev-lang/lua-5.1:0= - mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite ) -" - -DEPEND="${RDEPEND}" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}/${PN}-0.7.2-mysql-8.patch" ) - -src_prepare() { - default - - # Respect users CFLAGS - sed -e 's/-g //' -e 's/-O2 //g' -i Makefile || die -} - -src_compile() { - tc-export AR CC - - local myemakeargs=( - "LUA_INC=-I$($(tc-getPKG_CONFIG) --variable INSTALL_INC lua)/lua5.1" - ) - - use mysql && emake ${myemakeargs} MYSQL_INC="-I$(mariadb_config --libs)" mysql - use postgres && emake ${myemakeargs} PSQL_INC="-I$(pg_config --libdir)" psql - use sqlite emake ${myemakeargs} SQLITE3_INC="-I/usr/include" sqlite -} - -src_test() { - cd "${S}"/tests && lua run_tests.lua || die -} - -src_install() { - local myemakeargs=( - DESTDIR="${ED}" - LUA_CDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)" - LUA_LDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" - ) - - use mysql && emake ${myemakeargs[@]} install_mysql - use postgres && emake ${myemakeargs[@]} install_psql - use sqlite && emake ${myemakeargs[@]} install_sqlite3 -}