actions.py 665 B

1234567891011121314151617181920212223242526
  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 perlmodules
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import get
  10. WorkDir = "%s-%s" % (get.srcNAME()[5:], get.srcVERSION())
  11. def setup():
  12. perlmodules.configure()
  13. def build():
  14. perlmodules.make()
  15. def check():
  16. perlmodules.make("test")
  17. def install():
  18. # pure_install avoids touching system's ParserDetails.ini
  19. # This ini file gets generated/updated on post/preInstall
  20. perlmodules.install("pure_install")