python-py3c: new package for subversion

This commit is contained in:
suvari
2021-03-11 19:37:52 +03:00
parent a289a13f9b
commit 9f4f9879f0
6 changed files with 253289 additions and 253137 deletions
@@ -0,0 +1,24 @@
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
shelltools.system("sed -i 's/install: py3c.pc/install:/' Makefile")
pythonmodules.compile(pyVer="3")
autotools.make("prefix=/usr py3c.pc")
def install():
#shelltools.system("make prefix=/usr install DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())
pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE.MIT", "README.rst")