actions.py 634 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from inary.actionsapi import perlmodules
  7. from inary.actionsapi import inarytools
  8. from inary.actionsapi import get
  9. from inary.actionsapi import shelltools
  10. WorkDir=""
  11. shelltools.export("HOME", get.workDIR())
  12. def setup():
  13. perlmodules.configure()
  14. def build():
  15. perlmodules.make()
  16. # FIXME: test fails
  17. def check():
  18. perlmodules.make("test")
  19. def install():
  20. perlmodules.install()
  21. inarytools.removeDir("/usr/bin")
  22. inarytools.removeDir("/usr/share/man/*")