pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-regex py-regex: set EGGNAME instead of har...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f6abdadfbe1
branches:  trunk
changeset: 369486:7f6abdadfbe1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Sep 29 21:59:48 2017 +0000

description:
py-regex: set EGGNAME instead of hardcoding egg names in PLIST

Fix some other pkglint warnings while here.

diffstat:

 textproc/py-regex/DESCR    |   4 ++--
 textproc/py-regex/Makefile |   7 +++++--
 textproc/py-regex/PLIST    |  10 +++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (57 lines):

diff -r aa4de8e29956 -r 7f6abdadfbe1 textproc/py-regex/DESCR
--- a/textproc/py-regex/DESCR   Fri Sep 29 21:55:05 2017 +0000
+++ b/textproc/py-regex/DESCR   Fri Sep 29 21:59:48 2017 +0000
@@ -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 -r aa4de8e29956 -r 7f6abdadfbe1 textproc/py-regex/Makefile
--- a/textproc/py-regex/Makefile        Fri Sep 29 21:55:05 2017 +0000
+++ b/textproc/py-regex/Makefile        Fri Sep 29 21:59:48 2017 +0000
@@ -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 @@
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 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}/Python2
 .endif
 
+EGG_NAME=      regex-2017.7.28
+
+# needs 'make install' first
 do-test:
        cd ${TESTDIR} && ${PYTHONBIN} test_regex.py
 
diff -r aa4de8e29956 -r 7f6abdadfbe1 textproc/py-regex/PLIST
--- a/textproc/py-regex/PLIST   Fri Sep 29 21:55:05 2017 +0000
+++ b/textproc/py-regex/PLIST   Fri Sep 29 21:59:48 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index