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

2020-12-16 Thread Felix Yan via arch-commits
Date: Wednesday, December 16, 2020 @ 19:09:15
  Author: felixonmars
Revision: 776897

upgpkg: python-kivy 2.0.0-1

Modified:
  python-kivy/trunk/PKGBUILD
Deleted:
  python-kivy/trunk/py38.patch

+
 PKGBUILD   |   20 +---
 py38.patch |   16 
 2 files changed, 9 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-16 18:55:27 UTC (rev 776896)
+++ PKGBUILD2020-12-16 19:09:15 UTC (rev 776897)
@@ -4,8 +4,8 @@
 # Contributor: mid-kid 
 
 pkgname=python-kivy
-pkgver=1.11.1
-pkgrel=3
+pkgver=2.0.0
+pkgrel=1
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
 arch=('x86_64')
 url="https://kivy.org/;
@@ -15,10 +15,8 @@
 checkdepends=('python-pytest' 'python-coverage' 'python-gobject' 
'xorg-server-xvfb' 'opencv' 'python-pyenchant'
   'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 'gst-plugins-base'
   'gst-plugins-good' 'gst-libav' 'python-dbus')
-source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;
-py38.patch)
-sha512sums=('d6b34668d9ad9196edcb9a8307d6659868a8f72580018d873bc6e91823461c853c3c92758c0c3013b25faa177dd62ab5d12671411822112b13a9610e4eda3eb0'
-
'a128a81d3f7124339feb65c93eff6023174ae67db31b5eb3787046c906b03fd155e768d0342d0e8df1a3d2c739e3a90d3d31d8f43d8cb15ffdf5aba97ceda593')
+source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;)
+sha512sums=('dd91feddaf8477093a0e12bd94a265e1b6eaeccc08f6a1908cba8b89fd388dbd803ef98975d9c4c3d4d0f335da5df247f2773f1bcb14e54ee0506c8a7e9a369d')
 
 # For better metadata
 export KIVY_USE_SETUPTOOLS=1
@@ -26,18 +24,18 @@
 export LC_CTYPE=en_US.UTF-8
 
 prepare() {
-  # Remove max cython version limit
-  sed -i 's/,<={max_version}//' Kivy-$pkgver/setup.py # 
Kivy-$pkgver/kivy/tools/packaging/cython_cfg.py
-  patch -d Kivy-$pkgver/kivy -p1 -i ../../py38.patch
+  cd Kivy-$pkgver
+  # Do not use certifi
+  sed -i '/import 
certifi/d;s|certifi.where()|"/etc/ssl/certs/ca-certificates.crt"|' 
kivy/tests/test_urlrequest.py
 }
 
 build() {
-  cd "$srcdir"/Kivy-$pkgver
+  cd Kivy-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/Kivy-$pkgver
+  cd Kivy-$pkgver
   python setup.py build_ext --inplace
   xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" pytest kivy/tests
 }

Deleted: py38.patch
===
--- py38.patch  2020-12-16 18:55:27 UTC (rev 776896)
+++ py38.patch  2020-12-16 19:09:15 UTC (rev 776897)
@@ -1,16 +0,0 @@
-diff --git a/weakmethod.py.orig b/weakmethod.py
-index 4638abf..54bdc1b 100644
 a/weakmethod.py.orig
-+++ b/weakmethod.py
-@@ -53,7 +53,10 @@ if sys.version > '3':
- '''Returns True if the referenced callable was a bound method and
- the instance no longer exists. Otherwise, return False.
- '''
--return self.proxy is not None and not bool(dir(self.proxy))
-+try:
-+return self.proxy is not None and not bool(dir(self.proxy))
-+except ReferenceError:
-+return True
- 
- def __eq__(self, other):
- try:


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

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 18:39:32
  Author: foutrelis
Revision: 753143

upgpkg: python-kivy 1.11.1-3: Python 3.9 rebuild

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 18:39:32 UTC (rev 753142)
+++ PKGBUILD2020-11-12 18:39:32 UTC (rev 753143)
@@ -5,7 +5,7 @@
 
 pkgname=python-kivy
 pkgver=1.11.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
 arch=('x86_64')
 url="https://kivy.org/;


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

2019-11-10 Thread Felix Yan via arch-commits
Date: Sunday, November 10, 2019 @ 08:09:30
  Author: felixonmars
Revision: 524933

Python 3.8 rebuild

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-10 07:58:42 UTC (rev 524932)
+++ PKGBUILD2019-11-10 08:09:30 UTC (rev 524933)
@@ -5,7 +5,7 @@
 
 pkgname=python-kivy
 pkgver=1.11.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
 arch=('x86_64')
 url="https://kivy.org/;


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

2019-11-09 Thread Felix Yan via arch-commits
Date: Sunday, November 10, 2019 @ 07:58:42
  Author: felixonmars
Revision: 524932

fix py38 test failures and hang

Added:
  python-kivy/trunk/py38.patch
Modified:
  python-kivy/trunk/PKGBUILD

+
 PKGBUILD   |7 +--
 py38.patch |   16 
 2 files changed, 21 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-10 07:10:38 UTC (rev 524931)
+++ PKGBUILD2019-11-10 07:58:42 UTC (rev 524932)
@@ -15,8 +15,10 @@
 checkdepends=('python-pytest' 'python-coverage' 'python-gobject' 
'xorg-server-xvfb' 'opencv' 'python-pyenchant'
   'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 'gst-plugins-base'
   'gst-plugins-good' 'gst-libav' 'python-dbus')
-source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;)
-sha512sums=('d6b34668d9ad9196edcb9a8307d6659868a8f72580018d873bc6e91823461c853c3c92758c0c3013b25faa177dd62ab5d12671411822112b13a9610e4eda3eb0')
+source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;
+py38.patch)
+sha512sums=('d6b34668d9ad9196edcb9a8307d6659868a8f72580018d873bc6e91823461c853c3c92758c0c3013b25faa177dd62ab5d12671411822112b13a9610e4eda3eb0'
+
'a128a81d3f7124339feb65c93eff6023174ae67db31b5eb3787046c906b03fd155e768d0342d0e8df1a3d2c739e3a90d3d31d8f43d8cb15ffdf5aba97ceda593')
 
 # For better metadata
 export KIVY_USE_SETUPTOOLS=1
@@ -26,6 +28,7 @@
 prepare() {
   # Remove max cython version limit
   sed -i 's/,<={max_version}//' Kivy-$pkgver/setup.py # 
Kivy-$pkgver/kivy/tools/packaging/cython_cfg.py
+  patch -d Kivy-$pkgver/kivy -p1 -i ../../py38.patch
 }
 
 build() {

Added: py38.patch
===
--- py38.patch  (rev 0)
+++ py38.patch  2019-11-10 07:58:42 UTC (rev 524932)
@@ -0,0 +1,16 @@
+diff --git a/weakmethod.py.orig b/weakmethod.py
+index 4638abf..54bdc1b 100644
+--- a/weakmethod.py.orig
 b/weakmethod.py
+@@ -53,7 +53,10 @@ if sys.version > '3':
+ '''Returns True if the referenced callable was a bound method and
+ the instance no longer exists. Otherwise, return False.
+ '''
+-return self.proxy is not None and not bool(dir(self.proxy))
++try:
++return self.proxy is not None and not bool(dir(self.proxy))
++except ReferenceError:
++return True
+ 
+ def __eq__(self, other):
+ try:


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

2019-11-09 Thread Felix Yan via arch-commits
Date: Sunday, November 10, 2019 @ 03:50:34
  Author: felixonmars
Revision: 524925

use new cython

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |   11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-10 03:36:05 UTC (rev 524924)
+++ PKGBUILD2019-11-10 03:50:34 UTC (rev 524925)
@@ -18,11 +18,14 @@
 source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;)
 
sha512sums=('d6b34668d9ad9196edcb9a8307d6659868a8f72580018d873bc6e91823461c853c3c92758c0c3013b25faa177dd62ab5d12671411822112b13a9610e4eda3eb0')
 
+# For better metadata
+export KIVY_USE_SETUPTOOLS=1
+
+export LC_CTYPE=en_US.UTF-8
+
 prepare() {
-  # For better metadata
-  export KIVY_USE_SETUPTOOLS=1
-
-  export LC_CTYPE=en_US.UTF-8
+  # Remove max cython version limit
+  sed -i 's/,<={max_version}//' Kivy-$pkgver/setup.py # 
Kivy-$pkgver/kivy/tools/packaging/cython_cfg.py
 }
 
 build() {


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

2019-11-09 Thread Antonio Rojas via arch-commits
Date: Saturday, November 9, 2019 @ 21:58:35
  Author: arojas
Revision: 524905

Drop python2

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |   37 +++--
 1 file changed, 7 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-09 21:50:57 UTC (rev 524904)
+++ PKGBUILD2019-11-09 21:58:35 UTC (rev 524905)
@@ -3,8 +3,7 @@
 # Contributor: lagrange 
 # Contributor: mid-kid 
 
-pkgbase=python-kivy
-pkgname=('python-kivy' 'python2-kivy')
+pkgname=python-kivy
 pkgver=1.11.1
 pkgrel=1
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
@@ -11,12 +10,11 @@
 arch=('x86_64')
 url="https://kivy.org/;
 license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 
'python2-docutils' 'cython'
- 'cython2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
-checkdepends=('python-pytest' 'python2-pytest' 'python2-mock' 
'python-coverage' 'python2-coverage'
-  'python-gobject' 'python2-gobject' 'xorg-server-xvfb' 'opencv' 
'python-pyenchant'
-  'python2-pyenchant' 'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 
'gst-plugins-base'
-  'gst-plugins-good' 'gst-libav' 'python-dbus' 'python2-dbus')
+depends=('python-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
+makedepends=('python-setuptools' 'cython')
+checkdepends=('python-pytest' 'python-coverage' 'python-gobject' 
'xorg-server-xvfb' 'opencv' 'python-pyenchant'
+  'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 'gst-plugins-base'
+  'gst-plugins-good' 'gst-libav' 'python-dbus')
 source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;)
 
sha512sums=('d6b34668d9ad9196edcb9a8307d6659868a8f72580018d873bc6e91823461c853c3c92758c0c3013b25faa177dd62ab5d12671411822112b13a9610e4eda3eb0')
 
@@ -25,16 +23,11 @@
   export KIVY_USE_SETUPTOOLS=1
 
   export LC_CTYPE=en_US.UTF-8
-
-  cp -a Kivy-$pkgver{,-py2}
 }
 
 build() {
   cd "$srcdir"/Kivy-$pkgver
   python setup.py build
-
-  cd "$srcdir"/Kivy-$pkgver-py2
-  python2 setup.py build
 }
 
 check() {
@@ -41,26 +34,10 @@
   cd "$srcdir"/Kivy-$pkgver
   python setup.py build_ext --inplace
   xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" pytest kivy/tests
-
-  cd "$srcdir"/Kivy-$pkgver-py2
-  python2 setup.py build_ext --inplace
-  xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" pytest2 kivy/tests
 }
 
-package_python-kivy() {
-  depends=('python-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
-
+package() {
   cd Kivy-$pkgver
   python setup.py install --prefix=/usr --root="$pkgdir"
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
-
-package_python2-kivy() {
-  depends=('python2-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
-
-  cd Kivy-$pkgver-py2
-  python2 setup.py install --prefix=/usr --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/share/kivy{,2}-examples
-}


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

2019-08-18 Thread Felix Yan via arch-commits
Date: Monday, August 19, 2019 @ 03:28:07
  Author: felixonmars
Revision: 500122

upgpkg: python-kivy 1.11.1-1

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-08-19 01:49:23 UTC (rev 500121)
+++ PKGBUILD2019-08-19 03:28:07 UTC (rev 500122)
@@ -5,8 +5,8 @@
 
 pkgbase=python-kivy
 pkgname=('python-kivy' 'python2-kivy')
-pkgver=1.10.1
-pkgrel=2
+pkgver=1.11.1
+pkgrel=1
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
 arch=('x86_64')
 url="https://kivy.org/;
@@ -13,12 +13,12 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 
'python2-docutils' 'cython'
  'cython2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
-checkdepends=('python-nose' 'python2-nose' 'python2-mock' 'python-coverage' 
'python2-coverage'
+checkdepends=('python-pytest' 'python2-pytest' 'python2-mock' 
'python-coverage' 'python2-coverage'
   'python-gobject' 'python2-gobject' 'xorg-server-xvfb' 'opencv' 
'python-pyenchant'
   'python2-pyenchant' 'git' 'mtdev' 'xclip' 'xsel' 'gtk3' 
'gst-plugins-base'
   'gst-plugins-good' 'gst-libav' 'python-dbus' 'python2-dbus')
 source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;)
-sha512sums=('d0fb32e18bab86e74b7b7b67b11c46150511a9f549aa564b821e7cb46592750633ac94e9a12b1b8df3e59bd9acffa2b2394861608f46cebd10df4fb52ee604b8')
+sha512sums=('d6b34668d9ad9196edcb9a8307d6659868a8f72580018d873bc6e91823461c853c3c92758c0c3013b25faa177dd62ab5d12671411822112b13a9610e4eda3eb0')
 
 prepare() {
   # For better metadata
@@ -40,11 +40,11 @@
 check() {
   cd "$srcdir"/Kivy-$pkgver
   python setup.py build_ext --inplace
-  xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests3 kivy/tests
+  xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" pytest kivy/tests
 
   cd "$srcdir"/Kivy-$pkgver-py2
   python2 setup.py build_ext --inplace
-  xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests2 kivy/tests
+  xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" pytest2 kivy/tests
 }
 
 package_python-kivy() {


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

2018-07-26 Thread Eli Schwartz via arch-commits
Date: Thursday, July 26, 2018 @ 07:31:40
  Author: eschwartz
Revision: 363476

upgpkg: python-kivy 1.10.1-2

python 3.7 rebuild

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |   10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-26 07:28:33 UTC (rev 363475)
+++ PKGBUILD2018-07-26 07:31:40 UTC (rev 363476)
@@ -7,10 +7,10 @@
 pkgbase=python-kivy
 pkgname=('python-kivy' 'python2-kivy')
 pkgver=1.10.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
 arch=('x86_64')
-url="http://kivy.org/;
+url="https://kivy.org/;
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 
'python2-docutils' 'cython'
  'cython2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
@@ -32,17 +32,19 @@
 
 build() {
   cd "$srcdir"/Kivy-$pkgver
-  python setup.py build build_ext --inplace
+  python setup.py build
 
   cd "$srcdir"/Kivy-$pkgver-py2
-  python2 setup.py build build_ext --inplace
+  python2 setup.py build
 }
 
 check() {
   cd "$srcdir"/Kivy-$pkgver
+  python setup.py build_ext --inplace
   xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests3 kivy/tests
 
   cd "$srcdir"/Kivy-$pkgver-py2
+  python2 setup.py build_ext --inplace
   xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" nosetests2 kivy/tests
 }
 


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

2018-07-08 Thread Felix Yan via arch-commits
Date: Sunday, July 8, 2018 @ 17:07:31
  Author: felixonmars
Revision: 355110

upgpkg: python-kivy 1.10.1-1

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-08 17:06:56 UTC (rev 355109)
+++ PKGBUILD2018-07-08 17:07:31 UTC (rev 355110)
@@ -6,20 +6,20 @@
 
 pkgbase=python-kivy
 pkgname=('python-kivy' 'python2-kivy')
-pkgver=1.10.0
+pkgver=1.10.1
 pkgrel=1
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
 arch=('x86_64')
 url="http://kivy.org/;
 license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 
'gstreamer' 'sdl2_ttf'
- 'sdl2_mixer' 'sdl2_image')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-docutils' 
'python2-docutils' 'cython'
+ 'cython2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
 checkdepends=('python-nose' 'python2-nose' 'python2-mock' 'python-coverage' 
'python2-coverage'
   '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')
+  'gst-plugins-good' 'gst-libav' 'python-dbus' 'python2-dbus')
 source=("https://pypi.io/packages/source/K/Kivy/Kivy-$pkgver.tar.gz;)
-sha512sums=('9f6ee0214a3ef784f26cdf7298844e15858a15a81ff8aa399ad2620939a7304f5c08121800293b2977bd3ddaf3c86cfb50d3dce1e4e8b5a696e8400e4f88ced6')
+sha512sums=('d0fb32e18bab86e74b7b7b67b11c46150511a9f549aa564b821e7cb46592750633ac94e9a12b1b8df3e59bd9acffa2b2394861608f46cebd10df4fb52ee604b8')
 
 prepare() {
   # For better metadata
@@ -47,7 +47,7 @@
 }
 
 package_python-kivy() {
-  depends=('python' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
+  depends=('python-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
 
   cd Kivy-$pkgver
   python setup.py install --prefix=/usr --root="$pkgdir"
@@ -55,7 +55,7 @@
 }
 
 package_python2-kivy() {
-  depends=('python2' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
+  depends=('python2-docutils' 'gstreamer' 'sdl2_ttf' 'sdl2_mixer' 'sdl2_image')
 
   cd Kivy-$pkgver-py2
   python2 setup.py install --prefix=/usr --root="$pkgdir"


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

2017-05-09 Thread Felix Yan
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
===
--- PKGBUILD2017-05-09 07:40:55 UTC (rev 227407)
+++ PKGBUILD2017-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
 


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

2016-12-25 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 16:55:18
  Author: felixonmars
Revision: 201993

Python 3.6 rebuild

Modified:
  python-kivy/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 16:55:16 UTC (rev 201992)
+++ PKGBUILD2016-12-25 16:55:18 UTC (rev 201993)
@@ -7,7 +7,7 @@
 pkgbase=python-kivy
 pkgname=('python-kivy' 'python2-kivy')
 pkgver=1.9.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A software library for rapid development of hardware-accelerated 
multitouch applications."
 arch=('i686' 'x86_64')
 url="http://kivy.org/;