head 1.16; access; symbols pkgsrc-2023Q4:1.16.0.2 pkgsrc-2023Q4-base:1.16 pkgsrc-2023Q3:1.13.0.2 pkgsrc-2023Q3-base:1.13 pkgsrc-2023Q2:1.12.0.10 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.8 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.6 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.4 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.2 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.11.0.12 pkgsrc-2022Q1-base:1.11 pkgsrc-2021Q4:1.11.0.10 pkgsrc-2021Q4-base:1.11 pkgsrc-2021Q3:1.11.0.8 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.6 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.11.0.4 pkgsrc-2021Q1-base:1.11 pkgsrc-2020Q4:1.11.0.2 pkgsrc-2020Q4-base:1.11 pkgsrc-2020Q3:1.10.0.12 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.10 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.6 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.8 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.4 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.2 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.9.0.8 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.6 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.4 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.2 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.6.0.2 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.4.0.2 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.2.0.70 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.66 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.64 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.62 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.60 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.58 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.56 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.54 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.52 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.50 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.48 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.46 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.44 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.42 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.40 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.38 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.36 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.34 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.32 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.30 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.28 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.26 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.24 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.22 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.20 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.18 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.16 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.14 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.12 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.10 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.8 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.6 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.4 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.2 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.1.1.1.0.28 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.26 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.24 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.22 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.20 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.18 pkgsrc-2008Q1:1.1.1.1.0.16 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.14 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.12 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.10 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.8 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.6 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.4 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.2 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.16 date 2023.11.21.19.56.37; author markd; state Exp; branches; next 1.15; commitid cF2rf039VpgqXvNE; 1.15 date 2023.11.15.08.36.41; author wiz; state Exp; branches; next 1.14; commitid LHD91ZbYHarOoGME; 1.14 date 2023.11.14.16.08.43; author wiz; state Exp; branches; next 1.13; commitid CI4svuzBc5c0WAME; 1.13 date 2023.07.20.13.41.25; author ryoon; state Exp; branches; next 1.12; commitid kKxlYmo9hBDDSxxE; 1.12 date 2022.03.30.09.12.01; author wiz; state Exp; branches; next 1.11; commitid QVIlAYdYmHpNIdyD; 1.11 date 2020.12.07.14.42.00; author wiz; state Exp; branches; next 1.10; commitid mrA846VfjTUyUOyC; 1.10 date 2019.04.27.18.38.43; author wiz; state Exp; branches; next 1.9; commitid BTRQZm2wrQsFb1lB; 1.9 date 2018.04.30.06.11.55; author wiz; state Exp; branches; next 1.8; commitid OwTjgZXMWRARGqAA; 1.8 date 2018.04.29.21.06.13; author ryoon; state Exp; branches; next 1.7; commitid TPBvUZfUWKSFFnAA; 1.7 date 2018.04.27.14.37.09; author wiz; state Exp; branches; next 1.6; commitid Y5WCN7zuLUacA5AA; 1.6 date 2018.03.11.18.06.13; author wiz; state Exp; branches; next 1.5; commitid KrWtc67UCaEAf4uA; 1.5 date 2018.02.11.16.40.48; author wiz; state Exp; branches; next 1.4; commitid jlUCt5KG79F0GsqA; 1.4 date 2017.11.25.09.16.13; author wiz; state Exp; branches; next 1.3; commitid yJg7beNrNlbYIogA; 1.3 date 2017.11.24.16.02.21; author wiz; state Exp; branches; next 1.2; commitid lntixcCfA6K80jgA; 1.2 date 2009.06.14.17.59.26; author joerg; state Exp; branches; next 1.1; 1.1 date 2006.04.15.18.25.07; author minskim; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.04.15.18.25.07; author minskim; state Exp; branches; next ; desc @@ 1.16 log @py-cairo{,-shared}: split non python version specific files into a separate package (py-cairo-shared) and convert back to wheel.mk @ text @@@comment $NetBSD: PLIST,v 1.15 2023/11/15 08:36:41 wiz Exp $ ${PYSITELIB}/cairo/__init__.py ${PYSITELIB}/cairo/__init__.pyc ${PYSITELIB}/cairo/__init__.pyi ${PYSITELIB}/cairo/__init__.pyo ${PYSITELIB}/cairo/_cairo.so ${PYSITELIB}/cairo/include/py3cairo.h ${PYSITELIB}/cairo/py.typed ${PYSITELIB}/${WHEEL_INFODIR}/COPYING ${PYSITELIB}/${WHEEL_INFODIR}/COPYING-LGPL-2.1 ${PYSITELIB}/${WHEEL_INFODIR}/COPYING-MPL-1.1 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA ${PYSITELIB}/${WHEEL_INFODIR}/RECORD ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt @ 1.15 log @py-cairo: undo wheelification Some dependencies expect the pkg-config file. @ text @d1 1 a1 3 @@comment $NetBSD: PLIST,v 1.14 2023/11/14 16:08:43 wiz Exp $ include/pycairo/py3cairo.h lib/pkgconfig/py3cairo.pc d5 1 d9 7 a15 1 ${PYSITELIB}/pycairo-${PKGVERSION}.egg-info @ 1.14 log @py-cairo: convert to wheel.mk Bump PKGREVISION. @ text @d1 3 a3 1 @@comment $NetBSD$ a6 1 ${PYSITELIB}/cairo/__init__.pyo d10 1 a10 7 ${PYSITELIB}/${WHEEL_INFODIR}/COPYING ${PYSITELIB}/${WHEEL_INFODIR}/COPYING-LGPL-2.1 ${PYSITELIB}/${WHEEL_INFODIR}/COPYING-MPL-1.1 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA ${PYSITELIB}/${WHEEL_INFODIR}/RECORD ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt @ 1.13 log @py-cairo: Fix PLIST divergence meson-1.2.0 compiles all .py files. @ text @a1 2 include/pycairo/py3cairo.h lib/pkgconfig/py3cairo.pc d5 1 d9 7 a15 1 ${PYSITELIB}/pycairo-${PKGVERSION}.egg-info @ 1.12 log @py-cairo: update to 1.21.0. 1.21.0 - 2022-03-07 ------------------- * Require Python 3.7+ :pr:`250` * Require meson 0.53+ * Using `setup.py` directly to build/install pycairo is deprecated. Use meson instead. * `setup.py` now requires setuptools. Previously it was optional. * The complete API reference is now included in the typing stubs, so it can be consumed/shown by IDEs. :pr:`236` :pr:`252` @ text @d5 1 @ 1.11 log @py-cairo: mark with PYTHON_SELF_CONFLICT While here, simplify PLIST since this no longer supports python 2.x @ text @d1 3 a3 5 @@comment $NetBSD: PLIST,v 1.10 2019/04/27 18:38:43 wiz Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt a4 1 ${PYSITELIB}/cairo/__init__.pyc a5 1 ${PYSITELIB}/cairo/__init__.pyo d9 1 a9 2 include/pycairo/py3cairo.h lib/pkgconfig/py3cairo.pc @ 1.10 log @py-cairo: update to 1.18.1. 1.18.1 - 2019-04-19 ------------------- * meson: install .egg-info to platlib * meson: fix configure error with meson 0.50 re absolute paths :pr:`145` * PyPy: don't use PyOS_FSPath() with PyPy3.6, it's missing: https://bitbucket.org/pypy/pypy/issues/2961 * Docs fixes :pr:`134` (:user:`Matteo Italia `) @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.9 2018/04/30 06:11:55 wiz Exp $ d11 1 d13 2 a14 6 ${PLIST.py3x}${PYSITELIB}/cairo/include/py3cairo.h ${PLIST.py2x}${PYSITELIB}/cairo/include/pycairo.h ${PLIST.py3x}include/pycairo/py3cairo.h ${PLIST.py2x}include/pycairo/pycairo.h ${PLIST.py3x}lib/pkgconfig/py3cairo.pc ${PLIST.py2x}lib/pkgconfig/pycairo.pc @ 1.9 log @py-cairo: Switch to egg.mk and update PLIST for it. For build consistency @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.8 2018/04/29 21:06:13 ryoon Exp $ d12 1 d14 1 a14 1 ${PLIST.py3x}${PYSITELIB}/cairo/include/py3cairo.h d16 1 a16 1 ${PLIST.py3x}include/pycairo/py3cairo.h a17 1 ${PLIST.py3x}lib/pkgconfig/py3cairo.pc @ 1.8 log @Add some Python egg files to fix packaging @ text @d1 5 a5 5 @@comment $NetBSD: PLIST,v 1.7 2018/04/27 14:37:09 wiz Exp $ ${PYSITELIB}/${EGG_FILE}/PKG-INFO ${PYSITELIB}/${EGG_FILE}/SOURCES.txt ${PYSITELIB}/${EGG_FILE}/dependency_links.txt ${PYSITELIB}/${EGG_FILE}/top_level.txt @ 1.7 log @py-cairo: update to 1.17.0. 1.17.0 - 2018-04-15 ------------------- * :class:`cairo.Surface` and :class:`cairo.Device` can now be used as context managers. :bug:`103` * Fix a leak when a cairo error was raised. * Fix a leak when a mapped surface was GCed instead of unmapped. * Make it possible to use the C API with Python 3 outside of the compilation unit doing the import by defining ``PYCAIRO_NO_IMPORT``. :bug:`110` * Implement PEP 561 (added a py.typed marker) @ text @d1 5 a5 2 @@comment $NetBSD: PLIST,v 1.6 2018/03/11 18:06:13 wiz Exp $ ${PYSITELIB}/${EGG_FILE} @ 1.6 log @py-cairo: update to 1.16.3. 1.16.3 - 2018-02-27 ------------------- * Ship Python type annotation stubs. They are currently supported by mypy and PyCharm. :bug:`99` :pr:`101` @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2018/02/11 16:40:48 wiz Exp $ d8 1 @ 1.5 log @py-cairo: update to 1.16.2. 1.16.2 - 2018-02-10 ------------------- * setup.py: Some fixes for Debian pybuild quirks. :bug:`98` .. _v1.16.1: 1.16.1 - 2018-02-06 ------------------- * setup.py: correctly install pkgconfig into /usr/lib* again. To make JHBuild on Fedora work the following patch is needed: https://bugzilla.gnome.org/show_bug.cgi?id=793216 .. _v1.16.0: 1.16.0 - 2018-02-05 ------------------- * Add a :func:`get_include` function which returns the compiler include path needed for interfacing with the Pycairo C API :bug:`92` * Note for packagers: The default header installation path has changed, but a compat header is installed to the old location to prevent breakage in case anyone has hardcoded the old path instead of using pkg-config. Just in case anyone is wondering why there are two header files now. .. _v1.15.6: 1.15.6 - 2018-01-30 ------------------- * Experimental PyPy and PyPy3 support :bug:`90` .. _v1.15.5: 1.15.5 - 2018-01-29 ------------------- * Support Unicode paths under Windows with cairo 1.15.10+ :pr:`87` * Don't include the pkg-config file when building a wheel :bug:`83` @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2017/11/25 09:16:13 wiz Exp $ d5 1 @ 1.4 log @py-cairo: install pkgconfig in pkgsrc standard location Bump PKGREVISION. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2017/11/24 16:02:21 wiz Exp $ d7 2 @ 1.3 log @py-cairo: update to 1.15.4. 1.15.4 - 2017-11-08 ------------------- Fixes: * Fix some enum conversation errors with (unused) large and negative values. :pr:`81` Tests: * Fix a rare test error :pr:`80` (:user:`Sergei Trofimovich `) .. _v1.15.3: 1.15.3 - 2017-09-17 ------------------- Fixes: * setup.py: Install pkgconfig file into /usr/share/pkgconfig to work around JHBuild on Fedora not picking it up. * Fix tests on big endian machines. :bug:`75` * Support building with MSVC :pr:`72` (:user:`Chun-wei Fan `) Tests: * Test MSVC builds on appveyor .. _v1.15.2: 1.15.2 - 2017-09-03 ------------------- Fixes: * setup.py: Install pkgconfig file to the same library prefix that Python uses. (/usr/lib64 instead of /usr/lib under Fedora for example) :bug:`70` :pr:`71` (:user:`Sander Sweers `) .. _v1.15.1: 1.15.1 - 2017-08-19 ------------------- Fixes: * Improved support for Python filesystem paths including :class:`os.PathLike`. See :class:`pathlike` for details. * Various minor fixes Changes: * Expose :class:`cairo.Path` Tests: * Improved test coverage from ~70% to ~90% .. _v1.15.0: 1.15.0 - 2017-07-24 ------------------- New Features: * Add :meth:`Surface.map_to_image` and :meth:`Surface.unmap_image` :bug:`51` * Add :class:`RasterSourcePattern` :bug:`48` * Add :class:`Glyph` :bug:`53` * Add :class:`Rectangle` :bug:`54` * Add :class:`TextCluster` :bug:`61` * Add :meth:`ScaledFont.text_to_glyphs` and :meth:`ScaledFont.glyph_extents` * Add :meth:`Context.show_text_glyphs` * Add :class:`TextExtents` :bug:`62` Changes: * Pycairo instances wrapping the same underlying cairo object now hash and compare equally e.g. ``context.get_target() == context.get_target()`` * Functions which returned a cairo error with :attr:`Status.NO_MEMORY` no longer raise :exc:`python3:MemoryError`, but a subclass of :exc:`Error` and :exc:`python3:MemoryError`. Similarly errors with :attr:`Status.READ_ERROR` and :attr:`Status.WRITE_ERROR` no longer raise :exc:`python3:IOError`, but a subclass of :exc:`Error` and :exc:`python3:IOError`. :bug:`55` * Some functions which previously returned a tuple now return a tuple subclass like :class:`Rectangle`, :class:`Glyph`, :class:`TextCluster` and :class:`TextExtents` .. _v1.14.1: 1.14.1 - 2017-07-24 ------------------- Fixes: * Fix a crash with :meth:`Surface.get_device` :bug:`57` .. _v1.14.0: 1.14.0 - 2017-07-12 ------------------- General: * Requires at least cairo 1.13.1 (The snapshop in Ubuntu 14.04) Tests: * Optional `Hypothesis `__ tests. New Features: * Add :meth:`Surface.set_device_scale` and :meth:`Surface.get_device_scale`. :pr:`44` (:user:`Sander Sweers `) * Add :class:`Device` :pr:`45` * Add :meth:`Surface.get_device` :pr:`45` * Add :class:`ScriptDevice` and :class:`ScriptMode` :pr:`46` * Add :class:`ScriptSurface` :bug:`17` * Add :attr:`Status.JBIG2_GLOBAL_MISSING` * Add :meth:`Format.stride_for_width` * Add :class:`TextClusterFlags` and :class:`SurfaceObserverMode` * Add :meth:`Gradient.get_color_stops_rgba` * Add :class:`TeeSurface` * Add :class:`MeshPattern` .. _v1.13.4: 1.13.4 - 2017-07-12 ------------------- Fixes: * Fix a rare crash with :meth:`get_data() ` under Python 3 (1.13.3 regression). .. _v1.13.3: 1.13.3 - 2017-06-01 ------------------- Fixes: * Fix ImageSurface leaking in case :meth:`get_data() ` is used under Python 3. :bug:`41` Documentation: * Add Pillow to ImageSurface example. :pr:`40` (:user:`Stuart Axon `) * Describe Freetype-py intergration. :bug:`25` :pr:`43` (:user:`Hin-Tak Leung `) .. _v1.13.2: 1.13.2 - 2017-05-21 ------------------- Fixes: * Fix pip failing to install pycairo in some cases. :bug:`39` Testing: * Added continuous testing for Windows using MSYS2 and appveyor. :bug:`19` .. _v1.13.1: 1.13.1 - 2017-05-07 ------------------- Fixes: * setup.py install: Fix generated pkg-config file if ``--home`` or ``--user`` is specified. :bug:`34` * Fix a build error on macOS Sierra. :pr:`36` (:user:`Nicolas P. Rougier `) * examples: Fix snippet examples when .pyc files are present. :bug:`35` Documentation: * Add Pyglet integration example. :pr:`33` (:user:`Stuart Axon `) .. _v1.13.0: 1.13.0 - 2017-05-03 ------------------- New Features: * The buffer returned by :meth:`ImageSurface.get_data` under Python 2 now implements the character buffer interface to make it work with pygame.image.frombuffer(). :pr:`29` * All C enum types now have their own corresponding Python enum type: :class:`Antialias`, :class:`Content`, :class:`Extend`, :class:`FillRule`, :class:`Filter`, :class:`FontSlant`, :class:`FontWeight`, :class:`Format`, :class:`HintMetrics`, :class:`HintStyle`, :class:`LineCap`, :class:`LineJoin`, :class:`Operator`, :class:`PDFVersion`, :class:`PSLevel`, :class:`PathDataType`, :class:`RegionOverlap`, :class:`SVGVersion`, :class:`Status`, :class:`SubpixelOrder`. :bug:`26` All relevant constants are now an alias to attributes of those types e.g. :data:`ANTIALIAS_DEFAULT` is the same as :attr:`Antialias.DEFAULT`. All functions returning enum values now return instances of the new types e.g. :meth:`Context.get_antialias` returns a :class:`Antialias`. :attr:`Error.status` is now a :class:`Status`. * All included examples now work with Python 2 & 3 * All included examples using GTK+ have been ported to GTK+ 3/PyGObject 3 Fixes: * Fix the signature of the :class:`ImageSurface` buffer interface for Python 2 (int -> Py_ssize_t) * setup.py: Ensure "-fno-strict-aliasing" is used with Python 2. Testing: * Added travis-ci tests for flake8 and sphinx. :pr:`30`, :pr:`32` * The test suite now has optional tests for numpy and pygame integration. .. _v1.12.0: 1.12.0 - 2017-04-18 ------------------- General: * Require cairo 1.12.0 * Use C90 and enforce it on travis-ci. :bug:`5`, :fdobug:`22940` Constants: * Add various new cairo.OPERATOR_*, cairo.ANTIALIAS_* and cairo.FORMAT_* constants. :bug:`1` * Add :data:`HAS_MIME_SURFACE` and cairo.MIME_TYPE_*. :bug:`7`, :fdobug:`58771` * Add cairo.PDF_VERSION_*. :pr:`16` * Add cairo.SVG_VERSION_* :exc:`Error`: * Add a :data:`Error.status` attribute exposing cairo.STATUS_* * Add :exc:`CairoError` alias for :exc:`Error` for cairocffi compatibility :class:`Matrix`: * Expose matrix components as read/write properties. e.g. :data:`Matrix.xx` * Fix type checking of the multiplication operator under Python 3. :bug:`8`, :fdobug:`89162` (Lawrence D'Oliveiro) :class:`Surface`: * Add :meth:`Surface.set_mime_data`. :bug:`7`, :fdobug:`58771` * Add :meth:`Surface.get_mime_data`. :bug:`7`, :fdobug:`58771` * Add :meth:`Surface.supports_mime_type`. :bug:`7`, :fdobug:`58771` * Add :meth:`Surface.create_for_rectangle`. :pr:`13` * Add :meth:`Surface.create_similar_image`. :pr:`15` * Add :meth:`Surface.has_show_text_glyphs` * Fix crash when the surface wrapper gets deallocated before the surface object. :bug:`11` :class:`Context`: * Add :meth:`Context.in_clip`. :pr:`14` :class:`PDFSurface`: * Add :meth:`PDFSurface.restrict_to_version`. :pr:`16` * Add :meth:`PDFSurface.get_versions`. :pr:`16` * Add :meth:`PDFSurface.version_to_string`. :pr:`16` :class:`SVGSurface`: * Add :meth:`SVGSurface.restrict_to_version` * Add :meth:`SVGSurface.get_versions` * Add :meth:`SVGSurface.version_to_string` :class:`XCBSurface`: * Add :meth:`XCBSurface.set_size` :class:`PSSurface`: * Add :meth:`PSSurface.get_levels` * Add :meth:`PSSurface.level_to_string` :class:`Pattern`: * Add :meth:`Pattern.set_filter` * Add :meth:`Pattern.get_filter` :class:`RecordingSurface`: * Add :meth:`RecordingSurface.get_extents` :class:`FontOptions`: * Implement ``__eq__`` and ``__ne__`` * Add :meth:`FontOptions.copy` * Add :meth:`FontOptions.hash` * Add :meth:`FontOptions.equal` * Add :meth:`FontOptions.merge` :class:`ScaledFont`: * Add :meth:`ScaledFont.get_ctm` * Add :meth:`ScaledFont.get_font_matrix` * Add :meth:`ScaledFont.get_font_options` .. _v1.11.1: 1.11.1 - 2017-04-12 ------------------- This release fixes an ABI breakage. I missed that the original pycairo master had already broken ABI compared to 1.10.0. .. _v1.11.0: 1.11.0 - 2017-04-09 ------------------- This version is based on the Python 2 version of pycairo 1.10.0 and is API/ABI compatible with both py2cairo 1.10.0 and py3cairo 1.10.0. General Changes: * Requires cairo 1.10.2+ * Switch to semantic versioning * Switch build system to distutils/setup.py (xpyb integration can be enabled with passing ``--enable-xpyb`` to setup.py build) * Moved to GitHub: https://github.com/pygobject/pycairo New Features: * Python 3 support (API/ABI compatible with py3cairo 1.10.0) including support for :exc:`cairo.Error`, :meth:`cairo.ImageSurface.get_data` and :meth:`cairo.ImageSurface.create_for_data`, which were missing in py3cairo. * :class:`cairo.RecordingSurface` (:fdobug:`36854`, `Torsten Landschoff `__) * :class:`cairo.Region`, :class:`cairo.RectangleInt` and cairo.REGION_OVERLAP_* (:fdobug:`44336`, `Bug Fly `__) Bug Fixes: * Fix crash when read()/write() methods of file objects passed to pycairo raise exceptions. * Fix possible value truncation of handles passed to Win32Surface and Win32PrintingSurface on 64bit Windows. :fdobug:`57493` @ text @d1 1 a1 1 @@comment $NetBSD$ d9 2 a10 2 ${PLIST.py2x}share/pkgconfig/pycairo.pc ${PLIST.py3x}share/pkgconfig/py3cairo.pc @ 1.2 log @Remove @@dirrm entries from PLISTs @ text @d1 2 a2 3 @@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/15 18:25:07 minskim Exp $ include/pycairo/pycairo.h lib/pkgconfig/pycairo.pc d6 5 a10 1 ${PYSITELIB}/cairo/_cairo.la @ 1.1 log @Initial revision @ text @d1 1 a1 1 @@comment $NetBSD$ a7 2 @@dirrm ${PYSITELIB}/cairo @@dirrm include/pycairo @ 1.1.1.1 log @Import py-cairo from pkgsrc-wip. Packaged by Christoph Leuzinger in PR pkg/33256. 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. @ text @@