[arch-projects] [namcap] [PATCH] makedepends: Replace bzr with breezy
The 'bzr' package was replaced with 'breezy' in the repos. Update the VCS makedepends rule to report the correct package. Signed-off-by: Michael Straube <michael.straube@posteo.de> --- Namcap/rules/makedepends.py | 2 +- Namcap/tests/pkgbuild/test_makedepends.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Namcap/rules/makedepends.py b/Namcap/rules/makedepends.py index 380a089..b319e7c 100644 --- a/Namcap/rules/makedepends.py +++ b/Namcap/rules/makedepends.py @@ -48,7 +48,7 @@ class VCSMakedepends(PkgbuildRule): def analyze(self, pkginfo, pkgbuild): vcs = { - 'bzr' : 'bzr', + 'bzr' : 'breezy', 'git' : 'git', 'hg' : 'mercurial', 'svn' : 'subversion', diff --git a/Namcap/tests/pkgbuild/test_makedepends.py b/Namcap/tests/pkgbuild/test_makedepends.py index d443b2b..676af33 100644 --- a/Namcap/tests/pkgbuild/test_makedepends.py +++ b/Namcap/tests/pkgbuild/test_makedepends.py @@ -97,7 +97,7 @@ package() { def test_example1(self): # Example 1 - makedeps = ['bzr', 'git', 'mercurial', 'subversion'] + makedeps = ['breezy', 'git', 'mercurial', 'subversion'] r = self.run_on_pkg(self.pkgbuild1) self.assertEqual(r.errors, []) self.assertEqual(set(r.warnings), -- 2.25.0
participants (1)
-
Michael Straube