commit:     7203befe74cc00b7f13c42acb713fecd7117feb6
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 16 10:42:22 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 16 10:42:22 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7203befe

dev-ml/lacaml: version bump, fix fetch and homepage

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-ml/lacaml/files/API.odocl      |  1 -
 dev-ml/lacaml/lacaml-11.0.8.ebuild | 26 ++++++++++++++++++++++++++
 dev-ml/lacaml/lacaml-7.0.3.ebuild  | 37 -------------------------------------
 3 files changed, 26 insertions(+), 38 deletions(-)

diff --git a/dev-ml/lacaml/files/API.odocl b/dev-ml/lacaml/files/API.odocl
deleted file mode 100644
index 4e6cc95b8..000000000
--- a/dev-ml/lacaml/files/API.odocl
+++ /dev/null
@@ -1 +0,0 @@
-lib/Lacaml

diff --git a/dev-ml/lacaml/lacaml-11.0.8.ebuild 
b/dev-ml/lacaml/lacaml-11.0.8.ebuild
new file mode 100644
index 000000000..ea091d80a
--- /dev/null
+++ b/dev-ml/lacaml/lacaml-11.0.8.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="BLAS/LAPACK interface for OCaml"
+HOMEPAGE="https://mmottl.github.io/lacaml/";
+SRC_URI="https://github.com/mmottl/lacaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="ocamlopt"
+
+RDEPEND="
+       virtual/blas
+       virtual/lapack
+"
+BDEPEND="${RDEPEND}
+       virtual/pkgconfig
+"
+
+DOCS=( "README.md" "CHANGES.txt" "TODO.md" )

diff --git a/dev-ml/lacaml/lacaml-7.0.3.ebuild 
b/dev-ml/lacaml/lacaml-7.0.3.ebuild
deleted file mode 100644
index a89c081a6..000000000
--- a/dev-ml/lacaml/lacaml-7.0.3.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-OASIS_BUILD_DOCS=1
-
-inherit oasis toolchain-funcs
-
-DESCRIPTION="BLAS/LAPACK interface for OCaml"
-HOMEPAGE="http://forge.ocamlcore.org/projects/lacaml";
-SRC_URI="https://bitbucket.org/mmottl/lacaml/downloads/${P}.tar.gz";
-
-LICENSE="LGPL-2.1-with-linking-exception"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-RDEPEND="
-       virtual/blas
-       virtual/lapack"
-DEPEND="${DEPEND}
-       virtual/pkgconfig"
-
-DOCS=( "README.md" "CHANGES.txt" "TODO.md" )
-
-src_prepare() {
-       if use doc; then
-               cp "${FILESDIR}/API.odocl" . || die
-       fi
-       cclib="$($(tc-getPKG_CONFIG) --libs blas lapack)"
-       cclib="[$(echo $cclib|sed -e 's/\(-[a-z0-9]*\) /\"\1\"\;/g' -e \
-       's/\(-[a-z0-9]*\)$/\"\1\"/')]"
-       sed -i "s/cclib = \[\]/cclib = ${cclib}/" setup.conf
-       #would like to do the below, but doesn't work from ebuild
-       #oasis_configure_opts="--override conf_cclib $($(tc-getPKG_CONFIG) 
--libs blas lapack)"
-}

Reply via email to