python3-setuptools move to core

This commit is contained in:
IdrisKalp
2019-12-10 19:27:35 +03:00
parent c309a5486b
commit add8fb2034
3 changed files with 141 additions and 0 deletions
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#
# 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 pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
WorkDir="setuptools-%s" % get.srcVERSION()
def install():
pisitools.dosed("setuptools/command/easy_install.py", "env python", "env python3")
pythonmodules.run("bootstrap.py", pyVer="3")
pythonmodules.install(pyVer = "3")
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
#avoid python-setuptools conflict
#pisitools.removeDir("/usr/share")
@@ -0,0 +1,111 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
<Source>
<Name>python3-setuptools</Name>
<Homepage>http://pypi.python.org/pypi/setuptools</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>PSF-2.2</License>
<IsA>library</IsA>
<Summary>Python setuptools</Summary>
<Description>python-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="1460a02840bdab87aa419451819933368d33d810" type="targz">https://github.com/pypa/setuptools/archive/v42.0.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
<!-- <Dependency>python3-six</Dependency> -->
<Dependency>python3-packaging</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-setuptools</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/python3*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="11">
<Date>2019-12-10</Date>
<Version>42.0.2</Version>
<Comment>Version Bump</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="10">
<Date>2019-04-09</Date>
<Version>40.6.3</Version>
<Comment>Version Bump</Comment>
<Name>Mustafa Cinasl</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="9">
<Date>2018-08-05</Date>
<Version>39.2.0</Version>
<Comment>Version Bump</Comment>
<Name>Mustafa Cinasl</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2018-01-24</Date>
<Version>38.2.5</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="7">
<Date>2017-02-01</Date>
<Version>32.1.3</Version>
<Comment>Version bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2016-06-09</Date>
<Version>19.6.1</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2016-06-06</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-05-26</Date>
<Version>19.6.1</Version>
<Comment>First release.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python-setuptools</Name>
<Summary xml:lang="tr">Python kurulum araçları</Summary>
<Description xml:lang="tr">python-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>