Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2013 15:03:50 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329049 - in head/graphics/py-cairo: . files
Message-ID:  <201310021503.r92F3ojb096440@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Wed Oct  2 15:03:50 2013
New Revision: 329049
URL: http://svnweb.freebsd.org/changeset/ports/329049

Log:
  Update to 1.10.0.

Deleted:
  head/graphics/py-cairo/files/patch-py-compile
Modified:
  head/graphics/py-cairo/Makefile
  head/graphics/py-cairo/distinfo
  head/graphics/py-cairo/pkg-descr
  head/graphics/py-cairo/pkg-plist

Modified: head/graphics/py-cairo/Makefile
==============================================================================
--- head/graphics/py-cairo/Makefile	Wed Oct  2 14:15:52 2013	(r329048)
+++ head/graphics/py-cairo/Makefile	Wed Oct  2 15:03:50 2013	(r329049)
@@ -3,8 +3,7 @@
 #	$MCom: ports/graphics/py-cairo/Makefile,v 1.28 2010/11/15 14:12:13 kwm Exp $
 
 PORTNAME=	cairo
-PORTVERSION=	1.8.10
-PORTREVISION=	1
+PORTVERSION=	1.10.0
 CATEGORIES=	graphics python
 MASTER_SITES=	http://cairographics.org/releases/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,20 +12,26 @@ DISTNAME=	py2${PORTNAME}-${PORTVERSION}
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Python 2 bindings for Cairo
 
-WRKSRC=		${WRKDIR}/py${PORTNAME}-${PORTVERSION}
+USE_BZIP2=	yes
 USE_PYTHON=	2
-USES=		gmake pathfix pkgconfig shebangfix
+USES=		pkgconfig shebangfix
 USE_GNOME=	cairo
-GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ENV=	PYTHON=${LOCALBASE}/bin/python2 \
+		PREFIX=${STAGEDIR}${PREFIX}
 
 python_OLD_CMD?=	/usr/bin/env python
 python_CMD?=		${LOCALBASE}/bin/python2
-SHEBANG_FILES=		examples/*.py examples/*/*.py setup.py test/*.py
+SHEBANG_FILES=		examples/*.py examples/*/*.py waf test/*.py
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|SUBDIRS = cairo examples test|SUBDIRS = cairo examples|g' \
-		${WRKSRC}/Makefile.in
+do-configure:
+	@cd ${WRKSRC} && ${ENV} ${CONFIGURE_ENV} ./waf configure
+
+do-build:
+	@cd ${WRKSRC} && ./waf
+
+do-install:
+	@cd ${WRKSRC} && ./waf install
 
 .include <bsd.port.mk>

Modified: head/graphics/py-cairo/distinfo
==============================================================================
--- head/graphics/py-cairo/distinfo	Wed Oct  2 14:15:52 2013	(r329048)
+++ head/graphics/py-cairo/distinfo	Wed Oct  2 15:03:50 2013	(r329049)
@@ -1,2 +1,2 @@
-SHA256 (py2cairo-1.8.10.tar.gz) = b15f71019e42e06d86f7e8fe5587f07c3de5a59a6c3a071b25fe100796dbcd56
-SIZE (py2cairo-1.8.10.tar.gz) = 588459
+SHA256 (py2cairo-1.10.0.tar.bz2) = d30439f06c2ec1a39e27464c6c828b6eface3b22ee17b2de05dc409e429a7431
+SIZE (py2cairo-1.10.0.tar.bz2) = 402070

Modified: head/graphics/py-cairo/pkg-descr
==============================================================================
--- head/graphics/py-cairo/pkg-descr	Wed Oct  2 14:15:52 2013	(r329048)
+++ head/graphics/py-cairo/pkg-descr	Wed Oct  2 15:03:50 2013	(r329049)
@@ -1,3 +1,3 @@
-Python bindings for Cairo   
-                            
+Python 2 bindings for Cairo.
+
 WWW: http://cairographics.org/

Modified: head/graphics/py-cairo/pkg-plist
==============================================================================
--- head/graphics/py-cairo/pkg-plist	Wed Oct  2 14:15:52 2013	(r329048)
+++ head/graphics/py-cairo/pkg-plist	Wed Oct  2 15:03:50 2013	(r329049)
@@ -2,8 +2,7 @@ include/pycairo/pycairo.h
 %%PYTHON_SITELIBDIR%%/cairo/__init__.py
 %%PYTHON_SITELIBDIR%%/cairo/__init__.pyc
 %%PYTHON_SITELIBDIR%%/cairo/__init__.pyo
-%%PYTHON_SITELIBDIR%%/cairo/_cairo.la
 %%PYTHON_SITELIBDIR%%/cairo/_cairo.so
 libdata/pkgconfig/pycairo.pc
 @dirrm %%PYTHON_SITELIBDIR%%/cairo
-@dirrm include/pycairo
+@dirrmtry include/pycairo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310021503.r92F3ojb096440>