python3-setuptools for python3

This commit is contained in:
2015-11-06 15:04:00 +02:00
parent b1ad3c1597
commit 45804838a2
7 changed files with 85509 additions and 84988 deletions
@@ -0,0 +1,25 @@
# -*- 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="distribute-%s" % get.srcVERSION()
def setup():
shelltools.makedirs("python3")
shelltools.copytree("../distribute-%s" % get.srcVERSION(), "%s/python3" % get.workDIR())
def install():
#pythonmodules.install()
#pisitools.remove("/usr/lib/%s/site-packages/setuptools/*.exe" % get.curPYTHON())
shelltools.cd("%s/python3" % get.workDIR())
pythonmodules.install(pyVer = "3")
pisitools.remove("/usr/lib/python3.4/site-packages/setuptools/*.exe")
pisitools.rename("/usr/bin/easy_install", "py3easy-install")
#avoid python-setuptools conflict
pisitools.removeDir("/usr/share")
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM 'http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd'>
<PISI>
<Source>
<Name>python-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="a62cfe21bd0e5e2913c5b576f872ca293b9bebca" type="targz">http://pypi.python.org/packages/source/d/distribute/distribute-0.6.49.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<!--<Package>
<Name>python-setuptools</Name>
<Files>
<Path fileType="executable">/usr/bin/easy_install-2.7</Path>
<Path fileType="library">/usr/lib/python2*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>-->
<Package>
<Name>python3-setuptools</Name>
<Files>
<Path fileType="executable">/usr/bin/py3easy-install</Path>
<Path fileType="executable">/usr/bin/easy_install-3*</Path>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-11</Date>
<Version>0.6.49</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-24</Date>
<Version>0.6.49</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-02-17</Date>
<Version>0.6.35</Version>
<Comment>Version bump</Comment>
<Name>Ertan Güven</Name>
<Email>ertan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-19</Date>
<Version>0.6.28</Version>
<Comment>First release</Comment>
<Name>Ramazan Utku</Name>
<Email>admins@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>