summaryrefslogtreecommitdiff
path: root/textproc/R-selectr/Makefile
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-01-13 02:15:09 +0000
committermef <mef@pkgsrc.org>2020-01-13 02:15:09 +0000
commitac653ce0f78d06d9ade20e13d5c46a60918b24a7 (patch)
tree9402ff64e34c6b62c3d922263953f7110e529d37 /textproc/R-selectr/Makefile
parent0aba1f698bdbb463878c680b4f619ddeec8d7d15 (diff)
downloadpkgsrc-ac653ce0f78d06d9ade20e13d5c46a60918b24a7.tar.gz
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/>).
Diffstat (limited to 'textproc/R-selectr/Makefile')
-rw-r--r--textproc/R-selectr/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/R-selectr/Makefile b/textproc/R-selectr/Makefile
new file mode 100644
index 00000000000..5603696a72f
--- /dev/null
+++ b/textproc/R-selectr/Makefile
@@ -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"