aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-19 13:22:55 +0200
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-07-19 13:22:55 +0200
commit0f405aa40f4bb6b7c2811d476c80a84f5d991975 (patch)
treed824c73c1f5111d114d49e8771790086ae217fde
parentgs_ctan: usable ebuilds in user side overlay for zip source type (diff)
downloadg-sorcery-0f405aa40f4bb6b7c2811d476c80a84f5d991975.tar.gz
g-sorcery-0f405aa40f4bb6b7c2811d476c80a84f5d991975.tar.bz2
g-sorcery-0f405aa40f4bb6b7c2811d476c80a84f5d991975.zip
gs_ctan/ctan_db: homepage
-rw-r--r--gs_ctan/ctan_db.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/gs_ctan/ctan_db.py b/gs_ctan/ctan_db.py
index 034f98d..1623375 100644
--- a/gs_ctan/ctan_db.py
+++ b/gs_ctan/ctan_db.py
@@ -150,11 +150,14 @@ class CtanDB(PackageDB):
if "catalogue-ctan" in entry:
source_type = "zip"
base_src_uri = "ftp://tug.ctan.org/pub/tex-archive"
- catalogue = entry["catalogue-ctan"][:-len(realname)]
+ catalogue = entry["catalogue-ctan"]
+ homepage = "http://www.ctan.org/tex-archive" + catalogue
+ catalogue = catalogue[:-len(realname)]
else:
source_type = "tar.xz"
base_src_uri = "http://mirror.ctan.org/systems/texlive/tlnet/archive/"
catalogue = ""
+ homepage = "http://www.ctan.org/tex-archive/systems/texlive/tlnet"
dependencies = serializable_elist(separator="\n\t")
@@ -166,7 +169,7 @@ class CtanDB(PackageDB):
ebuild_data = {"realname" : realname,
"description" : description,
- "homepage" : "http://tug.org/texlive/",
+ "homepage" : homepage,
"license" : license,
"source_type" : source_type,
"base_src_uri" : base_src_uri,