Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-cpplint py-cpplint: fix sandboxed builds
details: https://anonhg.NetBSD.org/pkgsrc/rev/0454d580dfff
branches: trunk
changeset: 435942:0454d580dfff
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Tue Jul 21 00:22:53 2020 +0000
description:
py-cpplint: fix sandboxed builds
In (some) sandboxed environments, this would fail to build due to a
series of failures relating to setup requirements. It prefers py-pip,
so simply explicitly make that a TOOL_DEPENDS.
diffstat:
devel/py-cpplint/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 5da584301d48 -r 0454d580dfff devel/py-cpplint/Makefile
--- a/devel/py-cpplint/Makefile Mon Jul 20 23:43:43 2020 +0000
+++ b/devel/py-cpplint/Makefile Tue Jul 21 00:22:53 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/06/29 13:09:44 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/21 00:22:53 gutteridge Exp $
DISTNAME= cpplint-1.5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@
COMMENT= Static code checker for C++
LICENSE= modified-bsd
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
PYTHON_VERSIONED_DEPENDENCIES= test:test zipp:test
Home |
Main Index |
Thread Index |
Old Index