From cb8624c15d0e3a783793eca6dda65542deb64926 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 29 Sep 2017 13:49:25 +0000 Subject: Add regex-2017.07.28: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This regex implementation is backwards-compatible with the standard ‘re’ module, but offers additional functionality. --- textproc/py-regex/DESCR | 2 ++ textproc/py-regex/Makefile | 25 +++++++++++++++++++++++++ textproc/py-regex/PLIST | 15 +++++++++++++++ textproc/py-regex/distinfo | 6 ++++++ 4 files changed, 48 insertions(+) create mode 100644 textproc/py-regex/DESCR create mode 100644 textproc/py-regex/Makefile create mode 100644 textproc/py-regex/PLIST create mode 100644 textproc/py-regex/distinfo (limited to 'textproc') 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 -- cgit v1.2.3