actions.py 603 B

12345678910111213141516171819202122232425262728
  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/share/man/man3/")