[arch-commits] Commit in python-kivy/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 9 07:53:38 UTC 2017


    Date: Tuesday, May 9, 2017 @ 07:53:38
  Author: felixonmars
Revision: 227408

upgpkg: python-kivy 1.10.0-1

Modified:
  python-kivy/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-09 07:40:55 UTC (rev 227407)
+++ PKGBUILD	2017-05-09 07:53:38 UTC (rev 227408)
@@ -6,8 +6,8 @@
 
 pkgbase=python-kivy
 pkgname=('python-kivy' 'python2-kivy')
-pkgver=1.9.1
-pkgrel=2
+pkgver=1.10.0
+pkgrel=1
 pkgdesc="A software library for rapid development of hardware-accelerated multitouch applications."
 arch=('i686' 'x86_64')
 url="http://kivy.org/"
@@ -15,10 +15,11 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'gstreamer' 'sdl2_ttf'
              'sdl2_mixer' 'sdl2_image')
 checkdepends=('python-nose' 'python2-nose' 'python2-mock' 'python-coverage' 'python2-coverage'
-              'python-dbus' 'python2-dbus' 'python-gobject' 'python2-gobject' 'xorg-server-xvfb'
-              'git' 'mtdev' 'xclip' 'xsel' 'gst-plugins-base' 'gst-plugins-good')
-source=("https://pypi.python.org/packages/source/K/Kivy/kivy-$pkgver.tar.gz")
-sha256sums=('29bc45be34c26a8acb1dafdd329145f997a473be344cd052659f821f6478637e')
+              'python-gobject' 'python2-gobject' 'xorg-server-xvfb' 'opencv' 'python-pyenchant'
+              'python2-pyenchant' 'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 'gst-plugins-base'
+              'gst-plugins-good' 'python-dbus' 'python2-dbus')
+source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz")
+sha512sums=('9f6ee0214a3ef784f26cdf7298844e15858a15a81ff8aa399ad2620939a7304f5c08121800293b2977bd3ddaf3c86cfb50d3dce1e4e8b5a696e8400e4f88ced6')
 
 prepare() {
   # For better metadata
@@ -26,29 +27,29 @@
 
   export LC_CTYPE=en_US.UTF-8
 
-  cp -a kivy-$pkgver{,-py2}
+  cp -a Kivy-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir"/kivy-$pkgver
+  cd "$srcdir"/Kivy-$pkgver
   python setup.py build build_ext --inplace
 
-  cd "$srcdir"/kivy-$pkgver-py2
+  cd "$srcdir"/Kivy-$pkgver-py2
   python2 setup.py build build_ext --inplace
 }
 
 check() {
-  cd "$srcdir"/kivy-$pkgver
-  PYTHONPATH="$PWD:$PYTHONPATH" xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" make test
+  cd "$srcdir"/Kivy-$pkgver
+  xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests3 kivy/tests
 
-  cd "$srcdir"/kivy-$pkgver-py2
-  PYTHONPATH="$PWD:$PYTHONPATH" xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" make PYTHON=python2 test
+  cd "$srcdir"/Kivy-$pkgver-py2
+  xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests2 kivy/tests
 }
 
 package_python-kivy() {
   depends=('python' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
 
-  cd kivy-$pkgver
+  cd Kivy-$pkgver
   python setup.py install --prefix=/usr --root="$pkgdir"
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
@@ -56,7 +57,7 @@
 package_python2-kivy() {
   depends=('python2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
 
-  cd kivy-$pkgver-py2
+  cd Kivy-$pkgver-py2
   python2 setup.py install --prefix=/usr --root="$pkgdir"
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 



More information about the arch-commits mailing list