pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/url2pkg/files pkgtools/url2pkg: add unit test...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c046a237ae93
branches: trunk
changeset: 417918:c046a237ae93
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Nov 18 07:56:02 2019 +0000
description:
pkgtools/url2pkg: add unit test for USE_TOOLS
diffstat:
pkgtools/url2pkg/files/url2pkg_test.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r daedf26b93e8 -r c046a237ae93 pkgtools/url2pkg/files/url2pkg_test.py
--- a/pkgtools/url2pkg/files/url2pkg_test.py Mon Nov 18 07:51:06 2019 +0000
+++ b/pkgtools/url2pkg/files/url2pkg_test.py Mon Nov 18 07:56:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: url2pkg_test.py,v 1.25 2019/11/18 07:50:51 rillig Exp $
+# $NetBSD: url2pkg_test.py,v 1.26 2019/11/18 07:56:02 rillig Exp $
import pytest
from url2pkg import *
@@ -1251,6 +1251,7 @@
assert adjuster.makefile_lines.set('#LICENSE', 'BSD # TODO: too unspecific')
adjuster.depends.append('dependency>=0:../../category/dependency')
adjuster.todos.append('Run pkglint')
+ adjuster.tools.add('gmake')
lines = adjuster.generate_lines()
@@ -1270,6 +1271,8 @@
'',
'DEPENDS+= dependency>=0:../../category/dependency',
'',
+ 'USE_TOOLS+= gmake',
+ '',
'.include "../../mk/bsd.pkg.mk"',
]
Home |
Main Index |
Thread Index |
Old Index