pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-pluggy py-pluggy: update to 0.13.1nb1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e255113a9608
branches: trunk
changeset: 424520:e255113a9608
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Mar 12 07:30:48 2020 +0000
description:
py-pluggy: update to 0.13.1nb1.
py-importlib-metadata is only required for python<3.8.
diffstat:
devel/py-pluggy/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 804140bfbc56 -r e255113a9608 devel/py-pluggy/Makefile
--- a/devel/py-pluggy/Makefile Thu Mar 12 07:15:10 2020 +0000
+++ b/devel/py-pluggy/Makefile Thu Mar 12 07:30:48 2020 +0000
@@ -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 @@
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