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/0dea93a48f4e
branches: trunk
changeset: 344268:0dea93a48f4e
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 a58c6d6c6069 -r 0dea93a48f4e 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