diff options
author | tota <tota@FreeBSD.org> | 2015-08-13 03:11:15 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2015-08-13 03:11:15 +0800 |
commit | aa7dbe1fe55f06a1b10fe89728500adda74fffa3 (patch) | |
tree | aef58c4608b5258973f76b0ed07a915f82099878 /www | |
parent | fa9af12e2f4535ac8c610d02384aa1fda6ba2b18 (diff) | |
download | freebsd-ports-gnome-aa7dbe1fe55f06a1b10fe89728500adda74fffa3.tar.gz freebsd-ports-gnome-aa7dbe1fe55f06a1b10fe89728500adda74fffa3.tar.zst freebsd-ports-gnome-aa7dbe1fe55f06a1b10fe89728500adda74fffa3.zip |
- Add new port: www/R-cran-selectr
Translates a CSS3 selector into an equivalent XPath expression.
This allows us to use CSS selectors when working with the XML package
as it can only evaluate XPath expressions. Also provided are
convenience functions useful for using CSS selectors on XML nodes.
This package is a port of the Python package "cssselect".
WWW: https://cran.r-project.org/web/packages/selectr/
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/R-cran-selectr/Makefile | 19 | ||||
-rw-r--r-- | www/R-cran-selectr/distinfo | 2 | ||||
-rw-r--r-- | www/R-cran-selectr/pkg-descr | 7 |
4 files changed, 29 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 05e86f127dd3..48ff66d6125e 100644 --- a/www/Makefile +++ b/www/Makefile @@ -10,6 +10,7 @@ SUBDIR += R-cran-httpuv SUBDIR += R-cran-httr SUBDIR += R-cran-scrapeR + SUBDIR += R-cran-selectr SUBDIR += R-cran-shiny SUBDIR += WebMagick SUBDIR += ach diff --git a/www/R-cran-selectr/Makefile b/www/R-cran-selectr/Makefile new file mode 100644 index 000000000000..2b377ccd5db5 --- /dev/null +++ b/www/R-cran-selectr/Makefile @@ -0,0 +1,19 @@ +# Created by: TAKATSU Tomonari <tota@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= selectr +DISTVERSION= 0.2-3 +CATEGORIES= www +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= tota@FreeBSD.org +COMMENT= Translate CSS Selectors to XPath Expressions + +LICENSE= BSD3CLAUSE + +RUN_DEPENDS= R-cran-XML>0:${PORTSDIR}/textproc/R-cran-XML \ + R-cran-stringr>0:${PORTSDIR}/textproc/R-cran-stringr + +USES= cran:auto-plist + +.include <bsd.port.mk> diff --git a/www/R-cran-selectr/distinfo b/www/R-cran-selectr/distinfo new file mode 100644 index 000000000000..689d24b872f1 --- /dev/null +++ b/www/R-cran-selectr/distinfo @@ -0,0 +1,2 @@ +SHA256 (selectr_0.2-3.tar.gz) = e1aa471762462bc4b7acd37f221109a8856988959e291e45c28b3b5e8d0bf5de +SIZE (selectr_0.2-3.tar.gz) = 28227 diff --git a/www/R-cran-selectr/pkg-descr b/www/R-cran-selectr/pkg-descr new file mode 100644 index 000000000000..4e5180afe7ab --- /dev/null +++ b/www/R-cran-selectr/pkg-descr @@ -0,0 +1,7 @@ +Translates a CSS3 selector into an equivalent XPath expression. +This allows us to use CSS selectors when working with the XML package +as it can only evaluate XPath expressions. Also provided are +convenience functions useful for using CSS selectors on XML nodes. +This package is a port of the Python package "cssselect". + +WWW: https://cran.r-project.org/web/packages/selectr/ |