From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1124891-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 51E4A138334
	for <garchives@archives.gentoo.org>; Sat, 23 Nov 2019 19:52:26 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 937EBE078A;
	Sat, 23 Nov 2019 19:52:25 +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 74C7CE078A
	for <gentoo-commits@lists.gentoo.org>; Sat, 23 Nov 2019 19:52:25 +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 0100B34D27F
	for <gentoo-commits@lists.gentoo.org>; Sat, 23 Nov 2019 19:52:24 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A4195FF
	for <gentoo-commits@lists.gentoo.org>; Sat, 23 Nov 2019 19:52:22 +0000 (UTC)
From: "Aaron Bauman" <bman@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, "Aaron Bauman" <bman@gentoo.org>
Message-ID: <1574538728.b17c2c4f8a7fe2808c0f31c8d37ad82f199f5d28.bman@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/open-cobol/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/open-cobol/open-cobol-1.1.ebuild
X-VCS-Directories: dev-lang/open-cobol/
X-VCS-Committer: bman
X-VCS-Committer-Name: Aaron Bauman
X-VCS-Revision: b17c2c4f8a7fe2808c0f31c8d37ad82f199f5d28
X-VCS-Branch: master
Date: Sat, 23 Nov 2019 19:52:22 +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: fd742aa3-9d08-4a35-9680-513b5773985c
X-Archives-Hash: aa9077a7e692af718670ebc6c0b948b9

commit:     b17c2c4f8a7fe2808c0f31c8d37ad82f199f5d28
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 19:48:40 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 19:52:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17c2c4f

dev-lang/open-cobol: bump EAPI and stuff

* bump EAPI to 7
* Fix HOMEPAGE
* Use MY_PN to future proof if maintainer or p-m want to bump to GnuCOBOL
* License remains the same unless pkgmove is done
* Use src_configure and remove other unneeded stuff

Bug: https://bugs.gentoo.org/641888
Bug: https://bugs.gentoo.org/685960
Closes: https://bugs.gentoo.org/697350

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-lang/open-cobol/open-cobol-1.1.ebuild | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

diff --git a/dev-lang/open-cobol/open-cobol-1.1.ebuild b/dev-lang/open-cobol/open-cobol-1.1.ebuild
index a34d440d937..83ba13532f6 100644
--- a/dev-lang/open-cobol/open-cobol-1.1.ebuild
+++ b/dev-lang/open-cobol/open-cobol-1.1.ebuild
@@ -1,35 +1,34 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
-inherit eutils
+MY_PN="open-cobol"
+# Future proof pkg if maintainer or p-m want to bump to latest GNUCobol
 
 DESCRIPTION="an open-source COBOL compiler"
-HOMEPAGE="http://www.opencobol.org/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/open-cobol/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.tar.gz"
 
 LICENSE="GPL-2 LGPL-2.1"
+# License must be changed to GPL-3+ if/when pkgmove is done
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="berkdb nls readline"
 
-RDEPEND="dev-libs/gmp
-	berkdb? ( =sys-libs/db-4* )
+RDEPEND="dev-libs/gmp:0=
+	berkdb? ( sys-libs/db:4.8= )
 	sys-libs/ncurses
 	readline? ( sys-libs/readline )"
 DEPEND="${RDEPEND}
 	sys-devel/libtool"
 
-src_compile() {
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
 	econf \
 		$(use_with berkdb db) \
 		$(use_enable nls) \
-		$(use_with readline) || die "econf failed."
-	emake || die "emake failed."
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die "emake install failed."
-	dodoc AUTHORS ChangeLog NEWS README
+		$(use_with readline)
+	default
 }