10 This will attempt to create an ebuild for every single release on PyPI
11 which obviously will take a long time and require a decent amount of bandwidth
22 from yolk.pypi import CheeseShop
25 cheeseshop = CheeseShop()
26 PKG_INDEX = "pkg_index"
28 if os.path.exists(PKG_INDEX):
29 full_index = pickle.load(open(PKG_INDEX, 'r'))
31 full_index = cheeseshop.search({"name":"foo"}, "or")
32 pickle.dump(full_index, open(PKG_INDEX, "w"))
34 for pkg in full_index:
35 os.system('echo Testing %s' % pkg['name'].encode('utf-8'))
36 os.system('g-pypi -qo %s' % pkg['name'])
37 #os.system('echo %s' % ('-' * 79))