* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2021-06-20 23:17 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2021-06-20 23:17 UTC (permalink / raw
To: gentoo-commits
commit: 2c2a87bd3af9346b11fb2dbca3d9fd978cc98dd8
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun 20 21:34:53 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jun 20 23:17:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c2a87bd
dev-R/RcppEnsmallen: unbundle ensmallen
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild | 16 +++++++++
dev-R/RcppEnsmallen/metadata.xml | 42 +++++++++++-----------
2 files changed, 37 insertions(+), 21 deletions(-)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
index 5b357cc94..8fc973685 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
@@ -22,3 +22,19 @@ RDEPEND="
dev-R/Rcpp
>=dev-R/RcppArmadillo-0.8.400.0.0
"
+
+src_prepare() {
+ default
+ #remove bundled
+ rm -r inst/include/ensmallen_bits || die
+ rm inst/include/ensmallen.hpp || die
+ #link to sci-libs/ensmallen
+ dosym /usr/include/ensmallen_bits inst/include/ensmallen_bits
+ dosym /usr/include/ensmallen.hpp inst/include/ensmallen.hpp
+}
+
+src_install() {
+ R-packages_src_install
+ dosym /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
+ dosym /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
+}
diff --git a/dev-R/RcppEnsmallen/metadata.xml b/dev-R/RcppEnsmallen/metadata.xml
index b666d2f18..c3fb57f8e 100644
--- a/dev-R/RcppEnsmallen/metadata.xml
+++ b/dev-R/RcppEnsmallen/metadata.xml
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <longdescription>
- Header-Only C++ Mathematical Optimization Library for 'Armadillo'
- // 'Ensmallen' is a templated C++ mathematical optimization
- library (by the 'MLPACK' team) that provides a simple set of
- abstractions for writing an objective function to optimize.
- Provided within are various standard and cutting-edge
- optimizers that include full-batch gradient descent techniques,
- small-batch techniques, gradient-free optimizers, and
- constrained optimization. The 'RcppEnsmallen' package includes
- the header files from the 'Ensmallen' library and pairs the
- appropriate header files from 'armadillo' through the
- 'RcppArmadillo' package. Therefore, users do not need to
- install 'Ensmallen' nor 'Armadillo' to use 'RcppEnsmallen'.
- Note that 'Ensmallen' is licensed under 3-Clause BSD,
- 'Armadillo' starting from 7.800.0 is licensed under Apache
- License 2, 'RcppArmadillo' (the 'Rcpp' bindings/bridge to
- 'Armadillo') is licensed under the GNU GPL version 2 or later.
- Thus, 'RcppEnsmallen' is also licensed under similar terms.
- Note that 'Ensmallen' requires a compiler that supports 'C++11'
- and 'Armadillo' 8.400 or later.
- </longdescription>
+ <!-- maintainer-needed -->
+ <upstream>
+ <bugs-to>https://github.com/coatless/rcppensmallen/issues</bugs-to>
+ <doc lang="en">https://cran.r-project.org/web/packages/RcppEnsmallen/RcppEnsmallen.pdf</doc>
+ <changelog>https://cran.r-project.org/web/packages/RcppEnsmallen/ChangeLog</changelog>
+ <maintainer>
+ <name>James Joseph Balamuta</name>
+ <email>balamut2@illinois.edu</email>
+ </maintainer>
+ <remote-id type="github">coatless/rcppensmallen</remote-id>
+ </upstream>
+ <longdescription lang="en">
+Header-Only C++ Mathematical Optimization Library for 'Armadillo'
+// 'Ensmallen' is a templated C++ mathematical optimization
+library (by the 'MLPACK' team) that provides a simple set of
+abstractions for writing an objective function to optimize.
+Provided within are various standard and cutting-edge
+optimizers that include full-batch gradient descent techniques,
+small-batch techniques, gradient-free optimizers, and
+constrained optimization.
+ </longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-05-28 12:53 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2022-05-28 12:53 UTC (permalink / raw
To: gentoo-commits
commit: 47ade111b199dbae0ca82eab1be8d898aae35ea0
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 28 12:32:58 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat May 28 12:53:31 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47ade111
dev-R/RcppEnsmallen: add subslot
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
...cppEnsmallen-0.2.19.0.1.ebuild => RcppEnsmallen-0.2.19.0.1-r1.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1-r1.ebuild
similarity index 98%
rename from dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
rename to dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1-r1.ebuild
index f65fe2842..636932648 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1-r1.ebuild
@@ -14,6 +14,7 @@ HOMEPAGE="
"
#SRC_URI="mirror://cran/src/contrib/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz"
+SLOT="0/${PV}"
KEYWORDS="~amd64"
LICENSE='GPL-2+'
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-05-05 7:32 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2022-05-05 7:32 UTC (permalink / raw
To: gentoo-commits
commit: 632fc97c2078c3bf487fb4ca43410ea3e980681f
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May 5 06:39:46 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu May 5 07:32:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=632fc97c
dev-R/RcppEnsmallen: add eclass phase
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
index 9f73b5c34..f65fe2842 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
@@ -33,7 +33,7 @@ SUGGESTED_PACKAGES="
"
src_prepare() {
- default
+ R-packages_src_prepare
# remove bundled
rm -r inst/include/ensmallen_bits || die
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-05-04 2:40 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2022-05-04 2:40 UTC (permalink / raw
To: gentoo-commits
commit: be811365b7db0210c2ccfdde0e74f2e4150c7e86
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 4 02:37:50 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed May 4 02:37:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be811365
dev-R/RcppEnsmallen: add 0.2.19.0.1, drop 0.2.17.0.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-R/RcppEnsmallen/Manifest | 2 +-
...2.17.0.1.ebuild => RcppEnsmallen-0.2.19.0.1.ebuild} | 18 +++++++++++++++---
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/dev-R/RcppEnsmallen/Manifest b/dev-R/RcppEnsmallen/Manifest
index a0c565f82..933182fcd 100644
--- a/dev-R/RcppEnsmallen/Manifest
+++ b/dev-R/RcppEnsmallen/Manifest
@@ -1 +1 @@
-DIST RcppEnsmallen_0.2.17.0.1.tar.gz 243399 BLAKE2B c143d6f2d3631e1226ee35894fc56ea113a756418efbd1e2deb70d9b1ddbf63e79b6cbe8c86f2dab81bbfd62af2ae464651fedd893dee0c6961c8759f589c421 SHA512 6b6c10ad188b13cca2498c5fc2cec74a18eab34f30411cbc48e09c327253889aa85a80717372aadc2f5c2245f7a7332c474cae237730bab5dbf4b4895f0f7607
+DIST RcppEnsmallen_0.2.19.0.1.tar.gz 252878 BLAKE2B 20d1d87aadc14abb68263c2384e517b6f71ee805cb95cd0d3c0ba240ab11cacedaf74d0f50a56e033b228ddfbd0e0ea9d09c95af057571381a43743107fdc94d SHA512 e201d2e76cd20e2d01d7a7d76ce685320481f0ed61a58c9ccc49d38a8f7168dc455f36660dd7cab2484e8eb809cbae79a91c998aca430f4699ddff95c6bbb59f
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
similarity index 80%
rename from dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
rename to dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
index 003cfc953..9f73b5c34 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.19.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,8 +6,14 @@ EAPI=7
inherit R-packages eapi8-dosym
MY_PV="$(ver_cut 2-4 ${PV})"
+
DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo'
+HOMEPAGE="
+ https://cran.r-project.org/package=RcppEnsmallen
+ https://github.com/coatless-rpkg/rcppensmallen
+"
#SRC_URI="mirror://cran/src/contrib/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz"
+
KEYWORDS="~amd64"
LICENSE='GPL-2+'
@@ -16,8 +22,14 @@ DEPEND="
dev-R/Rcpp
=sci-libs/ensmallen-${MY_PV}*:=
"
-RDEPEND="${DEPEND}
- >=dev-R/RcppArmadillo-0.8.400.0.0
+RDEPEND="
+ ${DEPEND}
+ >=dev-R/RcppArmadillo-0.9.800.0.0
+"
+
+SUGGESTED_PACKAGES="
+ dev-R/knitr
+ dev-R/rmarkdown
"
src_prepare() {
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-04-15 20:34 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2022-04-15 20:34 UTC (permalink / raw
To: gentoo-commits
commit: 1978e6362ddb808dc41c79348b9cf2e22f0a9124
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 11 00:56:42 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Apr 15 20:34:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1978e636
dev-R/RcppEnsmallen: use cp -rs to symlink all the headers
Closes: https://bugs.gentoo.org/833989
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
index 129a0fa23..003cfc953 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
@@ -14,7 +14,7 @@ LICENSE='GPL-2+'
DEPEND="
>=dev-lang/R-3.3.0
dev-R/Rcpp
- =sci-libs/ensmallen-${MY_PV}*
+ =sci-libs/ensmallen-${MY_PV}*:=
"
RDEPEND="${DEPEND}
>=dev-R/RcppArmadillo-0.8.400.0.0
@@ -38,9 +38,7 @@ src_install() {
R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include"
dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp"
- dodir /usr/include/ensmallen_bits
- for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do
- filename=$(basename "${file}")
- dosym8 -r /usr/include/ensmallen_bits/${filename} "${R_includedir}/ensmallen_bits/${filename}"
- done
+ # portage doesn't like symlinks to folders, symlink all the files then
+ rm -rf "${ED}/${R_includedir}"/ensmallen_bits/* || die
+ cp -rs "/usr/include/ensmallen_bits" "${ED}/${R_includedir}" || die
}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-02-24 7:54 Anna Vyalkova
0 siblings, 0 replies; 13+ messages in thread
From: Anna Vyalkova @ 2022-02-24 7:54 UTC (permalink / raw
To: gentoo-commits
commit: 9727cc4e9ae344e0de1833eb2cb8a459026d9a67
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Feb 24 07:12:55 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Feb 24 07:18:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9727cc4e
dev-R/RcppEnsmallen: fix symlink (again)
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
index 5c52724dd..129a0fa23 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
@@ -41,6 +41,6 @@ src_install() {
dodir /usr/include/ensmallen_bits
for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do
filename=$(basename "${file}")
- dosym8 -r /usr/include/ensmallen_bits/${file} "${R_includedir}/ensmallen_bits/${file}"
+ dosym8 -r /usr/include/ensmallen_bits/${filename} "${R_includedir}/ensmallen_bits/${filename}"
done
}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-02-23 13:44 Anna Vyalkova
0 siblings, 0 replies; 13+ messages in thread
From: Anna Vyalkova @ 2022-02-23 13:44 UTC (permalink / raw
To: gentoo-commits
commit: 19e10b66e140931d91e143d21210579b1dd247a8
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb 22 04:58:06 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Feb 23 13:29:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19e10b66
dev-R/RcppEnsmallen: unbroke symlink
Closes: https://bugs.gentoo.org/833825
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
index 3914b1ab7..5c52724dd 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
@@ -38,6 +38,7 @@ src_install() {
R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include"
dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp"
+ dodir /usr/include/ensmallen_bits
for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do
filename=$(basename "${file}")
dosym8 -r /usr/include/ensmallen_bits/${file} "${R_includedir}/ensmallen_bits/${file}"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-02-17 21:11 Anna Vyalkova
0 siblings, 0 replies; 13+ messages in thread
From: Anna Vyalkova @ 2022-02-17 21:11 UTC (permalink / raw
To: gentoo-commits
commit: bb877d15ee0102500c2b36da74b05215c783b510
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Feb 14 18:14:46 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Thu Feb 17 21:11:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb877d15
dev-R/RcppEnsmallen: fix illegal dosym usage
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
index 08436d0db..3914b1ab7 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
@@ -35,6 +35,11 @@ src_prepare() {
src_install() {
R-packages_src_install
- dosym8 -r /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
- dosym8 -r /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
+ R_includedir="/usr/$(get_libdir)/R/site-library/${PN}/include"
+ dosym8 -r /usr/include/ensmallen.hpp "${R_includedir}/ensmallen.hpp"
+
+ for file in "${ED}/${R_includedir}"/ensmallen_bits/*; do
+ filename=$(basename "${file}")
+ dosym8 -r /usr/include/ensmallen_bits/${file} "${R_includedir}/ensmallen_bits/${file}"
+ done
}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2022-02-09 13:12 Anna Vyalkova
0 siblings, 0 replies; 13+ messages in thread
From: Anna Vyalkova @ 2022-02-09 13:12 UTC (permalink / raw
To: gentoo-commits
commit: b1a05a38da86f25de5427125947629fe84381356
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Feb 9 06:12:49 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Feb 9 13:12:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1a05a38
dev-R/RcppEnsmallen: fix symlinks
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
.../RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 26 +++++++++++-----------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
index 4a00cf0af..08436d0db 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
@@ -3,10 +3,9 @@
EAPI=7
-MYPV="$(ver_cut 2-4 ${PV})"
-
-inherit R-packages
+inherit R-packages eapi8-dosym
+MY_PV="$(ver_cut 2-4 ${PV})"
DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo'
#SRC_URI="mirror://cran/src/contrib/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz"
KEYWORDS="~amd64"
@@ -15,26 +14,27 @@ LICENSE='GPL-2+'
DEPEND="
>=dev-lang/R-3.3.0
dev-R/Rcpp
- =sci-libs/ensmallen-${MYPV}*
+ =sci-libs/ensmallen-${MY_PV}*
"
-RDEPEND="
- ${DEPEND}
- dev-R/Rcpp
+RDEPEND="${DEPEND}
>=dev-R/RcppArmadillo-0.8.400.0.0
"
src_prepare() {
default
- #remove bundled
+
+ # remove bundled
rm -r inst/include/ensmallen_bits || die
rm inst/include/ensmallen.hpp || die
- #link to sci-libs/ensmallen
- dosym /usr/include/ensmallen_bits inst/include/ensmallen_bits
- dosym /usr/include/ensmallen.hpp inst/include/ensmallen.hpp
+
+ # link to sci-libs/ensmallen
+ ln -s "${ESYSROOT}"/usr/include/ensmallen_bits inst/include/ensmallen_bits || die
+ ln -s "${ESYSROOT}"/usr/include/ensmallen.hpp inst/include/ensmallen.hpp || die
}
src_install() {
R-packages_src_install
- dosym /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
- dosym /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
+
+ dosym8 -r /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
+ dosym8 -r /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2021-10-05 21:29 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2021-10-05 21:29 UTC (permalink / raw
To: gentoo-commits
commit: 7e527a4778f33975889ccae67dd6e9bef8ad37a3
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Oct 5 21:28:57 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Oct 5 21:28:57 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7e527a47
dev-R/RcppEnsmallen: drop 0.2.15.0.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-R/RcppEnsmallen/Manifest | 1 -
.../RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild | 40 ----------------------
2 files changed, 41 deletions(-)
diff --git a/dev-R/RcppEnsmallen/Manifest b/dev-R/RcppEnsmallen/Manifest
index 4f66f0fdd..a0c565f82 100644
--- a/dev-R/RcppEnsmallen/Manifest
+++ b/dev-R/RcppEnsmallen/Manifest
@@ -1,2 +1 @@
-DIST RcppEnsmallen_0.2.15.0.1.tar.gz 223966 BLAKE2B fd7ed0b56d2f136f836b8987bb7b599aa1acdffce3c77e381939d7ec575cb5dabb181d5ddd7c229f3905b3d43c69705cd55fffcae5ea057742435ac13baa5080 SHA512 ab3ad2711154342030f66d89a3472181ac311b769b55018742cbee7e233327eabb85d4dccb9a5361f680d1ca0fe5ffa613211f908d85981eea19efd0ecb39f70
DIST RcppEnsmallen_0.2.17.0.1.tar.gz 243399 BLAKE2B c143d6f2d3631e1226ee35894fc56ea113a756418efbd1e2deb70d9b1ddbf63e79b6cbe8c86f2dab81bbfd62af2ae464651fedd893dee0c6961c8759f589c421 SHA512 6b6c10ad188b13cca2498c5fc2cec74a18eab34f30411cbc48e09c327253889aa85a80717372aadc2f5c2245f7a7332c474cae237730bab5dbf4b4895f0f7607
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
deleted file mode 100644
index 8fc973685..000000000
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MYPV="$(ver_cut 2-4 ${PV})"
-
-inherit R-packages
-
-DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo'
-SRC_URI="mirror://cran/src/contrib/Archive/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz"
-KEYWORDS="~amd64"
-LICENSE='GPL-2+'
-
-DEPEND="
- >=dev-lang/R-3.3.0
- dev-R/Rcpp
- =sci-libs/ensmallen-${MYPV}*
-"
-RDEPEND="
- ${DEPEND}
- dev-R/Rcpp
- >=dev-R/RcppArmadillo-0.8.400.0.0
-"
-
-src_prepare() {
- default
- #remove bundled
- rm -r inst/include/ensmallen_bits || die
- rm inst/include/ensmallen.hpp || die
- #link to sci-libs/ensmallen
- dosym /usr/include/ensmallen_bits inst/include/ensmallen_bits
- dosym /usr/include/ensmallen.hpp inst/include/ensmallen.hpp
-}
-
-src_install() {
- R-packages_src_install
- dosym /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
- dosym /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2021-10-05 21:24 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2021-10-05 21:24 UTC (permalink / raw
To: gentoo-commits
commit: 6bad21349cfc8f59458eaa7bdc5ae7ff466586f5
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Oct 5 20:57:13 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Oct 5 21:24:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6bad2134
dev-R/RcppEnsmallen: add 0.2.17.0.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-R/RcppEnsmallen/Manifest | 1 +
.../RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild | 40 ++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-R/RcppEnsmallen/Manifest b/dev-R/RcppEnsmallen/Manifest
index 592d85448..4f66f0fdd 100644
--- a/dev-R/RcppEnsmallen/Manifest
+++ b/dev-R/RcppEnsmallen/Manifest
@@ -1 +1,2 @@
DIST RcppEnsmallen_0.2.15.0.1.tar.gz 223966 BLAKE2B fd7ed0b56d2f136f836b8987bb7b599aa1acdffce3c77e381939d7ec575cb5dabb181d5ddd7c229f3905b3d43c69705cd55fffcae5ea057742435ac13baa5080 SHA512 ab3ad2711154342030f66d89a3472181ac311b769b55018742cbee7e233327eabb85d4dccb9a5361f680d1ca0fe5ffa613211f908d85981eea19efd0ecb39f70
+DIST RcppEnsmallen_0.2.17.0.1.tar.gz 243399 BLAKE2B c143d6f2d3631e1226ee35894fc56ea113a756418efbd1e2deb70d9b1ddbf63e79b6cbe8c86f2dab81bbfd62af2ae464651fedd893dee0c6961c8759f589c421 SHA512 6b6c10ad188b13cca2498c5fc2cec74a18eab34f30411cbc48e09c327253889aa85a80717372aadc2f5c2245f7a7332c474cae237730bab5dbf4b4895f0f7607
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
new file mode 100644
index 000000000..4a00cf0af
--- /dev/null
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.17.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MYPV="$(ver_cut 2-4 ${PV})"
+
+inherit R-packages
+
+DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo'
+#SRC_URI="mirror://cran/src/contrib/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE='GPL-2+'
+
+DEPEND="
+ >=dev-lang/R-3.3.0
+ dev-R/Rcpp
+ =sci-libs/ensmallen-${MYPV}*
+"
+RDEPEND="
+ ${DEPEND}
+ dev-R/Rcpp
+ >=dev-R/RcppArmadillo-0.8.400.0.0
+"
+
+src_prepare() {
+ default
+ #remove bundled
+ rm -r inst/include/ensmallen_bits || die
+ rm inst/include/ensmallen.hpp || die
+ #link to sci-libs/ensmallen
+ dosym /usr/include/ensmallen_bits inst/include/ensmallen_bits
+ dosym /usr/include/ensmallen.hpp inst/include/ensmallen.hpp
+}
+
+src_install() {
+ R-packages_src_install
+ dosym /usr/include/ensmallen_bits "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen_bits"
+ dosym /usr/include/ensmallen.hpp "/usr/$(get_libdir)/R/site-library/${PN}/include/ensmallen.hpp"
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2021-06-11 15:23 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2021-06-11 15:23 UTC (permalink / raw
To: gentoo-commits
commit: 1695988b95071134fa7842bcd98c03dacea7ce8b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 7 14:39:19 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jun 11 15:23:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1695988b
dev-R/RcppEnsmallen: add 0.2.15.0.1, drop 0.2.16.1.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-R/RcppEnsmallen/Manifest | 2 +-
...cppEnsmallen-0.2.16.1.1.ebuild => RcppEnsmallen-0.2.15.0.1.ebuild} | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-R/RcppEnsmallen/Manifest b/dev-R/RcppEnsmallen/Manifest
index 61c91433a..592d85448 100644
--- a/dev-R/RcppEnsmallen/Manifest
+++ b/dev-R/RcppEnsmallen/Manifest
@@ -1 +1 @@
-DIST RcppEnsmallen_0.2.16.1.1.tar.gz 224840 BLAKE2B 8d2499f971e6bdfcf49b008782456871670e6de0ca9f6ed30c42602e57734edf3d8d9482f42e2355645adfeb622174eb630b2e56772654e50377715f95c76345 SHA512 eebed4b7b6239af7f2c80f1276e6670bf597cff276c0d04d700cb62dce106d6463a8b9ee3464051d63d653739de5ccacdb757d715dd966163de142b9b227d942
+DIST RcppEnsmallen_0.2.15.0.1.tar.gz 223966 BLAKE2B fd7ed0b56d2f136f836b8987bb7b599aa1acdffce3c77e381939d7ec575cb5dabb181d5ddd7c229f3905b3d43c69705cd55fffcae5ea057742435ac13baa5080 SHA512 ab3ad2711154342030f66d89a3472181ac311b769b55018742cbee7e233327eabb85d4dccb9a5361f680d1ca0fe5ffa613211f908d85981eea19efd0ecb39f70
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.16.1.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
similarity index 71%
rename from dev-R/RcppEnsmallen/RcppEnsmallen-0.2.16.1.1.ebuild
rename to dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
index 0f929ce3a..5b357cc94 100644
--- a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.16.1.1.ebuild
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.15.0.1.ebuild
@@ -3,15 +3,19 @@
EAPI=7
+MYPV="$(ver_cut 2-4 ${PV})"
+
inherit R-packages
DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo'
+SRC_URI="mirror://cran/src/contrib/Archive/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz"
KEYWORDS="~amd64"
LICENSE='GPL-2+'
DEPEND="
>=dev-lang/R-3.3.0
dev-R/Rcpp
+ =sci-libs/ensmallen-${MYPV}*
"
RDEPEND="
${DEPEND}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/
@ 2021-05-31 22:04 Alessandro Barbieri
0 siblings, 0 replies; 13+ messages in thread
From: Alessandro Barbieri @ 2021-05-31 22:04 UTC (permalink / raw
To: gentoo-commits
commit: e3d5c6cb2ee85749ceb82fccff4bba6bb2dccec4
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 31 21:51:43 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon May 31 22:04:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3d5c6cb
dev-R/RcppEnsmallen: new
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-R/RcppEnsmallen/Manifest | 1 +
.../RcppEnsmallen/RcppEnsmallen-0.2.16.1.1.ebuild | 20 +++++++++++++++++
dev-R/RcppEnsmallen/metadata.xml | 25 ++++++++++++++++++++++
3 files changed, 46 insertions(+)
diff --git a/dev-R/RcppEnsmallen/Manifest b/dev-R/RcppEnsmallen/Manifest
new file mode 100644
index 000000000..61c91433a
--- /dev/null
+++ b/dev-R/RcppEnsmallen/Manifest
@@ -0,0 +1 @@
+DIST RcppEnsmallen_0.2.16.1.1.tar.gz 224840 BLAKE2B 8d2499f971e6bdfcf49b008782456871670e6de0ca9f6ed30c42602e57734edf3d8d9482f42e2355645adfeb622174eb630b2e56772654e50377715f95c76345 SHA512 eebed4b7b6239af7f2c80f1276e6670bf597cff276c0d04d700cb62dce106d6463a8b9ee3464051d63d653739de5ccacdb757d715dd966163de142b9b227d942
diff --git a/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.16.1.1.ebuild b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.16.1.1.ebuild
new file mode 100644
index 000000000..0f929ce3a
--- /dev/null
+++ b/dev-R/RcppEnsmallen/RcppEnsmallen-0.2.16.1.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit R-packages
+
+DESCRIPTION='Header-Only C++ Mathematical Optimization library for armadillo'
+KEYWORDS="~amd64"
+LICENSE='GPL-2+'
+
+DEPEND="
+ >=dev-lang/R-3.3.0
+ dev-R/Rcpp
+"
+RDEPEND="
+ ${DEPEND}
+ dev-R/Rcpp
+ >=dev-R/RcppArmadillo-0.8.400.0.0
+"
diff --git a/dev-R/RcppEnsmallen/metadata.xml b/dev-R/RcppEnsmallen/metadata.xml
new file mode 100644
index 000000000..b666d2f18
--- /dev/null
+++ b/dev-R/RcppEnsmallen/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription>
+ Header-Only C++ Mathematical Optimization Library for 'Armadillo'
+ // 'Ensmallen' is a templated C++ mathematical optimization
+ library (by the 'MLPACK' team) that provides a simple set of
+ abstractions for writing an objective function to optimize.
+ Provided within are various standard and cutting-edge
+ optimizers that include full-batch gradient descent techniques,
+ small-batch techniques, gradient-free optimizers, and
+ constrained optimization. The 'RcppEnsmallen' package includes
+ the header files from the 'Ensmallen' library and pairs the
+ appropriate header files from 'armadillo' through the
+ 'RcppArmadillo' package. Therefore, users do not need to
+ install 'Ensmallen' nor 'Armadillo' to use 'RcppEnsmallen'.
+ Note that 'Ensmallen' is licensed under 3-Clause BSD,
+ 'Armadillo' starting from 7.800.0 is licensed under Apache
+ License 2, 'RcppArmadillo' (the 'Rcpp' bindings/bridge to
+ 'Armadillo') is licensed under the GNU GPL version 2 or later.
+ Thus, 'RcppEnsmallen' is also licensed under similar terms.
+ Note that 'Ensmallen' requires a compiler that supports 'C++11'
+ and 'Armadillo' 8.400 or later.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2022-05-28 12:53 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-20 23:17 [gentoo-commits] repo/proj/guru:dev commit in: dev-R/RcppEnsmallen/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2022-05-28 12:53 Alessandro Barbieri
2022-05-05 7:32 Alessandro Barbieri
2022-05-04 2:40 Alessandro Barbieri
2022-04-15 20:34 Alessandro Barbieri
2022-02-24 7:54 Anna Vyalkova
2022-02-23 13:44 Anna Vyalkova
2022-02-17 21:11 Anna Vyalkova
2022-02-09 13:12 Anna Vyalkova
2021-10-05 21:29 Alessandro Barbieri
2021-10-05 21:24 Alessandro Barbieri
2021-06-11 15:23 Alessandro Barbieri
2021-05-31 22:04 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox