pip3, /python3-pytest ver. bump

This commit is contained in:
Rmys
2025-01-15 21:04:02 +03:00
parent c8392ac256
commit ee0f1fa9bd
4 changed files with 26 additions and 12 deletions
+4 -4
View File
@@ -4,7 +4,7 @@
# 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 python3modules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
@@ -12,10 +12,10 @@ from pisi.actionsapi import get
WorkDir="pip-%s" % get.srcVERSION()
def build():
pythonmodules.compile(pyVer = "3")
python3modules.compile()
def install():
pythonmodules.install(pyVer = "3")
python3modules.install()
pisitools.rename("/usr/bin/pip", "pip3")
pisitools.dodoc("LICENSE*")
@@ -23,4 +23,4 @@ def install():
# Build documentation
#shelltools.system("sed -i 's|#!/usr/bin/env python$|#!/usr/bin/env python3|' %s/usr/lib/python3.*/site-packages/pip/__init__.py" % get.installDIR())
#shelltools.system("python3 -m compileall %s/usr/lib/python3.*/site-packages/pip/__init__.py" % get.installDIR())
#shelltools.system("python3 -m compileall %s/usr/lib/python3.*/site-packages/pip/__init__.py" % get.installDIR())