pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-textfsm



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Apr 13 12:22:41 UTC 2023

Modified Files:
        pkgsrc/textproc/py-textfsm: Makefile PLIST

Log Message:
py-textfsm: add missing DEPENDS and TEST_DEPENDS, fix test target

Simplify PLIST.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-textfsm/Makefile \
    pkgsrc/textproc/py-textfsm/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-textfsm/Makefile
diff -u pkgsrc/textproc/py-textfsm/Makefile:1.1 pkgsrc/textproc/py-textfsm/Makefile:1.2
--- pkgsrc/textproc/py-textfsm/Makefile:1.1     Fri Mar 31 22:41:09 2023
+++ pkgsrc/textproc/py-textfsm/Makefile Thu Apr 13 12:22:41 2023
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2023/03/31 22:41:09 he Exp $
+# $NetBSD: Makefile,v 1.2 2023/04/13 12:22:41 wiz Exp $
 
 DISTNAME=      textfsm-1.1.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
+GITHUB_PROJECT=        textfsm
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/google/textfsm
@@ -11,9 +13,13 @@ COMMENT=     Template based state machine fo
 LICENSE=       apache-2.0
 
 DEPENDS+=      ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-GITHUB_PROJECT=        textfsm
-GITHUB_TAG=    v${PKGVERSION_NOREV}
+EGG_NAME=      textfsm-1.1.2
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-textfsm/PLIST
diff -u pkgsrc/textproc/py-textfsm/PLIST:1.1 pkgsrc/textproc/py-textfsm/PLIST:1.2
--- pkgsrc/textproc/py-textfsm/PLIST:1.1        Fri Mar 31 22:41:09 2023
+++ pkgsrc/textproc/py-textfsm/PLIST    Thu Apr 13 12:22:41 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2023/03/31 22:41:09 he Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/04/13 12:22:41 wiz Exp $
 bin/textfsm
 ${PYSITELIB}/testdata/clitable_templateA
 ${PYSITELIB}/testdata/clitable_templateB
@@ -10,12 +10,12 @@ ${PYSITELIB}/testdata/parseindex_index
 ${PYSITELIB}/testdata/parseindexfail1_index
 ${PYSITELIB}/testdata/parseindexfail2_index
 ${PYSITELIB}/testdata/parseindexfail3_index
-${PYSITELIB}/textfsm-1.1.2-py${PYVERSSUFFIX}.egg-info/PKG-INFO
-${PYSITELIB}/textfsm-1.1.2-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
-${PYSITELIB}/textfsm-1.1.2-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
-${PYSITELIB}/textfsm-1.1.2-py${PYVERSSUFFIX}.egg-info/entry_points.txt
-${PYSITELIB}/textfsm-1.1.2-py${PYVERSSUFFIX}.egg-info/requires.txt
-${PYSITELIB}/textfsm-1.1.2-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/textfsm/__init__.py
 ${PYSITELIB}/textfsm/__init__.pyc
 ${PYSITELIB}/textfsm/__init__.pyo



Home | Main Index | Thread Index | Old Index