diff options
author | joerg <joerg@pkgsrc.org> | 2017-09-29 13:49:25 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-09-29 13:49:25 +0000 |
commit | cb8624c15d0e3a783793eca6dda65542deb64926 (patch) | |
tree | f4b6ff8d7c01c652a35265f8cecf1f3266faa373 /textproc/py-regex | |
parent | c46d23a95e9cdf1ad7ce10fbe26aa2d77918e0d2 (diff) | |
download | pkgsrc-cb8624c15d0e3a783793eca6dda65542deb64926.tar.gz |
Add regex-2017.07.28:
This regex implementation is backwards-compatible with the standard ‘re’
module, but offers additional functionality.
Diffstat (limited to 'textproc/py-regex')
-rw-r--r-- | textproc/py-regex/DESCR | 2 | ||||
-rw-r--r-- | textproc/py-regex/Makefile | 25 | ||||
-rw-r--r-- | textproc/py-regex/PLIST | 15 | ||||
-rw-r--r-- | textproc/py-regex/distinfo | 6 |
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/py-regex/DESCR b/textproc/py-regex/DESCR new file mode 100644 index 00000000000..1391af3ecd2 --- /dev/null +++ b/textproc/py-regex/DESCR @@ -0,0 +1,2 @@ +This regex implementation is backwards-compatible with the standard ‘re’ +module, but offers additional functionality. diff --git a/textproc/py-regex/Makefile b/textproc/py-regex/Makefile new file mode 100644 index 00000000000..aeaa2c9a13f --- /dev/null +++ b/textproc/py-regex/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2017/09/29 13:49:25 joerg Exp $ + +DISTNAME= regex-2017.07.28 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_PYPI:=r/regex/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://bitbucket.org/mrabarnett/mrab-regex +COMMENT= Alternative regular expression module, to replace re. +LICENSE= python-software-foundation + +.include "../../lang/python/pyversion.mk" + +.if !empty(_PYTHON_VERSION:M3*) +TESTDIR=${WRKSRC}/Python3 +.else +TESTDIR=${WRKSRC}/Python2 +.endif + +do-test: + cd ${TESTDIR} && ${PYTHONBIN} test_regex.py + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-regex/PLIST b/textproc/py-regex/PLIST new file mode 100644 index 00000000000..d264cdd46a3 --- /dev/null +++ b/textproc/py-regex/PLIST @@ -0,0 +1,15 @@ +@comment $NetBSD: PLIST,v 1.1 2017/09/29 13:49:25 joerg Exp $ +${PYSITELIB}/_regex.so +${PYSITELIB}/_regex_core.py +${PYSITELIB}/_regex_core.pyc +${PYSITELIB}/_regex_core.pyo +${PYSITELIB}/regex-2017.7.28-py${PYVERSSUFFIX}.egg-info/PKG-INFO +${PYSITELIB}/regex-2017.7.28-py${PYVERSSUFFIX}.egg-info/SOURCES.txt +${PYSITELIB}/regex-2017.7.28-py${PYVERSSUFFIX}.egg-info/dependency_links.txt +${PYSITELIB}/regex-2017.7.28-py${PYVERSSUFFIX}.egg-info/top_level.txt +${PYSITELIB}/regex.py +${PYSITELIB}/regex.pyc +${PYSITELIB}/regex.pyo +${PYSITELIB}/test_regex.py +${PYSITELIB}/test_regex.pyc +${PYSITELIB}/test_regex.pyo diff --git a/textproc/py-regex/distinfo b/textproc/py-regex/distinfo new file mode 100644 index 00000000000..cad9e4419e6 --- /dev/null +++ b/textproc/py-regex/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/09/29 13:49:25 joerg Exp $ + +SHA1 (regex-2017.07.28.tar.gz) = 733dd874fbe7d5dcfc8934425d650f754b9590d9 +RMD160 (regex-2017.07.28.tar.gz) = e648e968dbd4cd2322556427ea3c7407a1c1eddc +SHA512 (regex-2017.07.28.tar.gz) = 9bddabc403abd1f249aa59122412c27963cd60f7287deb42b327fa1fc25e988464b304e9e56f03ec140d76b753ce68266bf7104d2a9570eb7cfc9f46bd504234 +Size (regex-2017.07.28.tar.gz) = 607577 bytes |