[arch-commits] Commit in pyglet/repos/community-any (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Thu Feb 26 00:28:59 UTC 2015


    Date: Thursday, February 26, 2015 @ 01:28:59
  Author: kkeen
Revision: 128241

archrelease: copy trunk to community-any

Added:
  pyglet/repos/community-any/PKGBUILD
    (from rev 128240, pyglet/trunk/PKGBUILD)
Deleted:
  pyglet/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-26 00:28:28 UTC (rev 128240)
+++ PKGBUILD	2015-02-26 00:28:59 UTC (rev 128241)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-# Contributor: Ryan Coyner <rcoyner at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgbase=pyglet
-pkgname=('python-pyglet' 'python2-pyglet')
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="A cross-platform windowing and multimedia library for Python"
-arch=('any')
-url="http://pyglet.org/"
-license=('BSD')
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
-optdepends=('avbin: provides audio&video support')
-source=("https://pypi.python.org/packages/source/p/pyglet/pyglet-$pkgver.tar.gz")
-md5sums=('db1e2ca6a68c8b7dca2937906afc5763')
-
-prepare() {
-	cd "$srcdir"
-	cp -r "$srcdir/$pkgbase-$pkgver" "$srcdir/${pkgbase}2-$pkgver"
-}
-
-build() { 
-	cd "$srcdir/${pkgbase}2-$pkgver"
-	python2 setup.py build
-
-	cd "$srcdir/$pkgbase-$pkgver"
-	python3 setup.py build
-}
-
-package_python2-pyglet() {
-	depends=('python2')
-	conflicts=('pyglet')
-	provides=('pyglet')
-	replaces=('pyglet')
-	cd "$srcdir/${pkgbase}2-$pkgver"
-	find ./ -type f -name '*.py' | xargs -n 1 sed -i 's|/usr/bin/env python$|/usr/bin/env python2|'
-	find ./ -type f -name '*.py' | xargs -n 1 sed -i 's|/usr/bin/python|/usr/bin/env python2|'
-	python2 setup.py install --root="$pkgdir" --optimize=0
-        find "$pkgdir/" -name '*.pyc' -delete
-	install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python-pyglet() {
-	depends=('python')
-	cd "$srcdir/$pkgbase-$pkgver"
-	python3 setup.py install --root="$pkgdir" --optimize=0
-        find "$pkgdir/" -name '*.pyc' -delete
-	find "$pkgdir/" -type d -empty -delete
-	install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-

Copied: pyglet/repos/community-any/PKGBUILD (from rev 128240, pyglet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-02-26 00:28:59 UTC (rev 128241)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Ryan Coyner <rcoyner at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgbase=pyglet
+pkgname=('python-pyglet' 'python2-pyglet')
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="A cross-platform windowing and multimedia library for Python"
+arch=('any')
+url="http://pyglet.org/"
+license=('BSD')
+makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools')
+optdepends=('avbin: provides audio&video support')
+source=("https://pypi.python.org/packages/source/p/pyglet/pyglet-$pkgver.tar.gz")
+md5sums=('d50f9c3eebfef1a651bf2fba98b7f676')
+
+prepare() {
+	cd "$srcdir"
+	cp -r "$srcdir/$pkgbase-$pkgver" "$srcdir/${pkgbase}2-$pkgver"
+}
+
+build() { 
+	cd "$srcdir/${pkgbase}2-$pkgver"
+	python2 setup.py build
+
+	cd "$srcdir/$pkgbase-$pkgver"
+	python3 setup.py build
+}
+
+package_python2-pyglet() {
+	depends=('python2')
+	conflicts=('pyglet')
+	provides=('pyglet')
+	replaces=('pyglet')
+	cd "$srcdir/${pkgbase}2-$pkgver"
+	find ./ -type f -name '*.py' | xargs -n 1 sed -i 's|/usr/bin/env python$|/usr/bin/env python2|'
+	find ./ -type f -name '*.py' | xargs -n 1 sed -i 's|/usr/bin/python|/usr/bin/env python2|'
+	python2 setup.py install --root="$pkgdir" --optimize=0
+        find "$pkgdir/" -name '*.pyc' -delete
+	install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python-pyglet() {
+	depends=('python')
+	cd "$srcdir/$pkgbase-$pkgver"
+	python3 setup.py install --root="$pkgdir" --optimize=0
+        find "$pkgdir/" -name '*.pyc' -delete
+	find "$pkgdir/" -type d -empty -delete
+	install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+



More information about the arch-commits mailing list