[csw-devel] SF.net SVN: gar:[7317] csw/mgar/pkg/pygobject/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Nov 17 11:37:08 CET 2009


Revision: 7317
          http://gar.svn.sourceforge.net/gar/?rev=7317&view=rev
Author:   wahwah
Date:     2009-11-17 10:37:07 +0000 (Tue, 17 Nov 2009)

Log Message:
-----------
pygobject: Upgrade to 0.20.0

Modified Paths:
--------------
    csw/mgar/pkg/pygobject/trunk/Makefile
    csw/mgar/pkg/pygobject/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/pygobject/trunk/files/0001-forcing-lglib-2.0.patch

Modified: csw/mgar/pkg/pygobject/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pygobject/trunk/Makefile	2009-11-17 01:25:48 UTC (rev 7316)
+++ csw/mgar/pkg/pygobject/trunk/Makefile	2009-11-17 10:37:07 UTC (rev 7317)
@@ -1,13 +1,14 @@
 GARNAME = pygobject
-GARVERSION = 2.18.0
+GARVERSION = 2.20.0
 CATEGORIES = lang
+RELVER = $(shell echo $(GARVERSION) | gsed -e 's/\.[0-9]\+$$//')
 
 DESCRIPTION = pygobject support for Python
 define BLURB
   This is a Python language binding for gobject.
 endef
 
-MASTER_SITES = http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.18/
+MASTER_SITES = http://ftp.gnome.org/pub/GNOME/sources/$(GARNAME)/$(RELVER)/
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.bz2
 
 STRIP_LIBTOOL = 1
@@ -17,25 +18,18 @@
 
 CATALOGNAME_CSWpygobject = pygobject
 SPKG_DESC_CSWpygobject = pygobject support for Python
+PYCOMPILE = 1
 
-## patch to change zero sized struct to zero-sized sub-object
-#PATCHFILES = pygobject.diff
+PATCHFILES = 0001-forcing-lglib-2.0.patch
 
-# We define upstream file regex so we can be notifed of 
-# new upstream software release
-UFILES_REGEX = (\d+(?:\.\d+)*)
+EXTRA_MERGE_EXCLUDE_FILES += .*\.egg-info.* .*\.pyo .*\.pyc
 
-EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc
-PROTOTYPE_FILTER = awk '$$$$3 ~ /.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
-SPKG_CLASSES = none cswpycompile
-REQUIRED_PKGS += CSWcswclassutils
-
+UFILES_REGEX = (\d+(?:\.\d+)*).tar.bz2
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --without-ffi
 
 ## Tests require gtk, but gtk requries gobject
 TEST_TARGET = check
-TEST_SCRIPTS = 
+TEST_SCRIPTS =
 
 include gar/category.mk
-

Modified: csw/mgar/pkg/pygobject/trunk/checksums
===================================================================
--- csw/mgar/pkg/pygobject/trunk/checksums	2009-11-17 01:25:48 UTC (rev 7316)
+++ csw/mgar/pkg/pygobject/trunk/checksums	2009-11-17 10:37:07 UTC (rev 7317)
@@ -1,2 +1,2 @@
-522b813219a6ad14b85b25d953b08727  download/pygobject-2.18.0.tar.bz2
-58a4ba1e53516251eb4c69fae6372208  download/pygobject.diff
+bc2cdac34e1084f4d72eb2bf762e700c  0001-forcing-lglib-2.0.patch
+10e1fb79be3d698476a28b1e1b0c5640  pygobject-2.20.0.tar.bz2

Added: csw/mgar/pkg/pygobject/trunk/files/0001-forcing-lglib-2.0.patch
===================================================================
--- csw/mgar/pkg/pygobject/trunk/files/0001-forcing-lglib-2.0.patch	                        (rev 0)
+++ csw/mgar/pkg/pygobject/trunk/files/0001-forcing-lglib-2.0.patch	2009-11-17 10:37:07 UTC (rev 7317)
@@ -0,0 +1,25 @@
+From bdf70ab64e91f0c1ad058447ff843de9be055662 Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?Maciej=20Blizi=C5=84ski?= <blizinski at google.com>
+Date: Sun, 18 Oct 2009 13:16:29 +0100
+Subject: [PATCH] forcing -lglib-2.0
+
+---
+ gobject/Makefile.am |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/gobject/Makefile.am b/gobject/Makefile.am
+index fa0ea20..112e750 100644
+--- a/gobject/Makefile.am
++++ b/gobject/Makefile.am
+@@ -26,7 +26,7 @@ constants.py: generate-constants$(EXEEXT) constants.py.in
+ 	$(top_builddir)/gobject/generate-constants$(EXEEXT) >> constants.py
+ 	chmod 444 constants.py
+ 
+-generate_constants_CFLAGS = $(GLIB_CFLAGS) $(PYTHON_INCLUDES)
++generate_constants_CFLAGS = $(GLIB_CFLAGS) $(PYTHON_INCLUDES) -lglib-2.0
+ 
+ noinst_PROGRAMS = generate-constants
+ CLEANFILES = constants.py
+-- 
+1.6.3.2
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list