mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
dev-R/nloptr: new package, add 2.0.3
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
1
dev-R/nloptr/Manifest
Normal file
1
dev-R/nloptr/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST nloptr_2.0.3.tar.gz 2219877 BLAKE2B 28504ebd4b94e8de8da0b7a86da87f4d2d3e40dfb7411d3662df48f529a3c6e5b0f03b2094ade747d0c914627456df336183c72e2670b0c10fab7389ce72f3c8 SHA512 08f8a6b7ddc20f7b75c567ee7e55abd47228c4fc8db254080dc7f4010311a92ad4c75ca9b593adbb4183308e4142fdc9ab80aed1b7fe5da3b7450a19624b98e6
|
||||
17
dev-R/nloptr/metadata.xml
Normal file
17
dev-R/nloptr/metadata.xml
Normal file
@@ -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>
|
||||
32
dev-R/nloptr/nloptr-2.0.3.ebuild
Normal file
32
dev-R/nloptr/nloptr-2.0.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user