textproc/R-selectr: import R-selectr-0.4.2

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'
(<https://cssselect.readthedocs.io/>).
This commit is contained in:
mef 2020-01-13 02:15:09 +00:00
parent 4e97f817b7
commit e551c90264
3 changed files with 28 additions and 0 deletions

6
textproc/R-selectr/DESCR Normal file
View file

@ -0,0 +1,6 @@
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'
(<https://cssselect.readthedocs.io/>).

View file

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2020/01/13 02:15:09 mef Exp $
R_PKGNAME= selectr
R_PKGVER= 0.4-2
CATEGORIES= textproc
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Translate CSS Selectors to XPath Expressions
LICENSE= modified-bsd
DEPENDS+= R-stringr>=1.4.0:../../textproc/R-stringr
USE_LANGUAGES= # none
.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/01/13 02:15:09 mef Exp $
SHA1 (R/selectr_0.4-2.tar.gz) = f6af5afc6febfe7b568d18323d3610b220b14b50
RMD160 (R/selectr_0.4-2.tar.gz) = f5e0274f99a958f06941b2c5f7c50d0ab8b2609d
SHA512 (R/selectr_0.4-2.tar.gz) = 4f142e644a206a4a24a7bdffd04acaf4deb34b8e7cc9104b24de20b8bffbefcc424d223df25af5792430fcef051364423b903f385353ba4269bdc1886bf30c1b
Size (R/selectr_0.4-2.tar.gz) = 41371 bytes