diff options
author | 2013-08-30 18:07:53 +0200 | |
---|---|---|
committer | 2013-08-30 18:07:53 +0200 | |
commit | 4ac11d5a3fd8a2111104e6c71c8758f1e9571036 (patch) | |
tree | b99767cf6ab340c20cb2b7b0b9ead2d852399df1 | |
parent | gs-pypi: xml file for layman (diff) | |
download | g-sorcery-4ac11d5a3fd8a2111104e6c71c8758f1e9571036.tar.gz g-sorcery-4ac11d5a3fd8a2111104e6c71c8758f1e9571036.tar.bz2 g-sorcery-4ac11d5a3fd8a2111104e6c71c8758f1e9571036.zip |
gs_pypi/ebuild: homepage and src_uri
-rw-r--r-- | gs_pypi/ebuild.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gs_pypi/ebuild.py b/gs_pypi/ebuild.py index 1acccae..08ca188 100644 --- a/gs_pypi/ebuild.py +++ b/gs_pypi/ebuild.py @@ -30,7 +30,7 @@ class PypiEbuildWithoutDigestGenerator(DefaultEbuildGenerator): inherit = ["gs-pypi"] vars_after_description = \ - [] + ["homepage"] vars_after_keywords = \ [] @@ -43,14 +43,13 @@ class PypiEbuildWithDigestGenerator(DefaultEbuildGenerator): def __init__(self, package_db): vars_before_inherit = \ - [("digest_sources", "yes"), - ("repo_uri", '"http://pypi.python.org/packages/source/${PN:0:1}/${PN}/"'), - ("sourcefile", '"${P}.tar.gz"')] + [("digest_sources", "yes")] inherit = ["gs-pypi"] vars_after_description = \ - [] + ["homepage", + ("src_uri", '"http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"')] vars_after_keywords = \ [] |