From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 634CE1382C5 for ; Mon, 18 Jan 2021 09:21:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80EE5E0884; Mon, 18 Jan 2021 09:21:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A071E0884 for ; Mon, 18 Jan 2021 09:21:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04515340EFB for ; Mon, 18 Jan 2021 09:21:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE6843A6 for ; Mon, 18 Jan 2021 09:21:00 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1610961607.80876076e9f1b2a24224ebb8c23cc8e12d59ce42.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/lwpr/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/lwpr/lwpr-1.2.5.ebuild X-VCS-Directories: sci-libs/lwpr/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 80876076e9f1b2a24224ebb8c23cc8e12d59ce42 X-VCS-Branch: master Date: Mon, 18 Jan 2021 09:21:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f6883916-c9e5-4410-8556-253ab6934512 X-Archives-Hash: 1d4572151df4bdece05163a0659ad9a3 commit: 80876076e9f1b2a24224ebb8c23cc8e12d59ce42 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Jan 18 09:20:07 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Jan 18 09:20:07 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=80876076 sci-libs/lwpr: fix homepage, EAPI bump Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> sci-libs/lwpr/lwpr-1.2.5.ebuild | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/sci-libs/lwpr/lwpr-1.2.5.ebuild b/sci-libs/lwpr/lwpr-1.2.5.ebuild index 9ae5de227..e9ec9f214 100644 --- a/sci-libs/lwpr/lwpr-1.2.5.ebuild +++ b/sci-libs/lwpr/lwpr-1.2.5.ebuild @@ -1,44 +1,41 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_IN_SOURCE_BUILD=1 -inherit autotools-utils +DOCS_BUILDER="doxygen" + +inherit autotools docs DESCRIPTION="The Locally Weighted Projection Regression Library" -HOMEPAGE="http://www.ipab.inf.ed.ac.uk/slmc/software/lwpr/" +HOMEPAGE="https://web.inf.ed.ac.uk/slmc" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc examples octave static-libs" +IUSE="examples octave static-libs" -RDEPEND=" - octave? ( >=sci-mathematics/octave-3 )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" +RDEPEND="octave? ( >=sci-mathematics/octave-3 )" +DEPEND="${RDEPEND}" src_configure() { - local myeconfargs=( - --enable-threads=3 - $(use_with octave octave "$(octave-config -p PREFIX)") - ) - autotools-utils_src_configure + econf \ + --enable-threads=3 \ + $(use_with octave octave) } src_compile() { - autotools-utils_src_compile - if use doc; then - doxygen Doxyfile || die "doxygen failed" - fi + default + docs_compile } src_install() { - autotools-utils_src_install \ - mexflags="-DMATLAB -I../include -L./.libs -llwproctave" - use doc && dodoc doc/lwpr_doc.pdf && dohtml html/* + default + if use doc; then + dodoc doc/lwpr_doc.pdf + dodoc html/* + fi if use examples ; then insinto /usr/share/doc/${PF}/examples doins example_c/cross.c example_cpp/cross.cc