SF.net SVN: gar:[22948] csw/mgar/pkg/lang-python/pycairo/trunk

cgrzemba at users.sourceforge.net cgrzemba at users.sourceforge.net
Wed Feb 5 17:10:28 CET 2014


Revision: 22948
          http://sourceforge.net/p/gar/code/22948
Author:   cgrzemba
Date:     2014-02-05 16:10:27 +0000 (Wed, 05 Feb 2014)
Log Message:
-----------
lang-python/pycairo/trunk: update 1.10.0 do not package, because license not found

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/pycairo/trunk/Makefile
    csw/mgar/pkg/lang-python/pycairo/trunk/checksums

Modified: csw/mgar/pkg/lang-python/pycairo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pycairo/trunk/Makefile	2014-02-05 16:06:52 UTC (rev 22947)
+++ csw/mgar/pkg/lang-python/pycairo/trunk/Makefile	2014-02-05 16:10:27 UTC (rev 22948)
@@ -1,22 +1,21 @@
-NAME      = pycairo
-VERSION   = 1.8.10
-CATEGORIES   = lib
+NAME      = py2cairo
+VERSION   = 1.10.0
 GARTYPE = v2
+CATEGORIES   = python
 
-DESCRIPTION  = Python binding for Cairo library
+DESCRIPTION  = Python binding for Cairo library for Python2
 define BLURB
   This package contains the pycairo Python module which implements
   a binding the the cairo Library.
 endef
 
 MASTER_SITES  = http://www.cairographics.org/releases/
-DISTFILES     = py2cairo-$(VERSION).tar.gz
+# DISTFILES     = pycairo-$(VERSION).tar.bz2 
+DISTFILES     = $(DISTNAME).tar.bz2
 
 PACKAGING_PLATFORMS = solaris10-i386 solaris10-sparc
 
-PYCOMPILE = 1 
 # EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc 
-PROTOTYPE_FILTER = awk '$$$$3 ~ /.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
 
 PACKAGES = CSWpy-cairo
 SPKG_DESC_CSWpy-cairo = $(DESCRIPTION); main
@@ -24,16 +23,33 @@
 RUNTIME_DEP_PKGS_CSWpy-cairo += CSWpython
 RUNTIME_DEP_PKGS_CSWpy-cairo += CSWlibcairo2
 
-# We define upstream file regex so we can be notifed of 
-# new upstream software release
-UFILES_REGEX = py2cairo-(\d+(?:\.\d+)*).tar.gz
-
 CAIRO_LIBS = -L/opt/csw/lib -R/opt/csw/lib/\$$ISALIST -lcairo
 CAIRO_CFLAGS = -I/opt/csw/include -I/opt/csw/include/cairo
 EXTRA_CONFIGURE_EXPORTS += CAIRO_LIBS CAIRO_CFLAGS
 
+CONFIGURE_SCRIPTS = custom
+BUILD_SCRIPTS = custom
+SKIPTEST = 1
+INSTALL_SCRIPTS = custom
+
 CONFIGURE_ARGS = $(DIRPATHS)
 
 include gar/category.mk
 
+configure-custom:
+	cd $(WORKSRC) && ./waf configure --prefix=$(prefix)
+	$(MAKECOOKIE)
 
+build-custom:
+	cd $(WORKSRC) && ./waf build
+	$(MAKECOOKIE)
+
+install-custom:
+	cd $(WORKSRC) && DESTDIR=$(DESTDIR) ./waf install
+	ginstall -d $(DESTDIR)$(docdir)/$(NAME)
+	ginstall -d $(DESTDIR)$(docdir)/py_cairo
+	ginstall -m 644 $(WORKSRC)/COPYING  $(DESTDIR)$(docdir)/$(NAME)/license
+	ginstall -m 644 $(WORKSRC)/COPYING  $(DESTDIR)$(docdir)/py_cairo/
+	ginstall -m 644 $(WORKSRC)/COPYING-LGPL-2.1  $(DESTDIR)$(docdir)/$(NAME)
+	ginstall -m 644 $(WORKSRC)/COPYING-MPL-1.1  $(DESTDIR)$(docdir)/$(NAME)
+	$(MAKECOOKIE)

Modified: csw/mgar/pkg/lang-python/pycairo/trunk/checksums
===================================================================
--- csw/mgar/pkg/lang-python/pycairo/trunk/checksums	2014-02-05 16:06:52 UTC (rev 22947)
+++ csw/mgar/pkg/lang-python/pycairo/trunk/checksums	2014-02-05 16:10:27 UTC (rev 22948)
@@ -1 +1 @@
-87421a6a70304120555ba7ba238f3dc3  py2cairo-1.8.10.tar.gz
+20337132c4ab06c1146ad384d55372c5  py2cairo-1.10.0.tar.bz2

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