py-regex: set EGGNAME instead of hardcoding egg names in PLIST
Fix some other pkglint warnings while here.
This commit is contained in:
parent
a403d8c0f0
commit
42ccbae5b3
3 changed files with 12 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue