iputils, dosfstools python-lxml in main

This commit is contained in:
Ertuğrul Erata
2015-07-22 14:35:27 +03:00
parent a09024ed71
commit 362c394fc0
35 changed files with 5611 additions and 0 deletions
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir = "lxml-%s" % get.srcVERSION()
def build():
# remove the C extension so that it will be rebuild using the latest Cython
shelltools.unlink("src/lxml/lxml.etree.c")
shelltools.unlink("src/lxml/lxml.etree_api.h")
shelltools.unlink("src/lxml/lxml.objectify.c")
pythonmodules.compile()
def install():
pythonmodules.install()
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()),"doc/*")
pisitools.dodoc("CHANGES.txt", "LICENSES.txt", "TODO.txt")