[115947] trunk/dports/python/py-gobject

jwa at macports.org jwa at macports.org
Tue Jan 14 23:29:45 PST 2014


Revision: 115947
          https://trac.macports.org/changeset/115947
Author:   jwa at macports.org
Date:     2014-01-14 23:29:45 -0800 (Tue, 14 Jan 2014)
Log Message:
-----------
py-gobject: drop version to the actually last 2.x version, do not rely on numbering schemes, add epoch, disable livecheck, add patch to remove a deprecated identifier

Modified Paths:
--------------
    trunk/dports/python/py-gobject/Portfile

Added Paths:
-----------
    trunk/dports/python/py-gobject/files/
    trunk/dports/python/py-gobject/files/patch-pygi-info.c.diff

Modified: trunk/dports/python/py-gobject/Portfile
===================================================================
--- trunk/dports/python/py-gobject/Portfile	2014-01-15 07:09:04 UTC (rev 115946)
+++ trunk/dports/python/py-gobject/Portfile	2014-01-15 07:29:45 UTC (rev 115947)
@@ -6,7 +6,8 @@
 
 name            py-gobject
 set my_name     pygobject
-version         2.90.4
+version         2.28.6
+epoch           20110613
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories-append   gnome
 license         LGPL-2.1+
@@ -28,8 +29,8 @@
 distname        ${my_name}-${version}
 use_xz			yes
 
-checksums           rmd160  d0fcb34ed56a0d086aa5e1419295faf0c7f2080a \
-                    sha256  8407b6997181bbca4783798e21d7d63ca41708a6c05a3b08c953d64e7b97b2a1
+checksums           rmd160  4bc5e8546a5029d3d6b154629ab3fa4023d96bef \
+                    sha256  fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8
 
 if {$subport != $name} {
     depends_build-append   port:pkgconfig
@@ -38,6 +39,8 @@
                 port:py${python.version}-cairo \
     			port:gobject-introspection
 
+    patchfiles  patch-pygi-info.c.diff
+
     use_configure			yes
     configure.python        ${python.bin}
     configure.env-append    PKG_CONFIG_PATH='${python.prefix}/lib/pkgconfig'
@@ -65,10 +68,4 @@
     }
 }
 
-if {$subport == $name} {
-    livecheck.type  gnome
-    livecheck.name  ${my_name}
-    livecheck.regex {LATEST-IS-(2\.\d*[02468](?:\.\d+)*)}
-} else {
-    livecheck.type	none
-}
+livecheck.type  none

Added: trunk/dports/python/py-gobject/files/patch-pygi-info.c.diff
===================================================================
--- trunk/dports/python/py-gobject/files/patch-pygi-info.c.diff	                        (rev 0)
+++ trunk/dports/python/py-gobject/files/patch-pygi-info.c.diff	2014-01-15 07:29:45 UTC (rev 115947)
@@ -0,0 +1,28 @@
+--- gi/pygi-info.c.orig	2014-01-15 09:16:11.000000000 +0200
++++ gi/pygi-info.c	2014-01-15 09:16:52.000000000 +0200
+@@ -162,9 +162,6 @@
+         case GI_INFO_TYPE_CONSTANT:
+             type = &PyGIConstantInfo_Type;
+             break;
+-        case GI_INFO_TYPE_ERROR_DOMAIN:
+-            type = &PyGIErrorDomainInfo_Type;
+-            break;
+         case GI_INFO_TYPE_UNION:
+             type = &PyGIUnionInfo_Type;
+             break;
+@@ -481,7 +478,6 @@
+                 case GI_INFO_TYPE_INVALID:
+                 case GI_INFO_TYPE_FUNCTION:
+                 case GI_INFO_TYPE_CONSTANT:
+-                case GI_INFO_TYPE_ERROR_DOMAIN:
+                 case GI_INFO_TYPE_VALUE:
+                 case GI_INFO_TYPE_SIGNAL:
+                 case GI_INFO_TYPE_PROPERTY:
+@@ -860,7 +856,6 @@
+                     case GI_INFO_TYPE_INVALID:
+                     case GI_INFO_TYPE_FUNCTION:
+                     case GI_INFO_TYPE_CONSTANT:
+-                    case GI_INFO_TYPE_ERROR_DOMAIN:
+                     case GI_INFO_TYPE_VALUE:
+                     case GI_INFO_TYPE_SIGNAL:
+                     case GI_INFO_TYPE_PROPERTY:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140114/6589ef48/attachment.html>


More information about the macports-changes mailing list