[arch-projects] [namcap][PATCH] tests: fix invalid provides >=
provides>= is not valid according to man PKGBUILD and makepkg --printsrcinfo change it to provides= Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> --- Namcap/tests/test_pacman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Namcap/tests/test_pacman.py b/Namcap/tests/test_pacman.py index d406a27..0fe74ba 100644 --- a/Namcap/tests/test_pacman.py +++ b/Namcap/tests/test_pacman.py @@ -18,7 +18,7 @@ url="http://www.example.com/" license=('GPL') depends=('glibc' 'foobar') optdepends=('libabc: provides the abc feature') -provides=('yourpackage>=0.9') +provides=('yourpackage=0.9') options=('!libtool') source=(ftp://ftp.example.com/pub/mypackage-0.1.tar.gz) md5sums=('abcdefabcdef12345678901234567890') @@ -68,6 +68,6 @@ class PkgbuildLoaderTests(unittest.TestCase): def test_provides(self): self.assertEqual(self.pkginfo['provides'], ["yourpackage"]) self.assertEqual(self.pkginfo['orig_provides'], - ["yourpackage>=0.9"]) + ["yourpackage=0.9"]) # vim: set ts=4 sw=4 noet: -- 2.11.0
participants (1)
-
Jelle van der Waa