pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-packaging py-packaging: add full py-attrs dep...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d98174a42e8c
branches:  trunk
changeset: 337874:d98174a42e8c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Aug 14 07:16:53 2019 +0000

description:
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

diffstat:

 devel/py-packaging/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r a621a9660e45 -r d98174a42e8c devel/py-packaging/Makefile
--- a/devel/py-packaging/Makefile       Wed Aug 14 03:48:06 2019 +0000
+++ b/devel/py-packaging/Makefile       Wed Aug 14 07:16:53 2019 +0000
@@ -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 @@
 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 @@
 
 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