Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2015 19:11:16 +0000 (UTC)
From:      TAKATSU Tomonari <tota@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r394031 - in head/www: . R-cran-selectr
Message-ID:  <201508121911.t7CJBGAL085432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tota
Date: Wed Aug 12 19:11:15 2015
New Revision: 394031
URL: https://svnweb.freebsd.org/changeset/ports/394031

Log:
  - 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/

Added:
  head/www/R-cran-selectr/
  head/www/R-cran-selectr/Makefile   (contents, props changed)
  head/www/R-cran-selectr/distinfo   (contents, props changed)
  head/www/R-cran-selectr/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Aug 12 19:09:01 2015	(r394030)
+++ head/www/Makefile	Wed Aug 12 19:11:15 2015	(r394031)
@@ -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

Added: head/www/R-cran-selectr/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/R-cran-selectr/Makefile	Wed Aug 12 19:11:15 2015	(r394031)
@@ -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>

Added: head/www/R-cran-selectr/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/R-cran-selectr/distinfo	Wed Aug 12 19:11:15 2015	(r394031)
@@ -0,0 +1,2 @@
+SHA256 (selectr_0.2-3.tar.gz) = e1aa471762462bc4b7acd37f221109a8856988959e291e45c28b3b5e8d0bf5de
+SIZE (selectr_0.2-3.tar.gz) = 28227

Added: head/www/R-cran-selectr/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/R-cran-selectr/pkg-descr	Wed Aug 12 19:11:15 2015	(r394031)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508121911.t7CJBGAL085432>