commit:     8a73a8d755084a19bb9071502667bf7783f86baa
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Mon Apr  1 18:08:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  8 16:56:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a73a8d7

sci-biology/paml: add 4.10.7

Project source is now hosted on github.

Closes: https://bugs.gentoo.org/831488
Closes: https://bugs.gentoo.org/919885
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36048
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-biology/paml/Manifest           |  1 +
 sci-biology/paml/metadata.xml       |  3 +++
 sci-biology/paml/paml-4.10.7.ebuild | 37 +++++++++++++++++++++++++++++++++++++
 3 files changed, 41 insertions(+)

diff --git a/sci-biology/paml/Manifest b/sci-biology/paml/Manifest
index 87d673016fbe..4e828eff1360 100644
--- a/sci-biology/paml/Manifest
+++ b/sci-biology/paml/Manifest
@@ -1 +1,2 @@
+DIST paml-4.10.7.tar.gz 5250841 BLAKE2B 
4d2a7fdc8eb93abe200165f7805520a02f4251dc651f26c4e1bf6fb11eee3d0721fd9d6f3c96979bae0f51b77f168e8d8a12f3dd3cbbfec7e8210a70b7c4bb9e
 SHA512 
e450c0a28ecef946279fd92834eb5ddfb50805167655364cc959ef21839a75280a37d79209918373e80dacb0fc35decaccdb1477e53a81fd99fb140a0ce839fe
 DIST paml4.9j.tgz 6380272 BLAKE2B 
58fc40904aff6ae539613e772fc0525b557c1e72c1a7a1d95176987bafed8771624ae6c53803bc71c5821a52de8212a49ad99c02c408870ec929c15b6bf217e0
 SHA512 
c5f3c42409bbaf5ac67c816a245f1d3175ee449dcf10232d9de539130341f80f85ae53518cbca549b1f42ddf64a6e8140a22b9da091d458b425512f11f8c1758

diff --git a/sci-biology/paml/metadata.xml b/sci-biology/paml/metadata.xml
index ccdff086e20b..1407729820e0 100644
--- a/sci-biology/paml/metadata.xml
+++ b/sci-biology/paml/metadata.xml
@@ -5,4 +5,7 @@
     <email>sci-biol...@gentoo.org</email>
     <name>Gentoo Biology Project</name>
   </maintainer>
+  <upstream>
+    <remote-id type="github">abacus-gene/paml</remote-id>
+  </upstream>
 </pkgmetadata>

diff --git a/sci-biology/paml/paml-4.10.7.ebuild 
b/sci-biology/paml/paml-4.10.7.ebuild
new file mode 100644
index 000000000000..53a41c38fd11
--- /dev/null
+++ b/sci-biology/paml/paml-4.10.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Phylogenetic Analysis by Maximum Likelihood"
+HOMEPAGE="https://abacus.gene.ucl.ac.uk/software/paml.html";
+SRC_URI="https://github.com/abacus-gene/${PN}/archive/refs/tags/${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_configure() {
+       tc-export CC
+}
+
+src_compile() {
+       emake -C src
+}
+
+src_install() {
+       dobin 
src/{baseml,basemlg,codeml,evolver,pamp,mcmctree,infinitesites,yn00,chi2}
+
+       dodoc -r README.md doc/.
+
+       insinto /usr/share/${PN}/control
+       doins examples/*.ctl
+
+       insinto /usr/share/${PN}/dat
+       doins -r examples/stewart* examples/*.dat dat/.
+
+       insinto /usr/share/${PN}
+       doins -r examples
+}

Reply via email to