pygame:ver. bump
This commit is contained in:
@@ -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")
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pygame</Name>
|
||||
@@ -8,68 +8,89 @@
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.language.python</PartOf>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python game library</Summary>
|
||||
<Description>Python bindings to sdl and other libs that facilitate game production.</Description>
|
||||
<Archive sha1sum="de6508b831c8d9061c5d22d9e6237d8535255aae" type="targz">https://github.com/pygame/pygame/archive/1.9.4.tar.gz</Archive>
|
||||
<Archive sha1sum="4daa159e35a4f0fec81b2a6862da861296d9435a" type="targz">https://github.com/pygame/pygame/archive/1.9.6.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>sdl-mixer-devel</Dependency>
|
||||
<Dependency>sdl-ttf-devel</Dependency>
|
||||
<Dependency>sdl-image-devel</Dependency>
|
||||
<Dependency>smpeg-devel</Dependency>
|
||||
<Dependency>python-numpy</Dependency>
|
||||
<Dependency>portmidi-devel</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
<Dependency>sdl-image-devel</Dependency>
|
||||
<Dependency>sdl-mixer-devel</Dependency>
|
||||
<Dependency>portmidi-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>sdl-ttf-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<!--
|
||||
<Dependency>python-numpy</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>smpeg-devel</Dependency>
|
||||
-->
|
||||
</BuildDependencies>
|
||||
<!--<Patches>
|
||||
<Patch>config.patch</Patch>
|
||||
<Patch level="1">pygame-1.9.1-config.patch</Patch>
|
||||
<Patch level="1">pygame-1.9.1-no-test-install.patch</Patch>
|
||||
<Patch level="1">pygame-1.9.1-porttime.patch</Patch>
|
||||
<Patch level="1">pygame-remove-v4l.patch</Patch>
|
||||
</Patches>-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>pygame</Name>
|
||||
<Summary>Python game library</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>sdl-mixer</Dependency>
|
||||
<Dependency>sdl-ttf</Dependency>
|
||||
<Dependency>sdl-image</Dependency>
|
||||
<Dependency>smpeg</Dependency>
|
||||
<Dependency>python-numpy</Dependency>
|
||||
<Dependency>portmidi</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
<Dependency>sdl-image</Dependency>
|
||||
<Dependency>sdl-mixer</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>portmidi</Dependency>
|
||||
<Dependency>sdl-ttf</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<!--
|
||||
<Dependency>python-numpy</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>smpeg</Dependency>
|
||||
-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>pygame-devel</Name>
|
||||
<Summary>Development files for python game library</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">pygame</Dependency>
|
||||
<Dependency>sdl-image-devel</Dependency>
|
||||
<Dependency>sdl-mixer-devel</Dependency>
|
||||
<Dependency>sdl-ttf-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="doc">/usr/share/doc/pygame/examples/*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>pygame-doc</Name>
|
||||
<Summary>Documentation files for python game library</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">pygame</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/doc/pygame/README.rst</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2020-01-20</Date>
|
||||
<Version>1.9.6</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2018-08-29</Date>
|
||||
<Version>1.9.4</Version>
|
||||
@@ -99,4 +120,4 @@
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
@@ -3,8 +3,20 @@
|
||||
<Source>
|
||||
<Name>pygame</Name>
|
||||
<Summary xml:lang="tr">Python oyun kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">Özellikle oyun programlamada kullanılan sdl ve benzeri kütüphaneler için python eklentileri</Description>
|
||||
<Description xml:lang="tr">Özellikle oyun programlamada kullanılan sdl ve benzeri kütüphaneler için python eklentileri içerir.</Description>
|
||||
<Description xml:lang="fr">Liens (bindings) Python pour dsl et autres librairies facilitant la création de jeux.</Description>
|
||||
<Description xml:lang="es">Acceso con Python a sdl y otras librerías que facilitan produccion de juegos</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
|
||||
<Package>
|
||||
<Name>pygame-devel</Name>
|
||||
<Summary xml:lang="tr">pygame için geliştirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">pygame-devel, pygame için geliştirme dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>pygame-docs</Name>
|
||||
<Summary xml:lang="tr">pygame için belgelendirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">pygame-docs, pygame için belgelendirme dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user