* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/DBI/
@ 2022-07-02 9:46 Robert Greener
0 siblings, 0 replies; 2+ messages in thread
From: Robert Greener @ 2022-07-02 9:46 UTC (permalink / raw
To: gentoo-commits
commit: 84972f2bfcc72a2612843a9542180241777da3b6
Author: Robert Greener <me <AT> r0bert <DOT> dev>
AuthorDate: Sat Jul 2 09:46:40 2022 +0000
Commit: Robert Greener <me <AT> r0bert <DOT> dev>
CommitDate: Sat Jul 2 09:46:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=84972f2b
dev-R/DBI: new package, add 1.1.3
Signed-off-by: Robert Greener <me <AT> r0bert.dev>
dev-R/DBI/DBI-1.1.3.ebuild | 29 +++++++++++++++++++++++++++++
dev-R/DBI/Manifest | 1 +
dev-R/DBI/metadata.xml | 17 +++++++++++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-R/DBI/DBI-1.1.3.ebuild b/dev-R/DBI/DBI-1.1.3.ebuild
new file mode 100644
index 000000000..cfa2dae69
--- /dev/null
+++ b/dev-R/DBI/DBI-1.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit R-packages
+
+DESCRIPTION='R Database Interface'
+KEYWORDS="~amd64"
+LICENSE='LGPL-2.1+'
+
+SUGGESTED_PACKAGES="
+ dev-R/blob
+ dev-R/covr
+ dev-R/DBItest
+ dev-R/dbplyr
+ dev-R/downlit
+ dev-R/dplyr
+ dev-R/glue
+ dev-R/hms
+ dev-R/knitr
+ dev-R/magrittr
+ dev-R/RMariaDB
+ dev-R/rmarkdown
+ dev-R/rprojroot
+ >=dev-R/RSQLite-1.1.2
+ dev-R/testthat
+ dev-R/xml2
+"
diff --git a/dev-R/DBI/Manifest b/dev-R/DBI/Manifest
new file mode 100644
index 000000000..4fbdd6084
--- /dev/null
+++ b/dev-R/DBI/Manifest
@@ -0,0 +1 @@
+DIST DBI_1.1.3.tar.gz 730243 BLAKE2B b913bbe054c6db88eff15b8d8c2a338dec5a69c6a9ce6a407749186bdf22f344a9632da891e62bde188c5ef0f9ac37bbe20ca1727e10752f512f96694cbfe17a SHA512 48d5d2c152f512ebf36c98fad97dcbb6987b485d1843fa5245158abe21714649f4bf30d855dc07195157a5a18601573494fcdb1354f0362330f63ccabdb47fd9
diff --git a/dev-R/DBI/metadata.xml b/dev-R/DBI/metadata.xml
new file mode 100644
index 000000000..ee0e2ae43
--- /dev/null
+++ b/dev-R/DBI/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">A database interface definition for communication between R and relational database management systems. All classes in this package are virtual and need to be extended by the various R/DBMS implementations.</longdescription>
+ <upstream>
+ <maintainer>
+ <name>Kirill Müller</name>
+ <email>krlmlr+r@mailbox.org</email>
+ </maintainer>
+ <bugs-to>https://github.com/r-dbi/DBI/issues</bugs-to>
+ <remote-id type="github">r-dbi/DBI</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-R/DBI/
@ 2022-07-02 14:39 Robert Greener
0 siblings, 0 replies; 2+ messages in thread
From: Robert Greener @ 2022-07-02 14:39 UTC (permalink / raw
To: gentoo-commits
commit: 78b34ecefc2d98c960ec6698c1ee225d72642b17
Author: Robert Greener <me <AT> r0bert <DOT> dev>
AuthorDate: Sat Jul 2 14:39:18 2022 +0000
Commit: Robert Greener <me <AT> r0bert <DOT> dev>
CommitDate: Sat Jul 2 14:39:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=78b34ece
dev-R/DBI: add tests
Signed-off-by: Robert Greener <me <AT> r0bert.dev>
dev-R/DBI/DBI-1.1.3.ebuild | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/dev-R/DBI/DBI-1.1.3.ebuild b/dev-R/DBI/DBI-1.1.3.ebuild
index cfa2dae69..93031bde0 100644
--- a/dev-R/DBI/DBI-1.1.3.ebuild
+++ b/dev-R/DBI/DBI-1.1.3.ebuild
@@ -3,11 +3,20 @@
EAPI=7
-inherit R-packages
+inherit R-packages edo
DESCRIPTION='R Database Interface'
KEYWORDS="~amd64"
LICENSE='LGPL-2.1+'
+RESTRICT="!test? ( test )"
+IUSE="test"
+
+DEPEND="
+ test? (
+ >=dev-R/RSQLite-1.1.2
+ dev-R/testthat
+ )
+"
SUGGESTED_PACKAGES="
dev-R/blob
@@ -27,3 +36,8 @@ SUGGESTED_PACKAGES="
dev-R/testthat
dev-R/xml2
"
+
+src_test() {
+ cd "${WORKDIR}/${P}/tests"
+ NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-02 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-02 9:46 [gentoo-commits] repo/proj/guru:dev commit in: dev-R/DBI/ Robert Greener
-- strict thread matches above, loose matches on Subject: below --
2022-07-02 14:39 Robert Greener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox