diff --git a/programming/language/python/pygame/actions.py b/programming/language/python/pygame/actions.py
index 61a85c4c0d..6bbdde0f17 100644
--- a/programming/language/python/pygame/actions.py
+++ b/programming/language/python/pygame/actions.py
@@ -4,37 +4,24 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
-from pisi.actionsapi import pisitools
-from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
+from pisi.actionsapi import shelltools
+from pisi.actionsapi import pisitools
from pisi.actionsapi import get
-import os
-
-#WorkDir = "pygame-%srelease" % get.srcVERSION()
docdir = "%s/%s" % (get.docDIR(), get.srcNAME())
-pyversion = get.curPYTHON().replace("python", "")
-arch = get.ARCH().replace("-", "_")
-
-def fixperms(d):
- for root, dirs, files in os.walk(d):
- for name in dirs:
- shelltools.chmod(os.path.join(root, name), 0755)
- for name in files:
- shelltools.chmod(os.path.join(root, name), 0644)
-
-def setup():
- for d in ["src", "lib", "docs", "examples"]:
- fixperms(d)
-
- pythonmodules.run("config.py -auto")
def build():
+ # suppress compiler warnings:
+ pisitools.cflags.add("-Wno-format -Wno-comment -Wno-unused -Wno-incompatible-pointer-types \
+ -Wno-logical-not-parentheses -Wno-bool-compare -Wno-maybe-uninitialized \
+ -Wno-discarded-qualifiers -Wno-pointer-sign -Wno-pointer-to-int-cast \
+ -Wno-unknown-pragmas")
+ # fix unused dependency analysis:
+ shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
pythonmodules.compile()
- shelltools.copy("lib/pygame_icon.bmp", "build/lib.linux-%s-%s/pygame/" % (arch, pyversion))
def install():
pythonmodules.install()
- pisitools.insinto(docdir, "docs", "html")
- pisitools.insinto(docdir, "examples")
+ pisitools.insinto(docdir, "docs", "examples")
\ No newline at end of file
diff --git a/programming/language/python/pygame/pspec.xml b/programming/language/python/pygame/pspec.xml
index a4e9914432..da699456eb 100644
--- a/programming/language/python/pygame/pspec.xml
+++ b/programming/language/python/pygame/pspec.xml
@@ -1,5 +1,5 @@
-
+
pygame
@@ -8,68 +8,89 @@
PisiLinux Community
admins@pisilinux.org
+ programming.language.python
LGPLv2.1
library
Python game library
Python bindings to sdl and other libs that facilitate game production.
- https://github.com/pygame/pygame/archive/1.9.4.tar.gz
+ https://github.com/pygame/pygame/archive/1.9.6.tar.gz
- libsdl-devel
- sdl-mixer-devel
- sdl-ttf-devel
- sdl-image-devel
- smpeg-devel
- python-numpy
- portmidi-devel
- python-setuptools
libjpeg-turbo-devel
- libX11-devel
- libpng-devel
- python-devel
+ python-setuptools
+ sdl-image-devel
+ sdl-mixer-devel
+ portmidi-devel
freetype-devel
+ sdl-ttf-devel
+ libpng-devel
+ libsdl-devel
+ python-devel
+
-
pygame
+ Python game library
- libsdl
- sdl-mixer
- sdl-ttf
- sdl-image
- smpeg
- python-numpy
- portmidi
libjpeg-turbo
- libX11
- libpng
- python
+ sdl-image
+ sdl-mixer
freetype
+ portmidi
+ sdl-ttf
+ python
+ libpng
+ libsdl
+
- /usr/include
/usr/lib
+
+ pygame-devel
+ Development files for python game library
+
+ pygame
+ sdl-image-devel
+ sdl-mixer-devel
+ sdl-ttf-devel
+
+
+ /usr/include
+ /usr/share/doc/pygame/examples/*
+
+
+
pygame-doc
+ Documentation files for python game library
pygame
- /usr/share/doc
+ /usr/share/doc/pygame/README.rst
+
+ 2020-01-20
+ 1.9.6
+ Version bump.
+ Blue Devil
+ bluedevil@sctzine.com
+
2018-08-29
1.9.4
@@ -99,4 +120,4 @@
admins@pisilinux.org
-
+
\ No newline at end of file
diff --git a/programming/language/python/pygame/translations.xml b/programming/language/python/pygame/translations.xml
index e2a899c4a1..20e9d3888f 100644
--- a/programming/language/python/pygame/translations.xml
+++ b/programming/language/python/pygame/translations.xml
@@ -3,8 +3,20 @@
pygame
Python oyun kütüphanesi
- Özellikle oyun programlamada kullanılan sdl ve benzeri kütüphaneler için python eklentileri
+ Özellikle oyun programlamada kullanılan sdl ve benzeri kütüphaneler için python eklentileri içerir.
Liens (bindings) Python pour dsl et autres librairies facilitant la création de jeux.
Acceso con Python a sdl y otras librerías que facilitan produccion de juegos
-
+
+
+ pygame-devel
+ pygame için geliştirme dosyaları
+ pygame-devel, pygame için geliştirme dosyalarını içerir.
+
+
+
+ pygame-docs
+ pygame için belgelendirme dosyaları
+ pygame-docs, pygame için belgelendirme dosyalarını içerir.
+
+
\ No newline at end of file