pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-packaging



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 14 07:16:53 UTC 2019

Modified Files:
        pkgsrc/devel/py-packaging: Makefile

Log Message:
py-packaging: add full py-attrs dependency, this is needed at runtime.

Fixes py-sphinx related build failures in other packages.

Bump PKGREVISION.

XXX: 'make test' needs 'make install' beforehand, please fix if you know how


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-packaging/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-packaging/Makefile
diff -u pkgsrc/devel/py-packaging/Makefile:1.6 pkgsrc/devel/py-packaging/Makefile:1.7
--- pkgsrc/devel/py-packaging/Makefile:1.6      Fri Aug  9 07:42:59 2019
+++ pkgsrc/devel/py-packaging/Makefile  Wed Aug 14 07:16:53 2019
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2019/08/09 07:42:59 adam Exp $
+# $NetBSD: Makefile,v 1.7 2019/08/14 07:16:53 wiz Exp $
 
 DISTNAME=      packaging-19.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/packaging/}
 
@@ -10,6 +11,7 @@ HOMEPAGE=     https://github.com/pypa/packag
 COMMENT=       Core utilities for Python packages
 LICENSE=       modified-bsd OR apache-2.0
 
+DEPENDS+=      ${PYPKGPREFIX}-attrs-[0-9]*:../../devel/py-attrs
 DEPENDS+=      ${PYPKGPREFIX}-pyparsing>=2.0.2:../../devel/py-pyparsing
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
@@ -17,8 +19,9 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]
 
 USE_LANGUAGES= # none
 
+# needs 'make install' before
 do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index