[144120] trunk/dports/python/py-kivy

stromnov at macports.org stromnov at macports.org
Fri Jan 1 23:52:57 PST 2016


Revision: 144120
          https://trac.macports.org/changeset/144120
Author:   stromnov at macports.org
Date:     2016-01-01 23:52:57 -0800 (Fri, 01 Jan 2016)
Log Message:
-----------
py-kivy: update to version 1.9.1

Modified Paths:
--------------
    trunk/dports/python/py-kivy/Portfile
    trunk/dports/python/py-kivy/files/patch-setup.py.diff

Modified: trunk/dports/python/py-kivy/Portfile
===================================================================
--- trunk/dports/python/py-kivy/Portfile	2016-01-02 07:10:46 UTC (rev 144119)
+++ trunk/dports/python/py-kivy/Portfile	2016-01-02 07:52:57 UTC (rev 144120)
@@ -1,19 +1,17 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem          1.0
 PortGroup           python 1.0
-PortGroup           github 1.0
 
-github.setup        kivy kivy 1.8.0
-
 name                py-kivy
+version             1.9.1
 revision            0
 categories-append   devel
 platforms           darwin
 license             MIT
 
-python.versions     26 27
+python.versions     26 27 35
 
 maintainers         stromnov openmaintainer
 
@@ -25,17 +23,25 @@
                     while making your code reusable and deployable.
 
 homepage            http://kivy.org/
+master_sites        pypi:K/Kivy
 
-checksums           rmd160  2911969f2e9d0853941eba3a7e6d07c601cade2f \
-                    sha256  0043c5d921ec444ba0d2f3a00a1a97e607dc2b4708db951c9eace40645cbfb60
+distname            ${python.rootname}-${version}
 
+checksums           rmd160  fc3e96b5cf37798fa778d22b69972fc7fc05a506 \
+                    sha256  29bc45be34c26a8acb1dafdd329145f997a473be344cd052659f821f6478637e
+
 if {${name} ne ${subport}} {
     depends_build-append \
                         port:py${python.version}-cython
 
-    depends_run-append  port:py${python.version}-game
+    depends_lib-append  port:libsdl2 \
+                        port:libsdl2_image \
+                        port:libsdl2_mixer \
+                        port:libsdl2_ttf
 
     patchfiles          patch-setup.py.diff
 
     livecheck.type      none
+} else {
+    livecheck.type      pypi
 }

Modified: trunk/dports/python/py-kivy/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-kivy/files/patch-setup.py.diff	2016-01-02 07:10:46 UTC (rev 144119)
+++ trunk/dports/python/py-kivy/files/patch-setup.py.diff	2016-01-02 07:52:57 UTC (rev 144120)
@@ -1,11 +1,28 @@
---- setup.py.orig	2014-02-11 14:26:27.000000000 +0400
-+++ setup.py	2014-02-11 14:50:04.000000000 +0400
-@@ -64,7 +64,7 @@
- #
- c_options = OrderedDict()
- c_options['use_rpi'] = platform == 'rpi'
--c_options['use_opengl_es2'] = True
-+c_options['use_opengl_es2'] = False
+--- setup.py.orig	2016-01-01 02:39:28.000000000 +0300
++++ setup.py	2016-01-02 02:21:43.000000000 +0300
+@@ -108,7 +108,7 @@
+ c_options['use_opengl_es2'] = None
  c_options['use_opengl_debug'] = False
  c_options['use_glew'] = False
- c_options['use_sdl'] = False
+-c_options['use_sdl2'] = None
++c_options['use_sdl2'] = True
+ c_options['use_ios'] = False
+ c_options['use_mesagl'] = False
+ c_options['use_x11'] = False
+@@ -423,7 +423,7 @@
+ if c_options['use_sdl2'] or (
+         platform not in ('android',) and c_options['use_sdl2'] is None):
+ 
+-    if c_options['use_osx_frameworks'] and platform == 'darwin':
++    if False and c_options['use_osx_frameworks'] and platform == 'darwin':
+         # check the existence of frameworks
+         sdl2_valid = True
+         sdl2_flags = {
+@@ -1012,7 +1012,4 @@
+         'Topic :: Scientific/Engineering :: Visualization',
+         'Topic :: Software Development :: Libraries :: Application Frameworks',
+         'Topic :: Software Development :: User Interfaces'],
+-    dependency_links=[
+-        'https://github.com/kivy-garden/garden/archive/master.zip'],
+-    install_requires=['Kivy-Garden>=0.1.4'],
+     setup_requires=['cython>=' + MIN_CYTHON_STRING])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160101/b6202bad/attachment-0001.html>


More information about the macports-changes mailing list