python3-backports.functools_lru_cache: fix conflicts with python3-backports_tarfile

This commit is contained in:
suvari
2025-07-01 13:57:19 +03:00
parent e7b3e8f702
commit 72b4c31486
2 changed files with 15 additions and 3 deletions
@@ -6,11 +6,16 @@
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","1.6.1")
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","%s" % get.srcVERSION())
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pythonmodules.install(pyVer="3")
# Fix conflict with python3-backports_tarfile
pisitools.remove("/usr/lib/python3.11/site-packages/backports/__init__.py")