[arch-commits] Commit in python-pygame/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Apr 6 19:40:19 UTC 2019


    Date: Saturday, April 6, 2019 @ 19:40:19
  Author: arojas
Revision: 450024

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   78 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 38 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-06 19:39:39 UTC (rev 450023)
+++ PKGBUILD	2019-04-06 19:40:19 UTC (rev 450024)
@@ -1,40 +0,0 @@
-# Maintainer:
-# Contributor: Eric Bélanger <eric at archlinux.org>
-
-pkgbase=python-pygame
-pkgname=python2-pygame
-pkgver=1.9.4
-pkgrel=2
-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=('9387835fab92a8b4a3c9e51e2c9267a670476aaa')
-
-prepare() {
-  cd pygame-${pkgver}
-  # don't ship python2 *and* python3 compiled bytecode from upstream
-  find . -name "*.pyc" -delete
-  find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} +
-}
-
-build() {
-  cd pygame-${pkgver}
-  python2 config.py -auto
-  python2 setup.py build
-}
-
-package_python2-pygame() {
-  cd pygame-${pkgver}
-  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/*
-}

Copied: python-pygame/repos/community-x86_64/PKGBUILD (from rev 450023, python-pygame/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-06 19:40:19 UTC (rev 450024)
@@ -0,0 +1,38 @@
+# Maintainer:
+# Contributor: Eric Bélanger <eric at archlinux.org>
+
+pkgbase=python-pygame
+pkgname=python2-pygame
+pkgver=1.9.5
+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=('72bec05e052f1b271f4fab219d078d0f768a72ea')
+
+prepare() {
+  cd pygame-${pkgver}
+  # don't ship python2 *and* python3 compiled bytecode from upstream
+  find . -name "*.pyc" -delete
+  find . -type f -exec sed -i 's#/usr/bin/env python#/usr/bin/env python2#' {} +
+}
+
+build() {
+  cd pygame-${pkgver}
+  python2 setup.py build
+}
+
+package_python2-pygame() {
+  cd pygame-${pkgver}
+  python2 setup.py install --root="${pkgdir}" --prefix=/usr
+
+# Copying the examples
+  cp -R examples "${pkgdir}/usr/lib/python2.7/site-packages/pygame"
+
+# Fixing permissions
+  chmod 644 "${pkgdir}"/usr/include/python2.7/pygame/*
+}



More information about the arch-commits mailing list