pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/url2pkg/files
Module Name: pkgsrc
Committed By: rillig
Date: Mon Nov 18 07:56:02 UTC 2019
Modified Files:
pkgsrc/pkgtools/url2pkg/files: url2pkg_test.py
Log Message:
pkgtools/url2pkg: add unit test for USE_TOOLS
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/pkgtools/url2pkg/files/url2pkg_test.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/url2pkg/files/url2pkg_test.py
diff -u pkgsrc/pkgtools/url2pkg/files/url2pkg_test.py:1.25 pkgsrc/pkgtools/url2pkg/files/url2pkg_test.py:1.26
--- pkgsrc/pkgtools/url2pkg/files/url2pkg_test.py:1.25 Mon Nov 18 07:50:51 2019
+++ pkgsrc/pkgtools/url2pkg/files/url2pkg_test.py Mon Nov 18 07:56:02 2019
@@ -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 @@ def test_Adjuster_generate_lines():
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 @@ def test_Adjuster_generate_lines():
'',
'DEPENDS+= dependency>=0:../../category/dependency',
'',
+ 'USE_TOOLS+= gmake',
+ '',
'.include "../../mk/bsd.pkg.mk"',
]
Home |
Main Index |
Thread Index |
Old Index