diff --git a/programming/language/python3/python3-importlib_metadata/actions.py b/programming/language/python3/python3-importlib_metadata/actions.py index 4fc4e8cdd6..762a0df88f 100644 --- a/programming/language/python3/python3-importlib_metadata/actions.py +++ b/programming/language/python3/python3-importlib_metadata/actions.py @@ -4,12 +4,13 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import pythonmodules, shelltools, get +from pisi.actionsapi import pythonmodules as py3, shelltools, get +t = "dist/importlib_metadata-5.0.0-py3-none-any.whl" shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION", "5.0.0") def build(): - pythonmodules.run("-m build", pyVer = '3') + py3.run("-m build", pyVer = '3') def install(): - pythonmodules.run("-m installer -d %s dist/importlib_metadata-5.0.0-py3-none-any.whl" % get.installDIR(), pyVer = '3') + py3.run("-m installer -d %s %s" % (get.installDIR(), t), pyVer = '3') diff --git a/programming/language/python3/python3-importlib_resources/actions.py b/programming/language/python3/python3-importlib_resources/actions.py index ba5048c6b9..e5689d942f 100644 --- a/programming/language/python3/python3-importlib_resources/actions.py +++ b/programming/language/python3/python3-importlib_resources/actions.py @@ -6,10 +6,11 @@ from pisi.actionsapi import pythonmodules as py3, shelltools, get +t = "dist/importlib_resources-5.10.0-py3-none-any.whl" shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION", "5.10.0") def build(): py3.run("-m build", pyVer = '3') def install(): - py3.run("-m installer -d %s dist/importlib_resources-5.10.0-py3-none-any.whl" % get.installDIR(), pyVer = '3') + py3.run("-m installer -d %s %s" % (get.installDIR(), t), pyVer = '3')