1234567891011121314151617181920212223 |
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- #
- # Licensed under the GNU General Public License, version 3.
- # See the file http://www.gnu.org/licenses/gpl.txt
- from pisi.actionsapi import mesontools
- from pisi.actionsapi import pisitools
- def setup():
- mesontools.configure("-Dpython=python2.7")
- def build():
- mesontools.build()
-
- def install():
- mesontools.install()
-
- pisitools.rename("/usr/lib/pkgconfig/pygobject-3.0.pc", "py2gobject-3.0.pc")
- pisitools.rename("/usr/include/pygobject-3.0/pygobject.h", "py2gobject.h")
-
- pisitools.dodoc("COP*", "NEWS", "README*")
|