wxPython rebuild python3.

This commit is contained in:
4fury-c3440d8
2022-07-30 10:57:31 +03:00
parent 2f29546edc
commit 7cae73bbf2
2 changed files with 81 additions and 0 deletions
@@ -0,0 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
shelltools.export("JOBS", get.makeJOBS().replace("-j5", "5"))
options="WXPORT=gtk3 WX_CONFIG=/usr/bin/wx-config-gtk3"
def build():
pythonmodules.compile(pyVer = '3', parameters = options)
def install():
pythonmodules.install(pyVer = '3', parameters = options)
@@ -0,0 +1,62 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>wxPython3</Name>
<Homepage>https://www.wxpython.org/</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>wxWinLL-3</License>
<IsA>library</IsA>
<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>
<Archive sha1sum="f952f6224a7c7f000df2150ddfc27edfb4b8f31c" type="targz">
https://files.pythonhosted.org/packages/source/w/wxPython/wxPython-4.1.1.tar.gz
</Archive>
<BuildDependencies>
<Dependency>wxGTK3</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>python3-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>python3-setuptools</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>wxPython3</Name>
<RuntimeDependencies>
<Dependency>bzip2</Dependency>
<Dependency>python3</Dependency>
<Dependency>wxGTK3</Dependency>
<Dependency>wxGTK-common</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-07-29</Date>
<Version>4.1.1</Version>
<Comment>Rebuild python3.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>