summaryrefslogtreecommitdiffstats
path: root/build_tools/bin/chk_arch_pkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/bin/chk_arch_pkg.py')
-rwxr-xr-xbuild_tools/bin/chk_arch_pkg.py6
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])