Files
main/programming/language/python3/python3-pygobject3/actions.py
T
2021-06-03 15:02:08 +03:00

23 lines
616 B
Python
Executable File

#!/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=python3")
def build():
mesontools.build()
def install():
mesontools.install()
#pisitools.rename("/usr/lib/pkgconfig/pygobject-3.0.pc", "py3gobject-3.0.pc")
#pisitools.rename("/usr/include/pygobject-3.0/pygobject.h", "py3gobject.h")
pisitools.dodoc("COP*", "NEWS", "README*")