actions.py 551 B

123456789101112131415161718192021222324
  1. #!/usr/bin/python
  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 pisi.actionsapi import pisitools
  7. from pisi.actionsapi import perlmodules
  8. def setup():
  9. perlmodules.configure()
  10. def build():
  11. perlmodules.make()
  12. # tests take long time
  13. #def check():
  14. # perlmodules.make("test")
  15. def install():
  16. perlmodules.install()
  17. # conflict: perl has a binary with the same name
  18. pisitools.remove("/usr/bin/instmodsh")
  19. perlmodules.removePodfiles()