Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2020 02:50:07 +0000 (UTC)
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r552488 - in head/textproc: . py-elementpath
Message-ID:  <202010160250.09G2o8G9053969@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wen
Date: Fri Oct 16 02:50:07 2020
New Revision: 552488
URL: https://svnweb.freebsd.org/changeset/ports/552488

Log:
  The proposal of this package is to provide XPath 1.0 and 2.0 selectors for
  Python's ElementTree XML data structures, both for the standard ElementTree
  library and for the lxml.etree library.
  
  For lxml.etree this package can be useful for providing XPath 2.0 selectors,
  because lxml.etree already has it's own implementation of XPath 1.0.
  
  WWW: https://github.com/sissaschool/elementpath

Added:
  head/textproc/py-elementpath/
  head/textproc/py-elementpath/Makefile   (contents, props changed)
  head/textproc/py-elementpath/distinfo   (contents, props changed)
  head/textproc/py-elementpath/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Fri Oct 16 01:35:19 2020	(r552487)
+++ head/textproc/Makefile	Fri Oct 16 02:50:07 2020	(r552488)
@@ -1251,6 +1251,7 @@
     SUBDIR += py-elasticsearch-dsl
     SUBDIR += py-elasticsearch5
     SUBDIR += py-elasticsearch6
+    SUBDIR += py-elementpath
     SUBDIR += py-empy
     SUBDIR += py-enchant
     SUBDIR += py-et_xmlfile

Added: head/textproc/py-elementpath/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-elementpath/Makefile	Fri Oct 16 02:50:07 2020	(r552488)
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME=	elementpath
+DISTVERSION=	2.0.3
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	wen@FreeBSD.org
+COMMENT=	XPath 1.0/2.0 parsers and selectors for ElementTree and lxml
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	distutils concurrent autoplist
+
+NO_ARCH=	yes
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
+.include <bsd.port.mk>

Added: head/textproc/py-elementpath/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-elementpath/distinfo	Fri Oct 16 02:50:07 2020	(r552488)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1602840940
+SHA256 (elementpath-2.0.3.tar.gz) = 1f652f515866f2a9bdf96f118cd3f9d328af213451c0a88c34d061eec729bdcf
+SIZE (elementpath-2.0.3.tar.gz) = 191499

Added: head/textproc/py-elementpath/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-elementpath/pkg-descr	Fri Oct 16 02:50:07 2020	(r552488)
@@ -0,0 +1,8 @@
+The proposal of this package is to provide XPath 1.0 and 2.0 selectors for
+Python's ElementTree XML data structures, both for the standard ElementTree
+library and for the lxml.etree library.
+
+For lxml.etree this package can be useful for providing XPath 2.0 selectors,
+because lxml.etree already has it's own implementation of XPath 1.0.
+
+WWW: https://github.com/sissaschool/elementpath



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