Commit Graph

31 Commits

Author SHA256 Message Date
Ana Guerrero
cf08ed4a51 Accepting request 1160840 from devel:languages:python
- update to 1.26.0:
  * Bump minimum required meson version from 0.56.0 to 0.64.0
  * Various meson related cleanups :pr:`350`
  * Fix header file being installed to the wrong location with
    meson on some systems :pr:`350`
  * Adds a new ``wheel`` meson build option as preparation for
    meson-python support :pr:`350` :pr:`345`
  * Update dependencies (libpng, pixman, zlib) of the Windows
    wheels :pr:`358`
  * Various maintenance related updates :pr:`360` :pr:`359`
    :pr:`361` :pr:`362`

- Update to version 1.23.0
    - fdo#19221: restore cairo.Matrix '*' operator to the way it
  A new example to demonstrate pattern masks.

OBS-URL: https://build.opensuse.org/request/show/1160840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=14
2024-03-25 20:06:42 +00:00
f748f01486 - update to 1.26.0:
* Bump minimum required meson version from 0.56.0 to 0.64.0
  * Various meson related cleanups :pr:`350`
  * Fix header file being installed to the wrong location with
    meson on some systems :pr:`350`
  * Adds a new ``wheel`` meson build option as preparation for
    meson-python support :pr:`350` :pr:`345`
  * Update dependencies (libpng, pixman, zlib) of the Windows
    wheels :pr:`358`
  * Various maintenance related updates :pr:`360` :pr:`359`
    :pr:`361` :pr:`362`
- Update to version 1.23.0
    - fdo#19221: restore cairo.Matrix '*' operator to the way it
  A new example to demonstrate pattern masks.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=28
2024-03-22 21:01:17 +00:00
Ana Guerrero
d2c62818be Accepting request 1120301 from devel:languages:python
- update to 1.25.1:
  * fix a crash in pypy3.10
  * Fix the build with CPython 3.13.0a1
- introduced from 1.25.0:
  * update to cairo 1.18.0 (for windows only)
  * new apis:
    - Status.SVG_FONT_ERROR
    - FontOptions.get_color_mode(), FontOptions.set_color_mode(), ColorMode
    - FontOptions.set_color_palette(), FontOptions.get_color_palette(), COLOR_PALETTE_DEFAULT
    - FontOptions.set_custom_palette_color(), FontOptions.get_custom_palette_color()
    - TAG_CONTENT, TAG_CONTENT_REF
    - Pattern.get_dither(), Pattern.set_dither(), Dither

OBS-URL: https://build.opensuse.org/request/show/1120301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=13
2023-10-26 15:11:49 +00:00
0daada72fc Accepting request 1119760 from home:uncomfyhalomacro:branches:devel:languages:python
- update to 1.25.1:
  * fix a crash in pypy3.10
  * Fix the build with CPython 3.13.0a1
- introduced from 1.25.0:
  * update to cairo 1.18.0 (for windows only)
  * new apis:
    - Status.SVG_FONT_ERROR
    - FontOptions.get_color_mode(), FontOptions.set_color_mode(), ColorMode
    - FontOptions.set_color_palette(), FontOptions.get_color_palette(), COLOR_PALETTE_DEFAULT
    - FontOptions.set_custom_palette_color(), FontOptions.get_custom_palette_color()
    - TAG_CONTENT, TAG_CONTENT_REF
    - Pattern.get_dither(), Pattern.set_dither(), Dither

OBS-URL: https://build.opensuse.org/request/show/1119760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=26
2023-10-25 13:49:54 +00:00
Ana Guerrero
470a031bfe Accepting request 1100692 from devel:languages:python
- update to 1.24.0:
  * Dropped Python 3.7 support
  * Bumped meson version requirement from 0.53.0 to 0.56.0
  * Various cairo dependency updates for the Windows wheel build
  * Various code cleanups :pr:`306`
  * Added Python 3.12 Windows wheels

OBS-URL: https://build.opensuse.org/request/show/1100692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=12
2023-07-26 11:22:17 +00:00
a64f479cff - update to 1.24.0:
* Dropped Python 3.7 support
  * Bumped meson version requirement from 0.53.0 to 0.56.0
  * Various cairo dependency updates for the Windows wheel build
  * Various code cleanups :pr:`306`
  * Added Python 3.12 Windows wheels

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=24
2023-07-25 18:30:53 +00:00
Dominique Leuenberger
62ccf79619 Accepting request 1084408 from devel:languages:python
Forwarded request #1084387 from dirkmueller

- Switch to single spec version build for PSP

OBS-URL: https://build.opensuse.org/request/show/1084408
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=11
2023-05-04 15:09:05 +00:00
2ff381450f Accepting request 1084387 from home:dirkmueller:acdc:as_python3_module
- Switch to single spec version build for PSP

OBS-URL: https://build.opensuse.org/request/show/1084387
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=22
2023-05-03 14:42:41 +00:00
Dominique Leuenberger
5d480057fd Accepting request 1041746 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1041746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=10
2022-12-10 20:17:26 +00:00
0cbcbd7100 Accepting request 1041225 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.23.0 
  * Reminder to distro packagers: Building/installing pycairo using setup.py is deprecated, please use meson instead.
  * git: changed default branch from “master” to “main”
  * Windows: Update the cairo version included in the wheels from 1.17.2 to 1.17.6 #pr-243
  * docs: Document how to look up pycairo headers without loading the module #pr-300
  * tests: don’t error out if cairo wasn’t built with all features #pr-293
  New APIs:
  * Status.DWRITE_ERROR #pr-294
  * Format.RGB96F, Format.RGBA128F #pr-295
  * PDFVersion.VERSION_1_6, PDFVersion.VERSION_1_7 #pr-296
  * HAS_DWRITE_FONT #pr-297
  * Context.set_hairline(), Context.get_hairline() #pr-298
  * PDFSurface.set_custom_metadata() #pr-299

OBS-URL: https://build.opensuse.org/request/show/1041225
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=20
2022-12-09 00:19:14 +00:00
Dominique Leuenberger
4364f26194 Accepting request 1038683 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1038683
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=9
2022-11-29 09:52:26 +00:00
5351e6371f Accepting request 1038671 from home:dimstar:Factory
- Updtae to version 1.22.0:
  * Officially support Python 3.11.
  * PDFSurface.version_to_string(): Fix crash with negative
    versions.
  * typing: ImageSurface.get_stride() returns an int.
  * typing: Fix incorrect interface for Matrix constructor.
  * typing: Use Generic for Context.
  * docs: some cairo.Context fixes.
  * docs: try to make create_from_png/write_to_png more clear.
  * docs: add an example for how to convert a surface to pillow.
  * docs: cairo.Format.RGB24: document that unused bytes may be
    overwritten.
  * tests: don’t depend on specific ref counts.
  * tests: compatibility fixes for cairo 1.17.6.
- Drop f5a795ea.patch: fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/1038671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=18
2022-11-28 13:34:19 +00:00
Dominique Leuenberger
a7dff60227 Accepting request 1003719 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1003719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=8
2022-09-21 12:39:57 +00:00
8c6a0f3b8d Accepting request 1003355 from home:iznogood:factory
- Update to version 1.21.0:
  * Require Python 3.7+
  * 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.
- Add f5a795ea.patch: Some test improvements for cairo 1.17.6

OBS-URL: https://build.opensuse.org/request/show/1003355
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=16
2022-09-15 07:47:38 +00:00
Dominique Leuenberger
f6dcfc8e32 Accepting request 989819 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/989819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=7
2022-08-04 11:23:08 +00:00
dea75cdaf6 Accepting request 989741 from home:bnavigator:branches:devel:languages:python
- Work around vendored distutils in setuptools >= 60 incorrectly
  installing pkgconfig files into the wrong libdir
- Deduplicate files in python_sitearch

OBS-URL: https://build.opensuse.org/request/show/989741
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=14
2022-07-18 08:27:27 +00:00
Richard Brown
ca656a7b6c Accepting request 911580 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/911580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=6
2021-08-16 08:08:33 +00:00
Markéta Machová
96870147f6 Accepting request 911556 from home:fcrozat:branches:devel:languages:python
- Add Obsoletes/Provides for python3-cairo-devel.

OBS-URL: https://build.opensuse.org/request/show/911556
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=13
2021-08-12 11:49:08 +00:00
Dominique Leuenberger
7f48a8a8ed Accepting request 906780 from devel:languages:python
- update to 1.20.1
  * setup.py: Respect the PKG_CONFIG environment variable
  * Make import_cairo inline in addition to static
  * docs: Fix example in Pattern.set_filter() docs _pr_`221`
  * docs: Fix build with newer sphinx
  * docs: Fix NumPy width, height-conventions in examples
  * docs: Last parameter of rel_curve_to should be dy3, not dy4
  * mypy: Fixes for mypy 0.800+
  * mypy: Don't run mypy via pytest

OBS-URL: https://build.opensuse.org/request/show/906780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=5
2021-07-21 17:05:31 +00:00
23b028738d - update to 1.20.1
* setup.py: Respect the PKG_CONFIG environment variable
  * Make import_cairo inline in addition to static
  * docs: Fix example in Pattern.set_filter() docs _pr_`221`
  * docs: Fix build with newer sphinx
  * docs: Fix NumPy width, height-conventions in examples
  * docs: Last parameter of rel_curve_to should be dy3, not dy4
  * mypy: Fixes for mypy 0.800+
  * mypy: Don't run mypy via pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=12
2021-07-17 07:01:29 +00:00
Dominique Leuenberger
84454b8e65 Accepting request 852941 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/852941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=4
2020-12-05 19:35:07 +00:00
Markéta Machová
0001dfefce Accepting request 852937 from home:bnavigator:branches:devel:languages:python
- Update to 1.20.0
  * Require Python 3.6+ #pr-201
  * Require cairo 1.15.10+ #pr-204
  * docs: support Sphinx 3.0 #pr-207
  * meson: add ‘tests’ option to skip tests #pr-188
  * Windows: build wheels #pr-197
  * Add support for Python 3.9 and 3.10 #pr-198 #pr-202
  * examples: add a Jupyter Notebook example #pr-181
  * Raise an error early when being passed a file object not opened
    in binary mode #pr-205
  * Add a pyproject.toml file #pr-206
- move header file in sitearch to devel package (rpmlint error)
  header is packaged twice: gh#pygobject/pycairo#98
- Move the pkgconfig file to the common package
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/852937
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=10
2020-12-03 16:51:03 +00:00
Dominique Leuenberger
6f22ac5b5e Accepting request 785536 from devel:languages:python
- Add missing dep on setuptools

- Update to 1.19.1:
  * support for new python
  * remove support for python 2.x
- Remove patch python38.patch

OBS-URL: https://build.opensuse.org/request/show/785536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=3
2020-04-19 19:40:52 +00:00
Tomáš Chvátal
88c288fb19 - Add missing dep on setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=8
2020-03-16 09:47:23 +00:00
Tomáš Chvátal
06d84c90f3 - Update to 1.19.1:
* support for new python
  * remove support for python 2.x
- Remove patch python38.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=7
2020-03-16 09:37:19 +00:00
Dominique Leuenberger
cd605b2380 Accepting request 735641 from devel:languages:python
- Add patch to fix build on python 3.8:
  * python38.patch

OBS-URL: https://build.opensuse.org/request/show/735641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=2
2019-11-22 09:18:51 +00:00
Tomáš Chvátal
765e3efbd8 - Add patch to fix build on python 3.8:
* python38.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=5
2019-10-07 09:08:28 +00:00
Dominique Leuenberger
539361c744 Accepting request 704551 from devel:languages:python
- Update to version 1.18.1
- Rename to python-pycario to conform to python package naming guidelines
- Expand summaries and descriptions.
- Fix typos
- Fixed conflicts with old python-cario-common-devel

OBS-URL: https://build.opensuse.org/request/show/704551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=1
2019-06-18 12:42:39 +00:00
Todd R
b012c10281 Accepting request 704550 from home:TheBlackCat:branches:devel:languages:python
- Fixed conflicts with old python-cario-common-devel

OBS-URL: https://build.opensuse.org/request/show/704550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=3
2019-05-21 20:23:40 +00:00
Todd R
34c351d932 Accepting request 704525 from home:TheBlackCat:branches:devel:languages:python
- Fix typos

OBS-URL: https://build.opensuse.org/request/show/704525
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=2
2019-05-21 16:29:43 +00:00
Todd R
3a28e29992 Accepting request 704065 from home:TheBlackCat:branches:devel:languages:python
- Update to version 1.18.1- Rename to python-pycario to conform to python package naming guidelines
- Expand summaries and descriptions.

OBS-URL: https://build.opensuse.org/request/show/704065
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=1
2019-05-19 16:52:28 +00:00