actions.py 650 B

1234567891011121314151617181920212223
  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 pythonmodules
  7. from pisi.actionsapi import pisitools
  8. #WorkDir="%s-%s" % (get.srcNAME().split("-")[1], get.srcVERSION())
  9. def build():
  10. pythonmodules.compile()
  11. def install():
  12. pythonmodules.install()
  13. pisitools.rename("/usr/bin/pygmentize","pygmentize-py2")
  14. #pisitools.dohtml("docs/build/*")
  15. #pisitools.insinto("/usr/share/doc/%s/src/" % get.srcNAME(),"docs/src/*")
  16. pisitools.insinto("/usr/share/man/man1", "doc/pygmentize.1", "pygmentize.1")