pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-backports.functools_lru_cache



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 16 08:54:03 UTC 2020

Modified Files:
        pkgsrc/devel/py-backports.functools_lru_cache: Makefile

Log Message:
pytest from versioned depends


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    pkgsrc/devel/py-backports.functools_lru_cache/Makefile

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

Modified files:

Index: pkgsrc/devel/py-backports.functools_lru_cache/Makefile
diff -u pkgsrc/devel/py-backports.functools_lru_cache/Makefile:1.7 pkgsrc/devel/py-backports.functools_lru_cache/Makefile:1.8
--- pkgsrc/devel/py-backports.functools_lru_cache/Makefile:1.7  Wed Nov 13 14:41:48 2019
+++ pkgsrc/devel/py-backports.functools_lru_cache/Makefile      Sat May 16 08:54:03 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/11/13 14:41:48 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2020/05/16 08:54:03 adam Exp $
 
 DISTNAME=      backports.functools_lru_cache-1.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,7 +12,6 @@ LICENSE=      mit
 
 DEPENDS+=      ${PYPKGPREFIX}-backports-[0-9]*:../../devel/py-backports
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
 
@@ -20,10 +19,10 @@ PYTHON_VERSIONS_ACCEPTED=   27
 
 # XXX: also needs py-test-black
 do-test:
-       cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
+       cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
 
 post-install:
-       rm ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
+       ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index