pip, sip, python3-setuptools moved into python3 folder for py3
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
pisitools.flags.add("-fwrapv")
|
||||
|
||||
pisitools.dosed("Lib/cgi.py","^#.* /usr/local/bin/python","#!/usr/bin/python")
|
||||
|
||||
shelltools.unlinkDir("Modules/expat")
|
||||
shelltools.unlinkDir("Modules/zlib")
|
||||
shelltools.unlinkDir("Modules/_ctypes/darwin")
|
||||
shelltools.unlinkDir("Modules/_ctypes/libffi")
|
||||
shelltools.unlinkDir("Modules/_ctypes/libffi_arm_wince")
|
||||
shelltools.unlinkDir("Modules/_ctypes/libffi_msvc")
|
||||
shelltools.unlinkDir("Modules/_ctypes/libffi_osx")
|
||||
|
||||
autotools.rawConfigure("\
|
||||
--prefix=/usr \
|
||||
--enable-shared \
|
||||
--with-threads \
|
||||
--with-computed-gotos \
|
||||
--enable-ipv6 \
|
||||
--with-system-expat \
|
||||
--with-dbmliborder=gdbm:ndbm \
|
||||
--with-system-ffi \
|
||||
--with-system-libmpdec \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--without-ensurepip")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.remove("/usr/bin/2to3")
|
||||
pisitools.dodoc("LICENSE", "README")
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
||||
index ce2c0aa..7d6dcf7 100644
|
||||
--- a/Makefile.pre.in
|
||||
+++ b/Makefile.pre.in
|
||||
@@ -60,7 +60,7 @@ INSTALL_DATA= @INSTALL_DATA@
|
||||
# Shared libraries must be installed with executable mode on some systems;
|
||||
# rather than figuring out exactly which, we always give them executable mode.
|
||||
# Also, making them read-only seems to be a good idea...
|
||||
-INSTALL_SHARED= ${INSTALL} -m 555
|
||||
+INSTALL_SHARED= ${INSTALL} -m 755
|
||||
|
||||
MKDIR_P= @MKDIR_P@
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Exec=idle3
|
||||
Icon=idle3
|
||||
Name=IDLE Integrated Development Environment
|
||||
Name[tr]=IDLE3 Tümleşik Geliştirme Ortamı
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;Development;
|
||||
MimeType=application/x-python;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,175 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python3</Name>
|
||||
<Homepage>http://www.python.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>custom</License>
|
||||
<PartOf>programming.language</PartOf>
|
||||
<Summary>Next generation of the python high-level scripting language</Summary>
|
||||
<Description>Next generation of the python high-level scripting language</Description>
|
||||
<Archive sha1sum="7ca5cd664598bea96eec105aa6453223bb6b4456" type="tarxz">http://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>valgrind</Dependency>
|
||||
<Dependency>tcltk-devel</Dependency>
|
||||
<Dependency>tcl-devel</Dependency>
|
||||
<Dependency>xz-devel</Dependency>
|
||||
<Dependency>gdbm-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>expat-devel</Dependency>
|
||||
<Dependency>libffi-devel</Dependency>
|
||||
<Dependency>sqlite-devel</Dependency>
|
||||
<Dependency>ncurses-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">dont-make-libpython-readonly.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python3</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>xz</Dependency>
|
||||
<Dependency>gdbm</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>expat</Dependency>
|
||||
<Dependency>libffi</Dependency>
|
||||
<Dependency>sqlite</Dependency>
|
||||
<Dependency>ncurses</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>readline</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable" permanent="0">/usr/bin/p*</Path>
|
||||
<Path fileType="executable" permanent="0">/usr/bin/2to3*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/a*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/c*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/d*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/e*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/h*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/imp*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/j*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib2*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/log*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/m*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/p*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/s*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/te*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/u*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/v*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/w*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/x*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/*.py</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/*.txt</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/a*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/b*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_b*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/c*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_c*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_d*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_e*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/f*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/g*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_g*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_h*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_j*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_l*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/m*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_m*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/n*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/o*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_o*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_p*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/p*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/r*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_r*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_s*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/s*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/te*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/_te*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/ti*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/u*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/x*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/lib-dynload/z*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/*.so</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/libpython3.4m.so.1.0</Path>
|
||||
<Path fileType="man" permanent="0">/usr/share/man/man1/*</Path>
|
||||
<Path fileType="doc" permanent="0">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python3-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header" permanent="0">/usr/include/python3.4m/*</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/pkgconfig/*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python3-tk</Name>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>programming.language.python</PartOf>
|
||||
<Summary>Python modules for Tk</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">python3</Dependency>
|
||||
<Dependency>tcl</Dependency>
|
||||
<Dependency>tcltk</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/python3*/tkinter</Path>
|
||||
<Path fileType="library">/usr/lib/python3*/lib-dynload/_tkinter.cpython-34m.so</Path>
|
||||
<Path fileType="library" permanent="0">/usr/lib/python3.4/turtledemo</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>idle3</Name>
|
||||
<Icon>idle</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>programming.environment</PartOf>
|
||||
<Summary>An Integrated Development Environment for Python</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>python3-tk</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/idle3*</Path>
|
||||
<Path fileType="library">/usr/lib/python*/idlelib</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile permission="0644" target="/usr/share/pixmaps/idle3.png">python-logo.png</AdditionalFile>
|
||||
<AdditionalFile permission="0644" target="/usr/share/applications/idle3.desktop">idle.desktop</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-05-08</Date>
|
||||
<Version>3.4.3</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-08-13</Date>
|
||||
<Version>3.4.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user