22 Commits

Author SHA256 Message Date
Ana Guerrero
a2949e2b03 Accepting request 1238988 from graphics
OBS-URL: https://build.opensuse.org/request/show/1238988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=11
2025-01-20 16:15:12 +00:00
Ana Guerrero
69ea5e28b1 - Update to 2.5.1:
* Add '__version_tuple__' for easy runtime version checking.
  * API change: gp_log_add_func callback is passed str instead of bytes
  * Add some GPPort methods. This allows a port to be reset when an error
    occurs.
  * Pass CameraFile to gp_camera_capture_preview & gp_camera_file_get.
    Optional - one will be created if needed.
  * Remove Context::camera_autodetect method deprecated 3 years ago.
  * Rename Context, PortInfo & PortInfoList. Add aliases of old names.
  * Update libgphoto2 to v2.5.31.
  * API change! gp_file_open no longer creates CameraFile object. It is now
    consistent with the C API.
  * Deprecated functions: gp_abilities_list_append, gp_list_populate,
    gp_port_info_list_append, gp_widget_add_choice, gp_widget_set_info,
    gp_widget_set_name, gp_widget_set_range, gp_widget_set_readonly.
    These will be removed in a future release.
  * Change licence from GPLv3+ to LGPLv3+.
  * CameraList behaves like a cross between Python list and dict types.
  * Added unit tests to check most libgphoto2 functions.
  * Add Python 3.11 binary wheels.
  * Drop support for libgphoto2 before version v2.5.10
  * Clearer installation documentation.
  * Modernised Python package build system.
  * Update libgphoto2 to v2.5.30.
  * Include localisation files in Python package.
- Rebase python-gphoto2-do_not_install_data.patch to support upstream
  changes.
- Switch to pyproject macros.
- Move to the GitHub tarball.
- Run a portion of the (new!) testsuite.

OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=20
2025-01-20 10:59:39 +00:00
Dominique Leuenberger
412fcf1cb8 Accepting request 1069731 from graphics
OBS-URL: https://build.opensuse.org/request/show/1069731
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=10
2023-03-07 15:50:21 +00:00
7626e98f39 Accepting request 1069698 from home:mcepl:branches:graphics
- Don't use fdupes -s, it hurts.

OBS-URL: https://build.opensuse.org/request/show/1069698
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=18
2023-03-06 20:22:01 +00:00
Dominique Leuenberger
5fcf5f9af1 Accepting request 915809 from graphics
OBS-URL: https://build.opensuse.org/request/show/915809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=9
2021-09-02 21:20:29 +00:00
5e67441a86 Accepting request 915783 from home:cgiboudeaux:branches:graphics
- Fix rpmlint errors.

OBS-URL: https://build.opensuse.org/request/show/915783
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=17
2021-09-02 16:03:51 +00:00
Dominique Leuenberger
2f00891ecd Accepting request 847465 from graphics
OBS-URL: https://build.opensuse.org/request/show/847465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=8
2020-11-10 12:47:05 +00:00
be78905eaf Accepting request 847464 from home:alois:branches:graphics
- Update to version 2.2.4
  * Built with SWIG version 4.0.2 to provide Python 3.8
    compatibility.

OBS-URL: https://build.opensuse.org/request/show/847464
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=15
2020-11-10 11:33:22 +00:00
Dominique Leuenberger
ea4da1ceab Accepting request 841339 from graphics
OBS-URL: https://build.opensuse.org/request/show/841339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=7
2020-10-13 13:45:34 +00:00
06e0d7c37c Accepting request 841338 from home:alois:branches:graphics
- Update to version 2.2.3
  * Minor improvement in setup.py script.
  * Minor improvements in example scripts.

OBS-URL: https://build.opensuse.org/request/show/841338
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=13
2020-10-12 17:14:21 +00:00
Dominique Leuenberger
ffbbfaa6f0 Accepting request 792685 from graphics
OBS-URL: https://build.opensuse.org/request/show/792685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=6
2020-04-09 21:16:52 +00:00
1f72268491 Accepting request 792684 from home:alois:branches:graphics
- Update to version 2.2.2
  * Added Camera.autodetect alternative to gp_camera_autodetect.
  * Added some deprecation warnings. Use 'python -Wd' to see them
    when running  software under development.
  * Added gphoto2_version.py example program.

OBS-URL: https://build.opensuse.org/request/show/792684
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=11
2020-04-09 10:29:14 +00:00
Dominique Leuenberger
bddb1df636 Accepting request 784851 from graphics
OBS-URL: https://build.opensuse.org/request/show/784851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=5
2020-03-16 09:17:52 +00:00
417677a61b Accepting request 784850 from home:alois:branches:graphics
- Update to version 2.2.1
  * Reinstated Context.camera_autodetect method removed in 2.2.0.
  version 2.2.0:
  * COMPATIBILITY CHANGE: Removed Context.camera_autodetect
    method.
  * COMPATIBILITY CHANGE: Removed deprecated widget get/set
    functions.
  * Python3 log messages are now str instead of bytes.
  * Documentation improvements.
- Update to version 2.1.0
  * COMPATIBILITY CHANGE: gp_file_set_data_and_size and
    gp_file_append now take a single buffer parameter (such as
    a bytes string) instead of a string and length.
  * Fixed memory double free bug in gp_file_set_data_and_size.
  * Removed support for libgphoto2 v2.4.

OBS-URL: https://build.opensuse.org/request/show/784850
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=9
2020-03-14 08:41:59 +00:00
Yuchen Lin
2df976cda4 Accepting request 696752 from graphics
OBS-URL: https://build.opensuse.org/request/show/696752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=4
2019-04-23 12:35:49 +00:00
5f8746bf65 Accepting request 696751 from home:alois:branches:graphics
- Update to version 2.0.0
  * COMPATIBILITY CHANGE: gp_log_add_func and use_python_logging
    now return a Python object which must be stored until logging
    is no longer needed.
  * Added cam-conf-view-gui & wait-for-event examples. Thanks to
    the users who contributed these.
  * Various minor bug fixes and improvements.
  version 1.9.0:
  * Enabled use of context callback functions such as
    gp_context_set_progress_funcs.
  * Added a time lapse movie example script.
  version 1.8.5:
  * Fix memory leak in gp_camera_get_config.
  version 1.8.4:
  * Fix segfault if camera disconnected before calling
    get_storageinfo.
  version 1.8.3:
  * Fix Qt5 usage in examples (thanks fatzh).
  * Handle GP_EVENT_FILE_CHANGED (new in libgphoto2 2.5.17).
  * Allow Python threads during gp_camera_init.

OBS-URL: https://build.opensuse.org/request/show/696751
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=7
2019-04-22 11:27:54 +00:00
Dominique Leuenberger
1a74d8910b Accepting request 571215 from graphics
OBS-URL: https://build.opensuse.org/request/show/571215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=3
2018-01-31 18:52:40 +00:00
91a49dfe0e Accepting request 571214 from home:alois:branches:graphics
- Update to version 1.8.2
  * Fix bug in v1.8.1 that caused installation problems on some
    systems.
  version 1.8.1:
  * Logging callbacks now pass 'bytes' objects in Python3.
  * Increased number of functions allow other Python threads to
    run.
  version 1.8.0:
  * The 'context' parameter is now optional for most functions.
  * Some deprecated functions have been removed.
  * Improved documentation of many functions.
  * Substantial rework of logging callback processing.

OBS-URL: https://build.opensuse.org/request/show/571214
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=5
2018-01-30 18:50:13 +00:00
Dominique Leuenberger
7bc3fa4169 Accepting request 518958 from graphics
1

OBS-URL: https://build.opensuse.org/request/show/518958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=2
2017-08-28 13:18:11 +00:00
9e7ddf7ac2 Accepting request 518956 from home:alois:branches:graphics
- Update to version 1.7.1
  * Return string values from gp_camera_wait_for_event.

OBS-URL: https://build.opensuse.org/request/show/518956
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=3
2017-08-27 06:29:27 +00:00
Dominique Leuenberger
5ceda29bf6 Accepting request 510525 from graphics
OBS-URL: https://build.opensuse.org/request/show/510525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gphoto2?expand=0&rev=1
2017-08-24 16:39:40 +00:00
OBS User mrdocs
b8ee807b10 Accepting request 509755 from home:alois:branches:graphics
OBS-URL: https://build.opensuse.org/request/show/509755
OBS-URL: https://build.opensuse.org/package/show/graphics/python-gphoto2?expand=0&rev=1
2017-07-13 01:51:30 +00:00