From b9ce3c1484566e8911e03dca87a6e8d07b970066 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 4 May 2016 17:01:05 -0400 Subject: chk_arch_pkg.py: update arch url --- build_tools/bin/chk_arch_pkg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_tools/bin/chk_arch_pkg.py b/build_tools/bin/chk_arch_pkg.py index 7b80ae7..119084b 100755 --- a/build_tools/bin/chk_arch_pkg.py +++ b/build_tools/bin/chk_arch_pkg.py @@ -43,7 +43,7 @@ def getArchVer(): else: if "- Split Package Details" in website_text: print "This is a split package" - aPKGBUILD = urllib2.urlopen("https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/" + currDirName) + aPKGBUILD = urllib2.urlopen("https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/" + currDirName) aPKGBUILD_text = aPKGBUILD.read() archPKGVER = re.findall('pkgver=(.*?)', aPKGBUILD_text) archPKGREL = re.findall('pkgrel=(.*?)', aPKGBUILD_text) @@ -62,7 +62,7 @@ def getArchVer(): else: if "- Split Package Details" in website_text: #print "Split Pkg" - sourceURL = "https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/" + currDirName + sourceURL = "https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/" + currDirName else: source = re.findall('Source Files', website_text) sourceURL = source[0] @@ -121,7 +121,7 @@ def getSource(): repoTag = "community" else: repoTag = "packages" - dlSource = 'https://projects.archlinux.org/svntogit/%s.git/snapshot/%s-packages/%s.tar.gz' %(repoTag, repoTag, currDirName) + dlSource = 'https://git.archlinux.org/svntogit/%s.git/snapshot/%s-packages/%s.tar.gz' %(repoTag, repoTag, currDirName) print dlSource subprocess.call(["curl", "-O", dlSource]) -- cgit v0.12