[namcap] Revert "makedepends: Replace bzr with breezy"

Message ID 20200920075221.10140-1-michael.straubej@gmail.com
State New
Headers show
Series
  • [namcap] Revert "makedepends: Replace bzr with breezy"
Related show

Commit Message

Michael Straube via arch-projects Sept. 20, 2020, 7:52 a.m. UTC
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@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(-)

Patch

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),