actions.py 412 B

1234567891011121314151617181920
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import autotools, get
  7. def setup():
  8. autotools.configure("PYTHON=python3")
  9. def build():
  10. autotools.make()
  11. def check():
  12. autotools.make("check")
  13. def install():
  14. autotools.rawInstall("DESTDIR=%s" % get.installDIR())