diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-04 21:01:05 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-04 21:01:05 (GMT) |
commit | b9ce3c1484566e8911e03dca87a6e8d07b970066 (patch) | |
tree | b6a72787bd9dcfb8bf5dc7aec8c686d833116deb /build_tools | |
parent | 3a854f40986273b1bb5d379e5a7a6773c889e73a (diff) | |
download | linhes_dev-b9ce3c1484566e8911e03dca87a6e8d07b970066.zip |
chk_arch_pkg.py: update arch url
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/bin/chk_arch_pkg.py | 6 |
1 files 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</title>" 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<span class="hl opt">=</span><span class="hl num">(.*?)</span>', aPKGBUILD_text) archPKGREL = re.findall('pkgrel<span class="hl opt">=</span><span class="hl num">(.*?)</span>', aPKGBUILD_text) @@ -62,7 +62,7 @@ def getArchVer(): else: if "- Split Package Details</title>" 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('<a href="(.*?)" title="View source files for .*?">Source Files</a>', 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]) |