wxPython python2.

This commit is contained in:
4fury-c3440d8
2022-07-30 10:56:05 +03:00
parent 0fa0177b11
commit 2f29546edc
2 changed files with 32 additions and 43 deletions
@@ -1,23 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# 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 https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pythonmodules from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
options="WXPORT=gtk3 UNICODE=1 WX_CONFIG=/usr/bin/wx-config-gtk3" shelltools.export("JOBS", get.makeJOBS().replace("-j5", "5"))
options="WXPORT=gtk3 WX_CONFIG=/usr/bin/wx-config-gtk3"
def build(): def build():
shelltools.cd("wxPython")
pythonmodules.compile(options) pythonmodules.compile(options)
def install(): def install():
shelltools.cd("wxPython")
pythonmodules.install(options) pythonmodules.install(options)
# install only python libraries
pisitools.dohtml("docs/*") pisitools.removeDir("/usr/bin")
pisitools.dodoc("docs/*.txt") pisitools.removeDir("/usr/share")
+23 -33
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>wxPython</Name> <Name>wxPython</Name>
<Homepage>http://www.wxpython.org/</Homepage> <Homepage>https://www.wxpython.org/</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email> <Email>admin@pisilinux.org</Email>
@@ -12,24 +12,26 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Python bindings for wxGTK</Summary> <Summary>Python bindings for wxGTK</Summary>
<Description>wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWindows cross platform GUI library, which is written in C++.</Description> <Description>wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWindows cross platform GUI library, which is written in C++.</Description>
<Archive sha1sum="5053f3fa04f4eb3a9d4bfd762d963deb7fa46866" type="tarbz2">mirrors://sourceforge/wxpython/wxPython-src-3.0.2.0.tar.bz2</Archive> <Archive sha1sum="f952f6224a7c7f000df2150ddfc27edfb4b8f31c" type="targz">
https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-4.1.1.tar.gz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>wxGTK3</Dependency> <Dependency>wxGTK3</Dependency>
<Dependency>wxGTK-devel</Dependency>
<!-- <Dependency>wxBase-devel</Dependency> -->
<Dependency>mesa-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>gtk3-devel</Dependency> <Dependency>gtk3-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>wxGTK-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>libSM-devel</Dependency> <Dependency>libSM-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
<Dependency>libXxf86vm-devel</Dependency>
<Dependency>python-devel</Dependency> <Dependency>python-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
<Dependency>libXxf86vm-devel</Dependency>
<Dependency>libXinerama-devel</Dependency>
<Dependency>python-setuptools</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -39,34 +41,22 @@
<Dependency>bzip2</Dependency> <Dependency>bzip2</Dependency>
<Dependency>python</Dependency> <Dependency>python</Dependency>
<Dependency>wxGTK3</Dependency> <Dependency>wxGTK3</Dependency>
<!-- <Dependency>wxBase</Dependency> -->
<Dependency>wxGTK-common</Dependency> <Dependency>wxGTK-common</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path> <!-- <Path fileType="executable">/usr/bin</Path> -->
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
</Files> </Files>
</Package> </Package>
<Package>
<Name>wxPython-devel</Name>
<Summary>Development files for wxPython</Summary>
<RuntimeDependencies>
<Dependency release="current">wxPython</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History> <History>
<Update release="6"> <Update release="6">
<Date>2022-08-01</Date> <Date>2022-07-29</Date>
<Version>3.0.2.0</Version> <Version>4.1.1</Version>
<Comment>Rebuild</Comment> <Comment>Version bump.</Comment>
<Name>Pisi Linux Admins</Name> <Name>fury</Name>
<Email>admin@pisilinux.org</Email> <Email>uglyside@yandex.ru</Email>
</Update> </Update>
<Update release="5"> <Update release="5">
<Date>2020-01-31</Date> <Date>2020-01-31</Date>