Files
main/programming/language/python/python-chardet/actions.py
T
2020-01-11 11:08:02 +00:00

16 lines
392 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile()
def install():
pythonmodules.install()
pisitools.rename("/usr/bin/chardetect", "chardetect-py2")