actions.py 780 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env 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 shelltools
  7. from pisi.actionsapi import pythonmodules
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import get
  10. def build():
  11. pythonmodules.compile(pyVer="3")
  12. def install():
  13. pythonmodules.install(pyVer="3")
  14. pisitools.insinto("/usr/share/vim/vimfiles", "data/syntax-highlighting/vim/*")
  15. pisitools.insinto("/usr/share/emacs/site-lisp", "data/syntax-highlighting/emacs/*")
  16. pisitools.insinto("/usr/share/zsh/site-functions", "data/shell-completions/zsh/*")
  17. pisitools.remove("/usr/share/vim/vimfiles/README")
  18. pisitools.dodoc("COPYING", "README*")