From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libevocosm/
Date: Wed, 10 Feb 2021 22:03:58 +0000 (UTC) [thread overview]
Message-ID: <1612994635.3a82cde2b556a7c0e3ff99a7384a95da91f20d34.sam@gentoo> (raw)
commit: 3a82cde2b556a7c0e3ff99a7384a95da91f20d34
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 10 21:59:40 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 10 22:03:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a82cde2
dev-libs/libevocosm: port to EAPI 7
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild | 33 +++++++++++++-------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
index 877fc757d40..310e22a38db 100644
--- a/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
+++ b/dev-libs/libevocosm/libevocosm-3.3.1-r1.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-
-inherit eutils ltprune
+EAPI=7
DESCRIPTION="A C++ framework for evolutionary computing"
HOMEPAGE="http://www.coyotegulch.com/products/libevocosm/"
@@ -12,37 +10,40 @@ SRC_URI="http://www.coyotegulch.com/distfiles/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
-IUSE="doc static-libs"
-
+BDEPEND="doc? ( app-doc/doxygen )"
RDEPEND="dev-libs/libcoyotl
dev-libs/libbrahe"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
+DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README )
-src_prepare() {
- epatch "${FILESDIR}/${P}-gcc47.patch"
- epatch_user
-}
+PATCHES=(
+ "${FILESDIR}/${P}-gcc47.patch"
+)
src_configure() {
export ac_cv_prog_HAVE_DOXYGEN="false"
- econf $(use_enable static-libs static)
+ econf --disable-static
}
src_compile() {
emake
if use doc ; then
- cd docs
+ cd docs || die
doxygen libevocosm.doxygen || die "generating docs failed"
fi
}
src_install() {
default
- prune_libtool_files
- use doc && dohtml docs/html/*
+
+ if use doc ; then
+ docinto html
+ dodoc docs/html/*
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
}
next reply other threads:[~2021-02-10 22:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-10 22:03 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-20 1:21 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libevocosm/ Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1612994635.3a82cde2b556a7c0e3ff99a7384a95da91f20d34.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox