actions.py 575 B

1234567891011121314151617181920212223242526272829
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import shelltools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def setup():
  10. shelltools.cd("pyqt5")
  11. shelltools.system("python config.py")
  12. def build():
  13. shelltools.cd("pyqt5")
  14. autotools.make()
  15. def install():
  16. shelltools.cd("pyqt5")
  17. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  18. pisitools.dodoc("README.md")