pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-regex



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Sep 29 21:59:49 UTC 2017

Modified Files:
        pkgsrc/textproc/py-regex: DESCR Makefile PLIST

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

Fix some other pkglint warnings while here.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-regex/DESCR \
    pkgsrc/textproc/py-regex/Makefile pkgsrc/textproc/py-regex/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-regex/DESCR
diff -u pkgsrc/textproc/py-regex/DESCR:1.1 pkgsrc/textproc/py-regex/DESCR:1.2
--- pkgsrc/textproc/py-regex/DESCR:1.1  Fri Sep 29 13:49:25 2017
+++ pkgsrc/textproc/py-regex/DESCR      Fri Sep 29 21:59:48 2017
@@ -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.
Index: pkgsrc/textproc/py-regex/Makefile
diff -u pkgsrc/textproc/py-regex/Makefile:1.1 pkgsrc/textproc/py-regex/Makefile:1.2
--- pkgsrc/textproc/py-regex/Makefile:1.1       Fri Sep 29 13:49:25 2017
+++ pkgsrc/textproc/py-regex/Makefile   Fri Sep 29 21:59:48 2017
@@ -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/rege
 
 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}/Python3
 TESTDIR=${WRKSRC}/Python2
 .endif
 
+EGG_NAME=      regex-2017.7.28
+
+# needs 'make install' first
 do-test:
        cd ${TESTDIR} && ${PYTHONBIN} test_regex.py
 
Index: pkgsrc/textproc/py-regex/PLIST
diff -u pkgsrc/textproc/py-regex/PLIST:1.1 pkgsrc/textproc/py-regex/PLIST:1.2
--- pkgsrc/textproc/py-regex/PLIST:1.1  Fri Sep 29 13:49:25 2017
+++ pkgsrc/textproc/py-regex/PLIST      Fri Sep 29 21:59:48 2017
@@ -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