Date: Sat, 27 Feb 2021 12:28:21 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566697 - in head/textproc: . py-wcmatch Message-ID: <202102271228.11RCSLQf020535@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: matthew Date: Sat Feb 27 12:28:21 2021 New Revision: 566697 URL: https://svnweb.freebsd.org/changeset/ports/566697 Log: Wildcard Match provides an enhanced fnmatch, glob, and pathlib library in order to provide file matching and globbing that more closely follows the features found in Bash. In some ways these libraries are similar to Python's builtin libraries as they provide a similar interface to match, filter, and glob the file system. But they also include a number of features found in Bash's globbing such as backslash escaping, brace expansion, extended glob pattern groups, etc. They also add a number of new useful functions as well, such as globmatch which functions like fnmatch, but for paths. WWW: https://pypi.org/project/wcmatch/ Added: head/textproc/py-wcmatch/ head/textproc/py-wcmatch/Makefile (contents, props changed) head/textproc/py-wcmatch/distinfo (contents, props changed) head/textproc/py-wcmatch/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Feb 27 12:13:10 2021 (r566696) +++ head/textproc/Makefile Sat Feb 27 12:28:21 2021 (r566697) @@ -1447,6 +1447,7 @@ SUBDIR += py-ttp SUBDIR += py-ucl SUBDIR += py-ufal.udpipe + SUBDIR += py-wcmatch SUBDIR += py-whoosh SUBDIR += py-wordcloud SUBDIR += py-wordnet Added: head/textproc/py-wcmatch/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-wcmatch/Makefile Sat Feb 27 12:28:21 2021 (r566697) @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= wcmatch +PORTVERSION= 8.1.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Wildcard/glob file name matcher + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bracex>=2.1.1:textproc/py-bracex@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) + +.include <bsd.port.mk> Added: head/textproc/py-wcmatch/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-wcmatch/distinfo Sat Feb 27 12:28:21 2021 (r566697) @@ -0,0 +1,3 @@ +TIMESTAMP = 1614428340 +SHA256 (wcmatch-8.1.1.tar.gz) = 7ba09191f9582e82d864829bdfbab02df46e26a46a304e57c7fe5652f07f297a +SIZE (wcmatch-8.1.1.tar.gz) = 112831 Added: head/textproc/py-wcmatch/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-wcmatch/pkg-descr Sat Feb 27 12:28:21 2021 (r566697) @@ -0,0 +1,11 @@ +Wildcard Match provides an enhanced fnmatch, glob, and pathlib library +in order to provide file matching and globbing that more closely +follows the features found in Bash. In some ways these libraries are +similar to Python's builtin libraries as they provide a similar +interface to match, filter, and glob the file system. But they also +include a number of features found in Bash's globbing such as +backslash escaping, brace expansion, extended glob pattern groups, +etc. They also add a number of new useful functions as well, such as +globmatch which functions like fnmatch, but for paths. + +WWW: https://pypi.org/project/wcmatch/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102271228.11RCSLQf020535>