diff --git a/programming/language/python3/py3game/actions.py b/programming/language/python3/py3game/actions.py new file mode 100644 index 0000000000..14551bcadb --- /dev/null +++ b/programming/language/python3/py3game/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- 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 shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +docdir = "%s/%s" % (get.docDIR(), get.srcNAME()) + +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(pyVer="3") + +def install(): + pythonmodules.install(pyVer="3") + + pisitools.insinto(docdir, "docs", "examples") \ No newline at end of file diff --git a/programming/language/python3/py3game/pspec.xml b/programming/language/python3/py3game/pspec.xml new file mode 100644 index 0000000000..aef382b23f --- /dev/null +++ b/programming/language/python3/py3game/pspec.xml @@ -0,0 +1,95 @@ + + + + + py3game + http://www.pygame.org/ + + Blue Devil + bluedevil@sctzine.com + + programming.language.python3 + LGPLv2.1 + library + Python3 game library + Python bindings to sdl and other libs that facilitate game production. + https://github.com/pygame/pygame/archive/1.9.6.tar.gz + + libjpeg-turbo-devel + python3-setuptools + sdl-image-devel + sdl-mixer-devel + portmidi-devel + freetype-devel + sdl-ttf-devel + libpng-devel + libsdl-devel + python3-devel + + + + + + py3game + Python3 game library + + libjpeg-turbo + sdl-image + sdl-mixer + freetype + portmidi + sdl-ttf + python3 + libpng + libsdl + + + + /usr/lib + + + + + py3game-devel + Development files for python3 game library + + py3game + sdl-image-devel + sdl-mixer-devel + sdl-ttf-devel + + + /usr/include + /usr/share/doc/py3game/examples/* + + + + + py3game-doc + Documentation files for python3 game library + + py3game + + + /usr/share/doc/py3game/README.rst + + + + + + 2020-01-20 + 1.9.6 + First pisi release + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/programming/language/python3/py3game/translations.xml b/programming/language/python3/py3game/translations.xml new file mode 100644 index 0000000000..716191d833 --- /dev/null +++ b/programming/language/python3/py3game/translations.xml @@ -0,0 +1,22 @@ + + + + py3game + Python3 oyun kütüphanesi + Ö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 + + + + py3game-devel + py3game için geliştirme dosyaları + py3game-devel, py3game için geliştirme dosyalarını içerir. + + + + py3game-docs + py3game için belgelendirme dosyaları + py3game-docs, py3game için belgelendirme dosyalarını içerir. + + \ No newline at end of file