pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/py-cairo3 Import py33-cairo-1.10.0 as graphic...
details: https://anonhg.NetBSD.org/pkgsrc/rev/18ec44c04bb6
branches: trunk
changeset: 629546:18ec44c04bb6
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jan 23 11:11:09 2014 +0000
description:
Import py33-cairo-1.10.0 as graphics/py-cairo3.
Cairo is a 2D graphics library with support for multiple output
devices. Currently supported output targets include the X Window
System, win32, and image buffers. Experimental backends include OpenGL
(through glitz), Quartz, XCB, PostScript and PDF file output.
This package contains the Python bindings for Cairo.
diffstat:
graphics/py-cairo3/DESCR | 6 +++++
graphics/py-cairo3/Makefile | 43 ++++++++++++++++++++++++++++++++++++++++
graphics/py-cairo3/PLIST | 7 ++++++
graphics/py-cairo3/buildlink3.mk | 16 ++++++++++++++
graphics/py-cairo3/distinfo | 5 ++++
5 files changed, 77 insertions(+), 0 deletions(-)
diffs (97 lines):
diff -r 7129b7b90af9 -r 18ec44c04bb6 graphics/py-cairo3/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-cairo3/DESCR Thu Jan 23 11:11:09 2014 +0000
@@ -0,0 +1,6 @@
+Cairo is a 2D graphics library with support for multiple output
+devices. Currently supported output targets include the X Window
+System, win32, and image buffers. Experimental backends include OpenGL
+(through glitz), Quartz, XCB, PostScript and PDF file output.
+
+This package contains the Python bindings for Cairo.
diff -r 7129b7b90af9 -r 18ec44c04bb6 graphics/py-cairo3/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-cairo3/Makefile Thu Jan 23 11:11:09 2014 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1 2014/01/23 11:11:09 wiz Exp $
+
+DISTNAME= pycairo-1.10.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= graphics
+MASTER_SITES= http://cairographics.org/releases/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= leuzi%trash.net@localhost
+HOMEPAGE= http://cairographics.org/pycairo/
+COMMENT= Python bindings for cairo
+LICENSE= gnu-lgpl-v2.1 OR mpl-1.1
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= aclocal automake pkg-config
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
+
+PKGCONFIG_OVERRIDE+= py3cairo.pc.in
+PYTHON_SELF_CONFLICT= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 26 27
+PY_PATCHPLIST= yes
+# waf is not smart enough for this as of 1.10.0
+PY_PEP3147= no
+
+do-configure:
+ cd ${WRKSRC:Q} && \
+ ${SETENV} ${CONFIGURE_ENV} ${PYTHONBIN} ./waf configure \
+ --destdir=${DESTDIR} --prefix=${PREFIX} \
+ --mandir=${PREFIX}/${PKGMANDIR}
+
+do-build:
+ cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./waf build
+
+do-install:
+ cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${PYTHONBIN} ./waf install
+
+.include "../../lang/python/extension.mk"
+BUILDLINK_API_DEPENDS.cairo+= cairo>=1.10
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7129b7b90af9 -r 18ec44c04bb6 graphics/py-cairo3/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-cairo3/PLIST Thu Jan 23 11:11:09 2014 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/23 11:11:09 wiz Exp $
+include/pycairo/py3cairo.h
+lib/pkgconfig/py3cairo.pc
+${PYSITELIB}/cairo/__init__.py
+${PYSITELIB}/cairo/__init__.pyc
+${PYSITELIB}/cairo/__init__.pyo
+${PYSITELIB}/cairo/_cairo.so
diff -r 7129b7b90af9 -r 18ec44c04bb6 graphics/py-cairo3/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-cairo3/buildlink3.mk Thu Jan 23 11:11:09 2014 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/01/23 11:11:09 wiz Exp $
+
+BUILDLINK_TREE+= py-cairo
+
+.if !defined(PY_CAIRO_BUILDLINK3_MK)
+PY_CAIRO_BUILDLINK3_MK:=
+
+. include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.py-cairo+= ${PYPKGPREFIX}-cairo>=1.10.0
+BUILDLINK_PKGSRCDIR.py-cairo?= ../../graphics/py-cairo3
+
+.include "../../graphics/cairo/buildlink3.mk"
+.endif # PY_CAIRO_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-cairo
diff -r 7129b7b90af9 -r 18ec44c04bb6 graphics/py-cairo3/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-cairo3/distinfo Thu Jan 23 11:11:09 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/23 11:11:09 wiz Exp $
+
+SHA1 (pycairo-1.10.0.tar.bz2) = b4283aa1cc9aafd12fd72ad371303a486da1d014
+RMD160 (pycairo-1.10.0.tar.bz2) = 7d1c1c05113e5bbad32dbe96c65c918b170cac33
+Size (pycairo-1.10.0.tar.bz2) = 246556 bytes
Home |
Main Index |
Thread Index |
Old Index