python3-pycparser:moved from contrib

This commit is contained in:
blue-devil
2020-02-22 02:32:30 +03:00
parent 783066c66d
commit a6655f8bcf
3 changed files with 74 additions and 0 deletions
@@ -0,0 +1,22 @@
#!/usr/bin/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 shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
pythonmodules.compile(pyVer="3")
def check():
pythonmodules.run("tests/all_tests.py", pyVer="3")
def install():
pythonmodules.install(pyVer="3")
for dirs in ["examples"]:
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), dirs)