* [gentoo-commits] repo/gentoo:master commit in: dev-lang/open-cobol/
@ 2022-11-24 11:17 Alfredo Tupone
0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2022-11-24 11:17 UTC (permalink / raw
To: gentoo-commits
commit: 8fc8ad0d748cd320ce825383c289ea3281c8cc2e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 09:55:57 2022 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 11:17:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc8ad0d
dev-lang/open-cobol: prepare for move to gnucobol
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-lang/open-cobol/metadata.xml | 12 ++++++++++++
dev-lang/open-cobol/open-cobol-1.1.ebuild | 7 +++++--
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/dev-lang/open-cobol/metadata.xml b/dev-lang/open-cobol/metadata.xml
index e94ff8ae58cb..deafad69d61d 100644
--- a/dev-lang/open-cobol/metadata.xml
+++ b/dev-lang/open-cobol/metadata.xml
@@ -5,6 +5,18 @@
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Alfredo Tupone</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>anton.kochkov@gmail.com</email>
+ <name>Anton Kochkov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="sourceforge">open-cobol</remote-id>
</upstream>
diff --git a/dev-lang/open-cobol/open-cobol-1.1.ebuild b/dev-lang/open-cobol/open-cobol-1.1.ebuild
index d7fd39c417a0..fa480cae9180 100644
--- a/dev-lang/open-cobol/open-cobol-1.1.ebuild
+++ b/dev-lang/open-cobol/open-cobol-1.1.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="open-cobol"
+MYP=${MY_PN}-${PV}
# Future proof pkg if maintainer or p-m want to bump to latest GNUCobol
DESCRIPTION="an open-source COBOL compiler"
HOMEPAGE="https://sourceforge.net/projects/open-cobol/"
-SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MYP}.tar.gz"
LICENSE="GPL-2 LGPL-2.1"
# License must be changed to GPL-3+ if/when pkgmove is done
@@ -25,6 +26,8 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS ChangeLog NEWS README )
+S="${WORKDIR}"/${MYP}
+
src_configure() {
econf \
$(use_with berkdb db) \
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/open-cobol/
@ 2019-11-23 19:52 Aaron Bauman
0 siblings, 0 replies; 2+ messages in thread
From: Aaron Bauman @ 2019-11-23 19:52 UTC (permalink / raw
To: gentoo-commits
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
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-24 11:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-24 11:17 [gentoo-commits] repo/gentoo:master commit in: dev-lang/open-cobol/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2019-11-23 19:52 Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox