summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2019-07-31 13:01:17 +0000
committerbrook <brook@pkgsrc.org>2019-07-31 13:01:17 +0000
commit31e4cad03763613d50a93b1182e7b67d2ea79d16 (patch)
tree2e41a367d9be9bd2fbdcd782d813d5f825c15c08 /graphics
parent0c60c8c0e429905fea3226df8f3a21bc9611c76b (diff)
downloadpkgsrc-31e4cad03763613d50a93b1182e7b67d2ea79d16.tar.gz
R-viridis: initial commit.
Implementation of the 'viridis' - the default -, 'magma', 'plasma', 'inferno', and 'cividis' color maps for 'R'. 'viridis', 'magma', 'plasma', and 'inferno' are ported from 'matplotlib' <http://matplotlib.org/>, a popular plotting library for 'python'. 'cividis', was developed by Jamie R. Nu<c3><b1>ez and Sean M. Colby. These color maps are designed in such a way that they will analytically be perfectly perceptually-uniform, both in regular form and also when converted to black-and-white. They are also designed to be perceived by readers with the most common form of color blindness (all color maps in this package) and color vision deficiency ('cividis' only).
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile3
-rw-r--r--graphics/R-viridis/DESCR11
-rw-r--r--graphics/R-viridis/Makefile19
-rw-r--r--graphics/R-viridis/distinfo6
4 files changed, 38 insertions, 1 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 4afe9aca80a..2e52e78b56f 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.829 2019/07/31 12:59:05 brook Exp $
+# $NetBSD: Makefile,v 1.830 2019/07/31 13:01:17 brook Exp $
#
COMMENT= Graphics tools and libraries
@@ -31,6 +31,7 @@ SUBDIR+= R-labeling
SUBDIR+= R-latticeExtra
SUBDIR+= R-munsell
SUBDIR+= R-scales
+SUBDIR+= R-viridis
SUBDIR+= R-viridisLite
SUBDIR+= SDL2_image
SUBDIR+= SDL_image
diff --git a/graphics/R-viridis/DESCR b/graphics/R-viridis/DESCR
new file mode 100644
index 00000000000..87897bc4e0f
--- /dev/null
+++ b/graphics/R-viridis/DESCR
@@ -0,0 +1,11 @@
+Implementation of the 'viridis' - the default -, 'magma', 'plasma',
+'inferno', and 'cividis' color maps for 'R'. 'viridis', 'magma',
+'plasma', and 'inferno' are ported from 'matplotlib'
+<http://matplotlib.org/>, a popular plotting library for 'python'.
+'cividis', was developed by Jamie R. Nu<c3><b1>ez and Sean M. Colby.
+These color maps are designed in such a way that they will
+analytically be perfectly perceptually-uniform, both in regular form
+and also when converted to black-and-white. They are also designed to
+be perceived by readers with the most common form of color blindness
+(all color maps in this package) and color vision deficiency
+('cividis' only).
diff --git a/graphics/R-viridis/Makefile b/graphics/R-viridis/Makefile
new file mode 100644
index 00000000000..6d4bd63d00b
--- /dev/null
+++ b/graphics/R-viridis/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/07/31 13:01:17 brook Exp $
+
+CATEGORIES= graphics R
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/viridis/
+COMMENT= Default color maps from 'matplotlib'
+LICENSE= mit
+
+R_PKGNAME= viridis
+R_PKGVER= 0.5.1
+
+DEPENDS+= R-ggplot2>=1.0.1:../../graphics/R-ggplot2
+DEPENDS+= R-viridisLite>=0.3.0:../../graphics/R-viridisLite
+
+USE_LANGUAGES= # none
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/R-viridis/distinfo b/graphics/R-viridis/distinfo
new file mode 100644
index 00000000000..d3b3dc4e383
--- /dev/null
+++ b/graphics/R-viridis/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/07/31 13:01:17 brook Exp $
+
+SHA1 (R/viridis_0.5.1.tar.gz) = 9ed9eaf76d1c3e66694d6948bb1d5d4bd3413539
+RMD160 (R/viridis_0.5.1.tar.gz) = 9ecb2b633da5e3f83ba5bad7068edc18182a0648
+SHA512 (R/viridis_0.5.1.tar.gz) = 73bc64b5d8dccc699e70e031dce7b33ccc60c192449aed49a0c0741c7e820a92c39e3ae4da7e787acb9839ad0fe0588aeb5bd976e9b42d3bf3ae4c79a7126ebd
+Size (R/viridis_0.5.1.tar.gz) = 1906320 bytes