Ticket #32251: MyPaint-python27.diff

File MyPaint-python27.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

simple patch (that results in the error)

  • files/patch-SConstruct.diff

     
    55 # FIXME: sometimes it would be good to build for a different python
    66 # version than the one running scons. (But how to find all paths then?)
    77-python = 'python%d.%d' % (sys.version_info[0], sys.version_info[1])
    8 +python = 'python2.6'
     8+python = 'python2.7'
    99 print 'Building for', python
    1010 
    1111 if sys.platform == "win32":
  • Portfile

     
    77name                        MyPaint
    88set my_name                 mypaint
    99version                     1.0.0
     10revision                    1
    1011homepage                    http://mypaint.info/
    1112categories                  graphics
    1213maintainers                 ryandesign
     
    3233                            port:scons \
    3334                            port:swig-python
    3435
    35 depends_lib                 port:protobuf-python26 \
    36                             port:libpng \
    37                             port:py26-numpy \
    38                             port:py26-gtk
     36depends_lib                 port:libpng \
     37                            port:protobuf-python27 \
     38                            port:py27-gtk \
     39                            port:py27-numpy
    3940
    4041depends_run                 port:hicolor-icon-theme
    4142