summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-05-28 04:25:14 +0000
committeradam <adam@pkgsrc.org>2021-05-28 04:25:14 +0000
commit2e367bd08f37ba02d18a691ccef5a8142a25ba82 (patch)
tree94b2069f0df740e49f4e3416f3de3f1f0a62f77f
parent319e5a7944b43ac0f568f2485e27b27a4d360ca5 (diff)
downloadpkgsrc-2e367bd08f37ba02d18a691ccef5a8142a25ba82.tar.gz
py-wcmatch: added version 8.2
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.
-rw-r--r--textproc/Makefile4
-rw-r--r--textproc/py-wcmatch/DESCR8
-rw-r--r--textproc/py-wcmatch/Makefile20
-rw-r--r--textproc/py-wcmatch/PLIST36
-rw-r--r--textproc/py-wcmatch/distinfo6
5 files changed, 73 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9d13e03276b..5749df2f362 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1227 2021/05/13 09:50:27 wiz Exp $
+# $NetBSD: Makefile,v 1.1228 2021/05/28 04:25:14 adam Exp $
#
COMMENT= Text processing utilities (does not include desktop publishing)
@@ -853,6 +853,7 @@ SUBDIR+= py-anyjson
SUBDIR+= py-babelfish
SUBDIR+= py-biplist
SUBDIR+= py-black
+SUBDIR+= py-bracex
SUBDIR+= py-cElementTree
SUBDIR+= py-cabocha
SUBDIR+= py-cmTemplate
@@ -996,6 +997,7 @@ SUBDIR+= py-ujson
SUBDIR+= py-uritemplate
SUBDIR+= py-validators
SUBDIR+= py-vobject
+SUBDIR+= py-wcmatch
SUBDIR+= py-webencodings
SUBDIR+= py-xapian
SUBDIR+= py-xlrd
diff --git a/textproc/py-wcmatch/DESCR b/textproc/py-wcmatch/DESCR
new file mode 100644
index 00000000000..39ea4266864
--- /dev/null
+++ b/textproc/py-wcmatch/DESCR
@@ -0,0 +1,8 @@
+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.
diff --git a/textproc/py-wcmatch/Makefile b/textproc/py-wcmatch/Makefile
new file mode 100644
index 00000000000..97be26d3277
--- /dev/null
+++ b/textproc/py-wcmatch/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2021/05/28 04:25:14 adam Exp $
+
+DISTNAME= wcmatch-8.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=w/wcmatch/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/facelessuser/wcmatch
+COMMENT= Wildcard/glob file name matcher
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-bracex>=2.1.1:../../textproc/py-bracex
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-wcmatch/PLIST b/textproc/py-wcmatch/PLIST
new file mode 100644
index 00000000000..c9928215002
--- /dev/null
+++ b/textproc/py-wcmatch/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1 2021/05/28 04:25:14 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/wcmatch/__init__.py
+${PYSITELIB}/wcmatch/__init__.pyc
+${PYSITELIB}/wcmatch/__init__.pyo
+${PYSITELIB}/wcmatch/__meta__.py
+${PYSITELIB}/wcmatch/__meta__.pyc
+${PYSITELIB}/wcmatch/__meta__.pyo
+${PYSITELIB}/wcmatch/_wcmatch.py
+${PYSITELIB}/wcmatch/_wcmatch.pyc
+${PYSITELIB}/wcmatch/_wcmatch.pyo
+${PYSITELIB}/wcmatch/_wcparse.py
+${PYSITELIB}/wcmatch/_wcparse.pyc
+${PYSITELIB}/wcmatch/_wcparse.pyo
+${PYSITELIB}/wcmatch/fnmatch.py
+${PYSITELIB}/wcmatch/fnmatch.pyc
+${PYSITELIB}/wcmatch/fnmatch.pyo
+${PYSITELIB}/wcmatch/glob.py
+${PYSITELIB}/wcmatch/glob.pyc
+${PYSITELIB}/wcmatch/glob.pyo
+${PYSITELIB}/wcmatch/pathlib.py
+${PYSITELIB}/wcmatch/pathlib.pyc
+${PYSITELIB}/wcmatch/pathlib.pyo
+${PYSITELIB}/wcmatch/posix.py
+${PYSITELIB}/wcmatch/posix.pyc
+${PYSITELIB}/wcmatch/posix.pyo
+${PYSITELIB}/wcmatch/util.py
+${PYSITELIB}/wcmatch/util.pyc
+${PYSITELIB}/wcmatch/util.pyo
+${PYSITELIB}/wcmatch/wcmatch.py
+${PYSITELIB}/wcmatch/wcmatch.pyc
+${PYSITELIB}/wcmatch/wcmatch.pyo
diff --git a/textproc/py-wcmatch/distinfo b/textproc/py-wcmatch/distinfo
new file mode 100644
index 00000000000..53046b08737
--- /dev/null
+++ b/textproc/py-wcmatch/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/05/28 04:25:14 adam Exp $
+
+SHA1 (wcmatch-8.2.tar.gz) = 2188944bf1c7e283a56d0070faade62b3fa8cdd5
+RMD160 (wcmatch-8.2.tar.gz) = 66977cd4019aca4119295071e594c8f4d199baed
+SHA512 (wcmatch-8.2.tar.gz) = 9b455f3fc3567b22bac0ef65e61f8c9e32a13a5c7930af83ae085900178515d93b7b95cc18bf42990d71d05787785e7f641e9185cf8577725e175bcc4e168de4
+Size (wcmatch-8.2.tar.gz) = 115943 bytes