public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robert Greener" <me@r0bert.dev>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-R/nloptr/
Date: Sun,  3 Jul 2022 18:13:42 +0000 (UTC)	[thread overview]
Message-ID: <1656872019.141b9e0b32772aa76a24caf5313946f26a81f835.me@gentoo> (raw)

commit:     141b9e0b32772aa76a24caf5313946f26a81f835
Author:     Robert Greener <me <AT> r0bert <DOT> dev>
AuthorDate: Sun Jul  3 18:13:39 2022 +0000
Commit:     Robert Greener <me <AT> r0bert <DOT> dev>
CommitDate: Sun Jul  3 18:13:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=141b9e0b

dev-R/nloptr: new package, add 2.0.3

Signed-off-by: Robert Greener <me <AT> r0bert.dev>

 dev-R/nloptr/Manifest            |  1 +
 dev-R/nloptr/metadata.xml        | 17 +++++++++++++++++
 dev-R/nloptr/nloptr-2.0.3.ebuild | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-R/nloptr/Manifest b/dev-R/nloptr/Manifest
new file mode 100644
index 000000000..9c88420d5
--- /dev/null
+++ b/dev-R/nloptr/Manifest
@@ -0,0 +1 @@
+DIST nloptr_2.0.3.tar.gz 2219877 BLAKE2B 28504ebd4b94e8de8da0b7a86da87f4d2d3e40dfb7411d3662df48f529a3c6e5b0f03b2094ade747d0c914627456df336183c72e2670b0c10fab7389ce72f3c8 SHA512 08f8a6b7ddc20f7b75c567ee7e55abd47228c4fc8db254080dc7f4010311a92ad4c75ca9b593adbb4183308e4142fdc9ab80aed1b7fe5da3b7450a19624b98e6

diff --git a/dev-R/nloptr/metadata.xml b/dev-R/nloptr/metadata.xml
new file mode 100644
index 000000000..5a16e11e0
--- /dev/null
+++ b/dev-R/nloptr/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>me@r0bert.dev</email>
+		<name>Robert Greener</name>
+	</maintainer>
+	<longdescription lang="en"> Solve optimization problems using an R interface to NLopt. NLopt is a free/open-source library for nonlinear optimization, providing a common interface for a number of different free optimization routines available online as well as original implementations of various other algorithms. See https://nlopt.readthedocs.io/en/latest/NLopt_Algorithms/ for more information on the available algorithms. Building from included sources requires 'CMake'. On Linux and 'macOS', if a suitable system build of NLopt (2.7.0 or later) is found, it is used; otherwise, it is built from included sources via 'CMake'. On Windows, NLopt is obtained through 'rwinlib' for 'R leq 4.1.x' or grabbed from the 'Rtools42 toolchain' for 'R geq 4.2.0'.</longdescription>
+	<upstream>
+		<maintainer>
+			<name>Aymeric Stamm</name>
+			<email>aymeric.stamm@math.cnrs.fr</email>
+		</maintainer>
+		<bugs-to>https://github.com/astamm/nloptr/issues</bugs-to>
+		<remote-id type="github">astamm/nloptr</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-R/nloptr/nloptr-2.0.3.ebuild b/dev-R/nloptr/nloptr-2.0.3.ebuild
new file mode 100644
index 000000000..feb76ef4d
--- /dev/null
+++ b/dev-R/nloptr/nloptr-2.0.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit R-packages edo
+
+DESCRIPTION='R Interface to NLopt'
+KEYWORDS="~amd64"
+LICENSE='LGPL-3+'
+RESTRICT="!test? ( test )"
+IUSE="test"
+
+DEPEND="
+	>=dev-R/testthat-3.0.0
+	test? (
+		dev-R/xml2
+	)
+"
+
+SUGGESTED_PACKAGES="
+	dev-R/covr
+	dev-R/knitr
+	dev-R/rmarkdown
+	>=dev-R/testthat-3.0.0
+	dev-R/xml2
+"
+
+src_test() {
+	cd "${WORKDIR}/${P}/tests" || die
+	NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
+}


             reply	other threads:[~2022-07-03 18:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-03 18:13 Robert Greener [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-05 12:46 [gentoo-commits] repo/proj/guru:dev commit in: dev-R/nloptr/ Robert Greener

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=1656872019.141b9e0b32772aa76a24caf5313946f26a81f835.me@gentoo \
    --to=me@r0bert.dev \
    --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