pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-cairocffi: Import from MAIN. Add xcffib support.
Module Name: pkgsrc-wip
Committed By: Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By: nee
Date: Sat May 19 15:33:17 2018 +0100
Changeset: 772b2b706c5026af0b5c369c8cc160451d1d432e
Added Files:
py-cairocffi/DESCR
py-cairocffi/Makefile
py-cairocffi/PLIST
py-cairocffi/distinfo
Log Message:
py-cairocffi: Import from MAIN. Add xcffib support.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=772b2b706c5026af0b5c369c8cc160451d1d432e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-cairocffi/DESCR | 7 +++++++
py-cairocffi/Makefile | 36 ++++++++++++++++++++++++++++++++++
py-cairocffi/PLIST | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
py-cairocffi/distinfo | 7 +++++++
4 files changed, 104 insertions(+)
diffs:
diff --git a/py-cairocffi/DESCR b/py-cairocffi/DESCR
new file mode 100644
index 0000000000..80ef4b46d5
--- /dev/null
+++ b/py-cairocffi/DESCR
@@ -0,0 +1,7 @@
+cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of Python
+bindings and object-oriented API for Cairo. Cairo is a 2D vector graphics
+library with support for multiple backends including image buffers, PNG,
+PostScript, PDF, and SVG file output.
+
+Additionally, the cairocffi.pixbuf module uses GDK-PixBuf to decode various
+image formats for use in Cairo.
diff --git a/py-cairocffi/Makefile b/py-cairocffi/Makefile
new file mode 100644
index 0000000000..da08e6935c
--- /dev/null
+++ b/py-cairocffi/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.12 2018/03/12 11:16:48 wiz Exp $
+
+DISTNAME= cairocffi-0.8.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
+CATEGORIES= graphics python
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/cairocffi/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/SimonSapin/cairocffi
+COMMENT= CFFI-based Cairo bindings for Python
+LICENSE= modified-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-cffi>=0.6:../../devel/py-cffi
+DEPENDS+= ${PYPKGPREFIX}-xcffib-[0-9]*:../../wip/py-xcffib # XXX
+
+USE_LANGUAGES= # none
+
+.include "../../mk/bsd.prefs.mk"
+.if ${_OPSYS_SHLIB_TYPE} == "dylib"
+SOEXT= dylib
+.else
+SOEXT= so
+.endif
+
+SUBST_CLASSES+= dllpath
+SUBST_STAGE.dllpath= pre-configure
+SUBST_MESSAGE.dllpath= Fix libcairo path.
+SUBST_FILES.dllpath= cairocffi/__init__.py
+SUBST_VARS.dllpath= PREFIX SOEXT
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-cairocffi/PLIST b/py-cairocffi/PLIST
new file mode 100644
index 0000000000..a6f93e062a
--- /dev/null
+++ b/py-cairocffi/PLIST
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.3 2017/07/16 09:29:58 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cairocffi/__init__.py
+${PYSITELIB}/cairocffi/__init__.pyc
+${PYSITELIB}/cairocffi/__init__.pyo
+${PYSITELIB}/cairocffi/_ffi.py
+${PYSITELIB}/cairocffi/_ffi.pyc
+${PYSITELIB}/cairocffi/_ffi.pyo
+${PYSITELIB}/cairocffi/_ffi_pixbuf.py
+${PYSITELIB}/cairocffi/_ffi_pixbuf.pyc
+${PYSITELIB}/cairocffi/_ffi_pixbuf.pyo
+${PYSITELIB}/cairocffi/compat.py
+${PYSITELIB}/cairocffi/compat.pyc
+${PYSITELIB}/cairocffi/compat.pyo
+${PYSITELIB}/cairocffi/constants.py
+${PYSITELIB}/cairocffi/constants.pyc
+${PYSITELIB}/cairocffi/constants.pyo
+${PYSITELIB}/cairocffi/context.py
+${PYSITELIB}/cairocffi/context.pyc
+${PYSITELIB}/cairocffi/context.pyo
+${PYSITELIB}/cairocffi/ffi_build.py
+${PYSITELIB}/cairocffi/ffi_build.pyc
+${PYSITELIB}/cairocffi/ffi_build.pyo
+${PYSITELIB}/cairocffi/fonts.py
+${PYSITELIB}/cairocffi/fonts.pyc
+${PYSITELIB}/cairocffi/fonts.pyo
+${PYSITELIB}/cairocffi/matrix.py
+${PYSITELIB}/cairocffi/matrix.pyc
+${PYSITELIB}/cairocffi/matrix.pyo
+${PYSITELIB}/cairocffi/patterns.py
+${PYSITELIB}/cairocffi/patterns.pyc
+${PYSITELIB}/cairocffi/patterns.pyo
+${PYSITELIB}/cairocffi/pixbuf.py
+${PYSITELIB}/cairocffi/pixbuf.pyc
+${PYSITELIB}/cairocffi/pixbuf.pyo
+${PYSITELIB}/cairocffi/surfaces.py
+${PYSITELIB}/cairocffi/surfaces.pyc
+${PYSITELIB}/cairocffi/surfaces.pyo
+${PYSITELIB}/cairocffi/test_cairo.py
+${PYSITELIB}/cairocffi/test_cairo.pyc
+${PYSITELIB}/cairocffi/test_cairo.pyo
+${PYSITELIB}/cairocffi/test_pixbuf.py
+${PYSITELIB}/cairocffi/test_pixbuf.pyc
+${PYSITELIB}/cairocffi/test_pixbuf.pyo
+${PYSITELIB}/cairocffi/test_xcb.py
+${PYSITELIB}/cairocffi/test_xcb.pyc
+${PYSITELIB}/cairocffi/test_xcb.pyo
+${PYSITELIB}/cairocffi/xcb.py
+${PYSITELIB}/cairocffi/xcb.pyc
+${PYSITELIB}/cairocffi/xcb.pyo
diff --git a/py-cairocffi/distinfo b/py-cairocffi/distinfo
new file mode 100644
index 0000000000..136e18f025
--- /dev/null
+++ b/py-cairocffi/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.5 2017/07/16 09:29:58 adam Exp $
+
+SHA1 (cairocffi-0.8.0.tar.gz) = 5d2a983b3a60dfd974c5c736338cd0ffacaae8cb
+RMD160 (cairocffi-0.8.0.tar.gz) = ef591d28ca183e829b446b77bcd79069e3b00554
+SHA512 (cairocffi-0.8.0.tar.gz) = 70179e05ca4a4efeaa39ade1ee1a96d280d198ecff5ae8c8fc634c24d8922ea6a3e1eb6cf5f55c5fc9d3f5b2fc3131a53051690eb86712762d8b6400df8a630a
+Size (cairocffi-0.8.0.tar.gz) = 79217 bytes
+SHA1 (patch-cairocffi_____init____.py) = 6a9c75106a1041c9f81b73ec0d2e9062382130a2
Home |
Main Index |
Thread Index |
Old Index