Merge pull request #16026 from Rmys/master

pip3, /python3-pytest ver. bump
This commit is contained in:
Rmys
2025-01-15 21:06:38 +03:00
committed by GitHub
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. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # 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 shelltools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
@@ -12,10 +12,10 @@ from pisi.actionsapi import get
WorkDir="pip-%s" % get.srcVERSION() WorkDir="pip-%s" % get.srcVERSION()
def build(): def build():
pythonmodules.compile(pyVer = "3") python3modules.compile()
def install(): def install():
pythonmodules.install(pyVer = "3") python3modules.install()
pisitools.rename("/usr/bin/pip", "pip3") pisitools.rename("/usr/bin/pip", "pip3")
pisitools.dodoc("LICENSE*") pisitools.dodoc("LICENSE*")
@@ -23,4 +23,4 @@ def install():
# Build documentation # 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("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())
+9 -2
View File
@@ -12,9 +12,9 @@
<License>MIT</License> <License>MIT</License>
<Summary>The PyPA recommended tool for installing Python packages</Summary> <Summary>The PyPA recommended tool for installing Python packages</Summary>
<Description>The PyPA recommended tool for installing Python packages</Description> <Description>The PyPA recommended tool for installing Python packages</Description>
<Archive sha1sum="717a102fd0ad51c394e9d08dfb243422c189ad59" type="targz">https://github.com/pypa/pip/archive/22.1.2.tar.gz</Archive> <Archive sha1sum="5decde1843bf5c2dd784b1c310f2b06b513c2dc1" type="targz">https://github.com/pypa/pip/archive/24.3.1.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-build</Dependency>
<Dependency versionFrom="3.8.0">python3-devel</Dependency> <Dependency versionFrom="3.8.0">python3-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -36,6 +36,13 @@
</Package> </Package>
<History> <History>
<Update release="16">
<Date>2025-01-15</Date>
<Version>24.3.1</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="15"> <Update release="15">
<Date>2023-10-16</Date> <Date>2023-10-16</Date>
<Version>22.1.2</Version> <Version>22.1.2</Version>
@@ -6,12 +6,12 @@
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules from pisi.actionsapi import python3modules
shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","6.2.4") shelltools.export("SETUPTOOLS_SCM_PRETEND_VERSION","8.3.4")
def build(): def build():
pythonmodules.compile(pyVer="3") python3modules.compile()
def install(): def install():
pythonmodules.install(pyVer="3") python3modules.install()
@@ -13,12 +13,12 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Simple powerful testing with Python</Summary> <Summary>Simple powerful testing with Python</Summary>
<Description>The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.</Description> <Description>The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries.</Description>
<Archive sha1sum="153f00a6f90d7aea61d1bd646abd89d996230818" type="targz">https://files.pythonhosted.org/packages/e5/d0/18209bb95db8ee693a9a04fe056ab0663c6d6b1baf67dd50819dd9cd4bd7/pytest-7.4.2.tar.gz</Archive> <Archive sha1sum="22630c3b10eebc5625e1929a5af4ef0d01ba650a" type="targz">https://files.pythonhosted.org/packages/05/35/30e0d83068951d90a01852cb1cef56e5d8a09d20c7f511634cc2f7e0372a/pytest-8.3.4.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>pip3</Dependency> <Dependency>pip3</Dependency>
<Dependency>python3-six</Dependency> <Dependency>python3-six</Dependency>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency> <Dependency>python3-build</Dependency>
<Dependency>python3-setuptools-scm</Dependency> <Dependency>python3-setuptools-scm</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -45,6 +45,13 @@
</Package> </Package>
<History> <History>
<Update release="8">
<Date>2025-01-15</Date>
<Version>8.3.4</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="7"> <Update release="7">
<Date>2023-10-16</Date> <Date>2023-10-16</Date>
<Version>7.4.2</Version> <Version>7.4.2</Version>