dev-R/bslib: new package, add 0.3.1

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-03 09:33:42 +01:00
parent db281c9805
commit ae6c1521b7
3 changed files with 61 additions and 0 deletions

1
dev-R/bslib/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST bslib_0.3.1.tar.gz 4908277 BLAKE2B d96d15e22968cf75097b53d4f8bc4adcc388ed60c62ff30fe94bdbbd945d196963ce2b4498b890f7b3d5baca2871f256a1c233e8c510c26f67ef559b04e04ce0 SHA512 c17ea68dd6111275915713c5e6721ca18ed7db406125967e0d2f8ade83a1608e88dbdeb0d8acd67d84aaa2ae67931898b334e079b540c86b1c8544678c28b43a

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages #edo
DESCRIPTION="Custom 'Bootstrap' 'Sass' Themes for 'shiny' and 'rmarkdown'"
KEYWORDS="~amd64"
LICENSE='MIT'
# Tests need shiny and rmarkdown (circ. dep, will enable once added)
#RESTRICT="!test? ( test )"
#IUSE="test"
DEPEND="
>=dev-R/htmltools-0.5.2
dev-R/jsonlite
>=dev-R/sass-0.4.0
>=dev-R/jquerylib-0.1.3
dev-R/rlang"
# test? (
# dev-R/withr
# dev-R/testthat
# >=dev-R/shiny-1.6.0
# >=dev-R/rmarkdown-2.7
# )
SUGGESTED_PACKAGES="
>=dev-R/shiny-1.6.0
>=dev-R/rmarkdown-2.7
dev-R/thematic
dev-R/knitr
dev-R/testthat
dev-R/withr
dev-R/rappdirs
dev-R/curl
dev-R/magrittr
"
#src_test() {
# cd "${WORKDIR}/${P}/tests" || die
# NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla test-all.R
#}

17
dev-R/bslib/metadata.xml Normal file
View 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">Simplifies custom 'CSS' styling of both 'shiny' and 'rmarkdown' via 'Bootstrap' 'Sass'. Supports both 'Bootstrap' 3 and 4 as well as their various 'Bootswatch' themes. An interactive widget is also provided for previewing themes in real time.</longdescription>
<upstream>
<maintainer>
<name>Carson Sievert</name>
<email>carson@rstudio.com</email>
</maintainer>
<bugs-to>https://github.com/rstudio/bslib/issues</bugs-to>
<remote-id type="github">rstudio/bslib</remote-id>
</upstream>
</pkgmetadata>