================================
python-twisted:source=2.0.1-1
cvc rdiff python-twisted -1 /[EMAIL PROTECTED]:desktop/2.0.1-1
================================
2.0.1-1 xiaowen ([EMAIL PROTECTED]) Sun Oct  2 20:06:42 2005
    Twisted contributed by zerokarmaleft.  Thank for the recipe!
    
python-twisted.recipe: new
class PythonTwisted(PackageRecipe):

    name = "python-twisted"
    version = "2.0.1"

    buildRequires = [ 'glibc:devel', 'python:runtime', 
'python-zopeinterface:python' ]

    def setup(r):
        r.macros.namesim = r.name.split('-')[1]
        r.macros.namecap = r.macros.namesim[0].upper() + r.macros.namesim[1:]
        r.macros.majver = '.'.join(r.version.split('.')[0:2])
        r.macros.baseurl = 
'http://tmrc.mit.edu/mirror/%(namesim)s/%(namecap)s/%(majver)s'
        r.addArchive('%(baseurl)s/%(namecap)s-%(version)s.tar.bz2')

        r.Run('python setup.py install --prefix=%(destdir)s/%(prefix)s')

Twisted-2.0.1.tar.bz2: new

Committed by: xiaowen
_______________________________________________
Desktop-commits mailing list
[email protected]
http://lists.bizrace.com/mailman/listinfo/desktop-commits

Reply via email to