From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/genepop/
Date: Tue, 19 Jan 2021 15:49:48 +0000 (UTC) [thread overview]
Message-ID: <1611071383.49636de7c3453c0a6bcae067996f02aa7097dede.andrewammerlaan@gentoo> (raw)
commit: 49636de7c3453c0a6bcae067996f02aa7097dede
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 15:49:43 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 15:49:43 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=49636de7
sci-biology/genepop: fix fetch, cmake-utils --> cmake
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sci-biology/genepop/genepop-4.2.1.ebuild | 30 ------------------------------
sci-biology/genepop/genepop-4.7.ebuild | 11 +++++------
2 files changed, 5 insertions(+), 36 deletions(-)
diff --git a/sci-biology/genepop/genepop-4.2.1.ebuild b/sci-biology/genepop/genepop-4.2.1.ebuild
deleted file mode 100644
index 2e1d48a45..000000000
--- a/sci-biology/genepop/genepop-4.2.1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils
-
-DESCRIPTION="Population genetics analysis"
-HOMEPAGE="https://genepop.curtin.edu.au/ https://kimura.univ-montp2.fr/~rousset/Genepop.htm"
-SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.gz"
-
-LICENSE="CeCILL-2"
-SLOT="0"
-IUSE=""
-KEYWORDS="~amd64 ~x86"
-
-S="${WORKDIR}"
-
-src_prepare() {
- cat >> CMakeLists.txt <<- EOF
- cmake_minimum_required (VERSION 2.6)
- project (${PN} CXX)
-
- set(CMAKE_CXX_FLAGS "\${CMAKE_CXX_FLAGS} -DNO_MODULES")
-
- add_executable(Genepop GenepopS.cpp)
- install(TARGETS Genepop DESTINATION bin)
- EOF
- cmake-utils_src_prepare
-}
diff --git a/sci-biology/genepop/genepop-4.7.ebuild b/sci-biology/genepop/genepop-4.7.ebuild
index 9430e7987..b3ed5bfc3 100644
--- a/sci-biology/genepop/genepop-4.7.ebuild
+++ b/sci-biology/genepop/genepop-4.7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils
+inherit cmake
DESCRIPTION="Population genetics analysis"
HOMEPAGE="https://genepop.curtin.edu.au/ https://kimura.univ-montp2.fr/~rousset/Genepop.htm"
@@ -28,12 +28,11 @@ src_prepare() {
add_executable(Genepop GenepopS.cpp)
install(TARGETS Genepop DESTINATION bin)
EOF
- cmake-utils_src_prepare
- default
+ cmake_src_prepare
}
src_install(){
- cmake-utils_src_install
+ cmake_src_install
mv "${ED}"/usr/bin/Genepop "${ED}"/usr/bin/genepop || die
newdoc Genepop.pdf genepop.pdf
insinto /usr/share/"${PN}"
next reply other threads:[~2021-01-19 15:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 15:49 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-01 16:22 [gentoo-commits] proj/sci:master commit in: sci-biology/genepop/ Martin Mokrejs
2018-04-01 16:16 Martin Mokrejs
2017-02-24 13:01 Martin Mokrejs
2015-04-14 17:49 Justin Lecher
2014-01-06 17:18 Justin Lecher
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=1611071383.49636de7c3453c0a6bcae067996f02aa7097dede.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--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