Files

22 lines
619 B
Python

#!/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 shelltools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","%s" % get.srcVERSION())
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
# Fix conflict with python3-backports_tarfile
pisitools.remove("/usr/lib/python3.11/site-packages/backports/__init__.py")