summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-09-29 21:59:48 +0000
committerwiz <wiz@pkgsrc.org>2017-09-29 21:59:48 +0000
commite446c37414cb92799998c02150727ef4b9780cff (patch)
tree5a26fc06be47a9bf242f78e7f1a705e14c8ce39d /textproc
parent55a01c233297fe029e490f4a15ec99be9402065c (diff)
downloadpkgsrc-e446c37414cb92799998c02150727ef4b9780cff.tar.gz
py-regex: set EGGNAME instead of hardcoding egg names in PLIST
Fix some other pkglint warnings while here.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-regex/DESCR4
-rw-r--r--textproc/py-regex/Makefile7
-rw-r--r--textproc/py-regex/PLIST10
3 files changed, 12 insertions, 9 deletions
diff --git a/textproc/py-regex/DESCR b/textproc/py-regex/DESCR
index 1391af3ecd2..4404ad8b1b8 100644
--- a/textproc/py-regex/DESCR
+++ b/textproc/py-regex/DESCR
@@ -1,2 +1,2 @@
-This regex implementation is backwards-compatible with the standard ‘re’
-module, but offers additional functionality.
+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
index aeaa2c9a13f..a45f444d6c3 100644
--- a/textproc/py-regex/Makefile
+++ b/textproc/py-regex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2017/09/29 13:49:25 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2017/09/29 21:59:48 wiz Exp $
DISTNAME= regex-2017.07.28
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -7,7 +7,7 @@ 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.
+COMMENT= Alternative regular expression module, to replace re
LICENSE= python-software-foundation
.include "../../lang/python/pyversion.mk"
@@ -18,6 +18,9 @@ TESTDIR=${WRKSRC}/Python3
TESTDIR=${WRKSRC}/Python2
.endif
+EGG_NAME= regex-2017.7.28
+
+# needs 'make install' first
do-test:
cd ${TESTDIR} && ${PYTHONBIN} test_regex.py
diff --git a/textproc/py-regex/PLIST b/textproc/py-regex/PLIST
index d264cdd46a3..066f32f01fe 100644
--- a/textproc/py-regex/PLIST
+++ b/textproc/py-regex/PLIST
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/29 13:49:25 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/09/29 21:59:48 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${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