actions.py 571 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. examples = "%s/%s/examples" % (get.docDIR(), get.srcNAME())
  11. def setup():
  12. perlmodules.configure()
  13. def build():
  14. perlmodules.make()
  15. def check():
  16. perlmodules.make("test")
  17. def install():
  18. perlmodules.install()
  19. pisitools.dodoc("README", "LICENCE")