diff options
author | TAKATSU Tomonari <tota@FreeBSD.org> | 2015-08-12 19:11:15 +0000 |
---|---|---|
committer | TAKATSU Tomonari <tota@FreeBSD.org> | 2015-08-12 19:11:15 +0000 |
commit | 9f92452857302b1e945908fae1d32043ec1e04ee (patch) | |
tree | aef58c4608b5258973f76b0ed07a915f82099878 /www/R-cran-selectr | |
parent | 4fac27567a565687129a81df2f564035ef2b64ef (diff) |
- 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/
Notes
Notes:
svn path=/head/; revision=394031
Diffstat (limited to 'www/R-cran-selectr')
-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 |
3 files changed, 28 insertions, 0 deletions
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/ |