update: python3-setuptools

This commit is contained in:
blue-devil
2021-04-04 00:47:59 +03:00
parent a8c1b07eed
commit e9031868ed
3 changed files with 17 additions and 9 deletions
@@ -5,16 +5,17 @@
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
WorkDir="setuptools-%s" % get.srcVERSION()
def setup():
shelltools.makedirs("%s/setuptools-54.2.0/build/scripts-3.8" % get.workDIR())
def build():
pythonmodules.compile(pyVer="3")
def install():
#pisitools.dosed("setuptools/command/easy_install.py", "env python", "env python3")
pythonmodules.run("bootstrap.py", pyVer="3")
pythonmodules.install(pyVer = "3")
#avoid python-setuptools conflict
#pisitools.removeDir("/usr/share")
pythonmodules.install(pyVer="3")
@@ -14,7 +14,7 @@
<IsA>app:console</IsA>
<Summary>Python setuptools</Summary>
<Description>python3-setuptools is a collection of enhancements to the Python distutils that allow you to more easily build and distribute Python packages, especially ones that have dependencies on other packages.</Description>
<Archive sha1sum="749e7a1d08e7afd0d3899eb56c2428e91a3bcf47" type="targz">https://github.com/pypa/setuptools/archive/v50.3.2.tar.gz</Archive>
<Archive sha1sum="9d6648097b7c2802e8d9074f0951fc02c5b69097" type="targz">https://github.com/pypa/setuptools/archive/v54.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<!--<Dependency>python3-six</Dependency>-->
@@ -36,6 +36,13 @@
</Package>
<History>
<Update release="19">
<Date>2021-04-03</Date>
<Version>54.2.0</Version>
<Comment>Major version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="18">
<Date>2020-10-22</Date>
<Version>50.3.2</Version>
@@ -5,4 +5,4 @@
<Summary xml:lang="tr">Python kurulum araçları</Summary>
<Description xml:lang="tr">python3-setuptools, Python distutils'e yapılan, özellikle başka paketlere bağımlılığı olan Python paketlerini daha kolay oluşturmaya ve dağıtmaya yarayan iyileştirmeler koleksiyonudur.</Description>
</Source>
</PISI>
</PISI>