[arch-commits] Commit in python-pygame/repos (2 files)

2020-11-09 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 04:16:29
  Author: felixonmars
Revision: 748615

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pygame/repos/community-staging-x86_64/
  python-pygame/repos/community-staging-x86_64/PKGBUILD
(from rev 748614, python-pygame/trunk/PKGBUILD)

--+
 PKGBUILD |   25 +
 1 file changed, 25 insertions(+)

Copied: python-pygame/repos/community-staging-x86_64/PKGBUILD (from rev 748614, 
python-pygame/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-10 04:16:29 UTC (rev 748615)
@@ -0,0 +1,25 @@
+# Maintainer: Alad Wenter 
+# Contributor: Matthew McGinn 
+# Contributor: Gryffyn
+# Contributor: Tetsumi
+pkgname=python-pygame
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Python game library"
+arch=('x86_64')
+url="http://www.pygame.org;
+license=('LGPL')
+makedepends=('python-setuptools' 'sdl2')
+depends=('python' 'sdl2_mixer' 'sdl2_ttf' 'sdl2_image' 'portmidi')
+source=("https://pypi.io/packages/source/p/pygame/pygame-$pkgver.tar.gz;)
+sha256sums=('63b038da116a643046181b02173fd894d87d2f85ecfd6aa7d5ece73c6ef501e9')
+
+build() {
+cd pygame-"$pkgver"
+python setup.py build
+}
+
+package() {
+cd pygame-"$pkgver"
+python setup.py install --root="$pkgdir" --prefix=/usr --skip-build
+}


[arch-commits] Commit in python-pygame/repos (2 files)

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 02:05:20
  Author: felixonmars
Revision: 522969

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pygame/repos/community-staging-x86_64/
  python-pygame/repos/community-staging-x86_64/PKGBUILD
(from rev 522968, python-pygame/trunk/PKGBUILD)

--+
 PKGBUILD |   25 +
 1 file changed, 25 insertions(+)

Copied: python-pygame/repos/community-staging-x86_64/PKGBUILD (from rev 522968, 
python-pygame/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-04 02:05:20 UTC (rev 522969)
@@ -0,0 +1,25 @@
+# Maintainer: Alad Wenter 
+# Contributor: Matthew McGinn 
+# Contributor: Gryffyn
+# Contributor: Tetsumi
+pkgname=python-pygame
+pkgver=1.9.6
+pkgrel=3
+pkgdesc="Python game library"
+arch=('x86_64')
+url="http://www.pygame.org;
+license=('LGPL')
+makedepends=('python-setuptools')
+depends=('python' 'sdl_mixer' 'sdl_ttf' 'sdl_image' 'portmidi')
+source=("https://pypi.io/packages/source/p/pygame/pygame-$pkgver.tar.gz;)
+sha256sums=('301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957')
+
+build() {
+cd pygame-"$pkgver"
+python setup.py build
+}
+
+package() {
+cd pygame-"$pkgver"
+python setup.py install --root="$pkgdir" --prefix=/usr --skip-build
+}


[arch-commits] Commit in python-pygame/repos (2 files)

2019-08-06 Thread Alad Wenter via arch-commits
Date: Tuesday, August 6, 2019 @ 21:53:05
  Author: alad
Revision: 498098

archrelease: copy trunk to community-x86_64

Added:
  python-pygame/repos/community-x86_64/
  python-pygame/repos/community-x86_64/PKGBUILD
(from rev 498097, python-pygame/trunk/PKGBUILD)

--+
 PKGBUILD |   25 +
 1 file changed, 25 insertions(+)

Copied: python-pygame/repos/community-x86_64/PKGBUILD (from rev 498097, 
python-pygame/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2019-08-06 21:53:05 UTC (rev 498098)
@@ -0,0 +1,25 @@
+# Maintainer: Alad Wenter 
+# Contributor: Matthew McGinn 
+# Contributor: Gryffyn
+# Contributor: Tetsumi
+pkgname=python-pygame
+pkgver=1.9.6
+pkgrel=2
+pkgdesc="Python game library"
+arch=('x86_64')
+url="http://www.pygame.org;
+license=('LGPL')
+makedepends=('python-setuptools')
+depends=('python' 'sdl_mixer' 'sdl_ttf' 'sdl_image' 'portmidi')
+source=("https://pypi.io/packages/source/p/pygame/pygame-$pkgver.tar.gz;)
+sha256sums=('301c6428c0880ecd4a9e3951b80e539c33863b6ff356a443db1758de4f297957')
+
+build() {
+cd pygame-"$pkgver"
+python setup.py build
+}
+
+package() {
+cd pygame-"$pkgver"
+python setup.py install --root="$pkgdir" --prefix=/usr --skip-build
+}


[arch-commits] Commit in python-pygame/repos (2 files)

2018-10-07 Thread Antonio Rojas via arch-commits
Date: Sunday, October 7, 2018 @ 21:29:45
  Author: arojas
Revision: 391048

archrelease: copy trunk to community-x86_64

Added:
  python-pygame/repos/community-x86_64/
  python-pygame/repos/community-x86_64/PKGBUILD
(from rev 391047, python-pygame/trunk/PKGBUILD)

--+
 PKGBUILD |   32 
 1 file changed, 32 insertions(+)

Copied: python-pygame/repos/community-x86_64/PKGBUILD (from rev 391047, 
python-pygame/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2018-10-07 21:29:45 UTC (rev 391048)
@@ -0,0 +1,32 @@
+# Maintainer: Eric BĂ©langer 
+
+pkgbase=python-pygame
+pkgname=python2-pygame
+pkgver=1.9.3
+pkgrel=1
+pkgdesc="Python game library"
+arch=('x86_64')
+url="http://www.pygame.org/;
+license=('LGPL')
+depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'python2' 'portmidi')
+makedepends=('python2-setuptools')
+source=(https://pypi.io/packages/source/p/pygame/pygame-$pkgver.tar.gz)
+sha1sums=('b3ef126f0baea3bd0986fddebba82b6b13f6f282')
+
+prepare() {
+  cd pygame-${pkgver}
+  find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} 
+
+}
+
+package_python2-pygame() {
+  cd pygame-${pkgver}
+  python2 config.py -auto
+  python2 setup.py install --root="${pkgdir}" --prefix=/usr
+
+# Copying the examples and tests
+  cp -R examples lib/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame"
+  cp -R test/* "${pkgdir}/usr/lib/python2.7/site-packages/pygame/tests"
+
+# Fixing permissions
+  chmod 644 "${pkgdir}"/usr/include/python2.7/pygame/*
+}