pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pluggy



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Mar 12 07:30:48 UTC 2020

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

Log Message:
py-pluggy: update to 0.13.1nb1.

py-importlib-metadata is only required for python<3.8.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/py-pluggy/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-pluggy/Makefile
diff -u pkgsrc/devel/py-pluggy/Makefile:1.14 pkgsrc/devel/py-pluggy/Makefile:1.15
--- pkgsrc/devel/py-pluggy/Makefile:1.14        Fri Nov 22 09:18:48 2019
+++ pkgsrc/devel/py-pluggy/Makefile     Thu Mar 12 07:30:48 2020
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2019/11/22 09:18:48 adam Exp $
+# $NetBSD: Makefile,v 1.15 2020/03/12 07:30:48 wiz Exp $
 
 DISTNAME=      pluggy-0.13.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pluggy/}
 
@@ -11,7 +12,13 @@ COMMENT=     Plugin and hook calling mechani
 LICENSE=       mit
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${_PYTHON_VERSION} < 38
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=0.12:../../devel/py-importlib-metadata
+.endif
+
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none



Home | Main Index | Thread Index | Old Index