I was using the reportlab package but I needed a barcode extension. I have added this to the ebuild under the keyword barcode.
Created attachment 99353 [details] enhanced ebuild for reportlab 2.0
You do realize that the barcode package is under reportlab.graphics.barcode in reportlab 2.0? (unpack the tgz to see what i mean, also mentioned in http://www.reportlab.org/whatsnew_2_0.html) You don't need to install it seperately. The reason why the directory /usr/lib/python2.x/site-packages/reportlab/graphics/barcode is never created is that the setup.py is borked in the original release, it is missing the package in its packages list. There maybe even more packages missing, somebody should check this out. --- reportlab/setup.py 2006-05-23 17:56:46.000000000 +0200 +++ setup.py 2007-01-11 11:02:27.198519121 +0100 @@ -235,6 +235,7 @@ packages=[ # include anything with an __init__ 'reportlab', 'reportlab.extensions', + 'reportlab.graphics.barcode', 'reportlab.graphics.charts', 'reportlab.graphics.samples', 'reportlab.graphics.widgets',
Created attachment 106526 [details] quick hack fixes setup.py to install barcode package I created a quick hack to fix the problem with the missing barcode package. But as I said, one should check why this was missing from the list.
Hello, dev-python/reportlab-2.1 already provides barcode extension under reportlab.graphics. In addition, the barcode extension is also in setup.py's extensions variables. packages=[ # include anything with an __init__ 'reportlab', 'reportlab.extensions', 'reportlab.graphics.charts', 'reportlab.graphics.samples', 'reportlab.graphics.widgets', 'reportlab.graphics.barcode', <-- ...
Thanks guys, 2.1 is in the tree now and it has all this working now in setup.py so I'm dropping 2.0