- 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/
This commit is contained in:
parent
4fac27567a
commit
9f92452857
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=394031
4 changed files with 29 additions and 0 deletions
|
@ -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
|
||||
|
|
19
www/R-cran-selectr/Makefile
Normal file
19
www/R-cran-selectr/Makefile
Normal file
|
@ -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>
|
2
www/R-cran-selectr/distinfo
Normal file
2
www/R-cran-selectr/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (selectr_0.2-3.tar.gz) = e1aa471762462bc4b7acd37f221109a8856988959e291e45c28b3b5e8d0bf5de
|
||||
SIZE (selectr_0.2-3.tar.gz) = 28227
|
7
www/R-cran-selectr/pkg-descr
Normal file
7
www/R-cran-selectr/pkg-descr
Normal file
|
@ -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/
|
Loading…
Reference in a new issue