diff options
Diffstat (limited to 'feed/sse_debian.py')
-rwxr-xr-x | feed/sse_debian.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/feed/sse_debian.py b/feed/sse_debian.py index ec0cabe..f948d12 100755 --- a/feed/sse_debian.py +++ b/feed/sse_debian.py @@ -7,6 +7,9 @@ SSE_RELEASE = "main" import sys +from sse_defs import * +import sse_grab + def process_entry(entry): for k, v in entry.items(): @@ -27,7 +30,10 @@ def process_entry(entry): meta["archive-url"] = SSE_DEBIAN_URL + entry["Directory"] + "/" + meta["archive"] meta["license"] = "DFSG approved" meta["project-url"] = "http://packages.debian.org/cgi-bin/search_packages.pl?searchon=sourcenames&version="+ SSE_DISTRIBUTION + "&exact=1&keywords=" + entry["Package"] + "&release=" + SSE_RELEASE - print meta + + print "Next record '%s'" % meta["name"] + + sse_grab.grab_archive(meta, "debian:" + meta["name"], SSE_PROVIDER_DEBIAN) def process_list(f): |