[arch-projects] [namcap] [PATCH] Revert "makedepends: Replace bzr with breezy"
Michael Straube
michael.straubej at gmail.com
Sun Sep 20 07:52:21 UTC 2020
As Allan pointed out the change bzr -> breezy was in Arch,
but not everywhere else pacman is used. Also breezy provides
bzr, so it still works as it was.
Signed-off-by: Michael Straube <michael.straubej at gmail.com>
---
https://lists.archlinux.org/pipermail/pacman-dev/2020-July/024474.html
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 b319e7c..380a089 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' : 'breezy',
+ 'bzr' : 'bzr',
'git' : 'git',
'hg' : 'mercurial',
'svn' : 'subversion',
diff --git a/Namcap/tests/pkgbuild/test_makedepends.py b/Namcap/tests/pkgbuild/test_makedepends.py
index 676af33..d443b2b 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 = ['breezy', 'git', 'mercurial', 'subversion']
+ makedeps = ['bzr', 'git', 'mercurial', 'subversion']
r = self.run_on_pkg(self.pkgbuild1)
self.assertEqual(r.errors, [])
self.assertEqual(set(r.warnings),
--
2.28.0
More information about the arch-projects
mailing list