pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-cairocffi Version 0.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76859a639440
branches:  trunk
changeset: 365409:76859a639440
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 16 09:29:58 2017 +0000

description:
Version 0.8.0
* Follow semver
* Avoid implicit relative import
* Use utf-8 instead of utf8 in headers
* Keep cairo library loaded until all relevant objects are freed
* Add cairo_quartz_* functions for MacOS
* Use the default ReadTheDocs theme
* Fix implicit casts

diffstat:

 graphics/py-cairocffi/Makefile |  21 ++++++++++++++++-----
 graphics/py-cairocffi/PLIST    |  11 ++++++++++-
 graphics/py-cairocffi/distinfo |  11 ++++++-----
 3 files changed, 32 insertions(+), 11 deletions(-)

diffs (89 lines):

diff -r da7384028781 -r 76859a639440 graphics/py-cairocffi/Makefile
--- a/graphics/py-cairocffi/Makefile    Sun Jul 16 09:25:34 2017 +0000
+++ b/graphics/py-cairocffi/Makefile    Sun Jul 16 09:29:58 2017 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2017/04/20 18:07:35 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2017/07/16 09:29:58 adam Exp $
 
-DISTNAME=      cairocffi-0.6
+DISTNAME=      cairocffi-0.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   5
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cairocffi/}
 
@@ -12,12 +11,24 @@
 LICENSE=       modified-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=0.6:../../devel/py-cffi
-DEPENDS+=      ${PYPKGPREFIX}-cparser-[0-9]*:../../devel/py-cparser
 
 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 "../../graphics/cairo/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r da7384028781 -r 76859a639440 graphics/py-cairocffi/PLIST
--- a/graphics/py-cairocffi/PLIST       Sun Jul 16 09:25:34 2017 +0000
+++ b/graphics/py-cairocffi/PLIST       Sun Jul 16 09:29:58 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2014/10/05 20:24:57 rodent Exp $
+@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
@@ -7,6 +7,12 @@
 ${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
@@ -16,6 +22,9 @@
 ${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
diff -r da7384028781 -r 76859a639440 graphics/py-cairocffi/distinfo
--- a/graphics/py-cairocffi/distinfo    Sun Jul 16 09:25:34 2017 +0000
+++ b/graphics/py-cairocffi/distinfo    Sun Jul 16 09:29:58 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 21:34:16 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/07/16 09:29:58 adam Exp $
 
-SHA1 (cairocffi-0.6.tar.gz) = 5f712af80ee000ee9a01724a93b97683b33999a4
-RMD160 (cairocffi-0.6.tar.gz) = 45b796aea561edd3c198409d9583e62aa57c5099
-SHA512 (cairocffi-0.6.tar.gz) = c27b443261db4c68e73d3da55a640ac2689dcefda6aa384d7c3e23acdc705f79e07524f8df9ecbe379cfd9f8855d50ad7dfe7392ad7a36d5a63d0124e483e5ec
-Size (cairocffi-0.6.tar.gz) = 75183 bytes
+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