gpiod 2.2.3__tar.gz → 2.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. {gpiod-2.2.3/gpiod.egg-info → gpiod-2.2.4}/PKG-INFO +11 -2
  2. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/version.py +1 -1
  3. {gpiod-2.2.3 → gpiod-2.2.4/gpiod.egg-info}/PKG-INFO +11 -2
  4. {gpiod-2.2.3 → gpiod-2.2.4}/tests/gpiosim/ext.c +5 -4
  5. {gpiod-2.2.3 → gpiod-2.2.4}/MANIFEST.in +0 -0
  6. {gpiod-2.2.3 → gpiod-2.2.4}/README.md +0 -0
  7. {gpiod-2.2.3 → gpiod-2.2.4}/build_tests.py +0 -0
  8. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/__init__.py +0 -0
  9. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/chip.py +0 -0
  10. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/chip_info.py +0 -0
  11. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/edge_event.py +0 -0
  12. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/exception.py +0 -0
  13. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/ext/chip.c +0 -0
  14. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/ext/common.c +0 -0
  15. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/ext/internal.h +0 -0
  16. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/ext/line-config.c +0 -0
  17. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/ext/line-settings.c +0 -0
  18. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/ext/module.c +0 -0
  19. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/ext/request.c +0 -0
  20. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/info_event.py +0 -0
  21. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/internal.py +0 -0
  22. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/line.py +0 -0
  23. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/line_info.py +0 -0
  24. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/line_request.py +0 -0
  25. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod/line_settings.py +0 -0
  26. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod.egg-info/SOURCES.txt +0 -0
  27. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod.egg-info/dependency_links.txt +0 -0
  28. {gpiod-2.2.3 → gpiod-2.2.4}/gpiod.egg-info/top_level.txt +0 -0
  29. {gpiod-2.2.3 → gpiod-2.2.4}/include/gpiod.h +0 -0
  30. {gpiod-2.2.3 → gpiod-2.2.4}/lib/chip-info.c +0 -0
  31. {gpiod-2.2.3 → gpiod-2.2.4}/lib/chip.c +0 -0
  32. {gpiod-2.2.3 → gpiod-2.2.4}/lib/edge-event.c +0 -0
  33. {gpiod-2.2.3 → gpiod-2.2.4}/lib/info-event.c +0 -0
  34. {gpiod-2.2.3 → gpiod-2.2.4}/lib/internal.c +0 -0
  35. {gpiod-2.2.3 → gpiod-2.2.4}/lib/internal.h +0 -0
  36. {gpiod-2.2.3 → gpiod-2.2.4}/lib/line-config.c +0 -0
  37. {gpiod-2.2.3 → gpiod-2.2.4}/lib/line-info.c +0 -0
  38. {gpiod-2.2.3 → gpiod-2.2.4}/lib/line-request.c +0 -0
  39. {gpiod-2.2.3 → gpiod-2.2.4}/lib/line-settings.c +0 -0
  40. {gpiod-2.2.3 → gpiod-2.2.4}/lib/misc.c +0 -0
  41. {gpiod-2.2.3 → gpiod-2.2.4}/lib/request-config.c +0 -0
  42. {gpiod-2.2.3 → gpiod-2.2.4}/lib/uapi/gpio.h +0 -0
  43. {gpiod-2.2.3 → gpiod-2.2.4}/libgpiod-version.txt +0 -0
  44. {gpiod-2.2.3 → gpiod-2.2.4}/pyproject.toml +0 -0
  45. {gpiod-2.2.3 → gpiod-2.2.4}/setup.cfg +0 -0
  46. {gpiod-2.2.3 → gpiod-2.2.4}/setup.py +0 -0
  47. {gpiod-2.2.3 → gpiod-2.2.4}/tests/__init__.py +0 -0
  48. {gpiod-2.2.3 → gpiod-2.2.4}/tests/__main__.py +0 -0
  49. {gpiod-2.2.3 → gpiod-2.2.4}/tests/gpiosim/__init__.py +0 -0
  50. {gpiod-2.2.3 → gpiod-2.2.4}/tests/gpiosim/chip.py +0 -0
  51. {gpiod-2.2.3 → gpiod-2.2.4}/tests/helpers.py +0 -0
  52. {gpiod-2.2.3 → gpiod-2.2.4}/tests/procname/__init__.py +0 -0
  53. {gpiod-2.2.3 → gpiod-2.2.4}/tests/procname/ext.c +0 -0
  54. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_chip.py +0 -0
  55. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_chip_info.py +0 -0
  56. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_edge_event.py +0 -0
  57. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_info_event.py +0 -0
  58. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_line.py +0 -0
  59. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_line_info.py +0 -0
  60. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_line_request.py +0 -0
  61. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_line_settings.py +0 -0
  62. {gpiod-2.2.3 → gpiod-2.2.4}/tests/tests_module.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: gpiod
3
- Version: 2.2.3
3
+ Version: 2.2.4
4
4
  Summary: Python bindings for libgpiod
5
5
  Home-page: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
6
6
  Author: Bartosz Golaszewski
@@ -9,6 +9,15 @@ License: LGPLv2.1
9
9
  Platform: linux
10
10
  Requires-Python: >=3.9.0
11
11
  Description-Content-Type: text/markdown
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: description
15
+ Dynamic: description-content-type
16
+ Dynamic: home-page
17
+ Dynamic: license
18
+ Dynamic: platform
19
+ Dynamic: requires-python
20
+ Dynamic: summary
12
21
 
13
22
  <!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
14
23
  <!-- SPDX-FileCopyrightText: 2023 Phil Howard <phil@gadgetoid.com> -->
@@ -2,4 +2,4 @@
2
2
  # SPDX-FileCopyrightText: 2022 Linaro Ltd.
3
3
  # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
4
4
 
5
- __version__ = "2.2.3"
5
+ __version__ = "2.2.4"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: gpiod
3
- Version: 2.2.3
3
+ Version: 2.2.4
4
4
  Summary: Python bindings for libgpiod
5
5
  Home-page: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
6
6
  Author: Bartosz Golaszewski
@@ -9,6 +9,15 @@ License: LGPLv2.1
9
9
  Platform: linux
10
10
  Requires-Python: >=3.9.0
11
11
  Description-Content-Type: text/markdown
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: description
15
+ Dynamic: description-content-type
16
+ Dynamic: home-page
17
+ Dynamic: license
18
+ Dynamic: platform
19
+ Dynamic: requires-python
20
+ Dynamic: summary
12
21
 
13
22
  <!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
14
23
  <!-- SPDX-FileCopyrightText: 2023 Phil Howard <phil@gadgetoid.com> -->
@@ -96,15 +96,16 @@ static int chip_init(chip_object *self,
96
96
 
97
97
  static void chip_finalize(chip_object *self)
98
98
  {
99
- if (self->bank)
100
- gpiosim_bank_unref(self->bank);
101
-
102
99
  if (self->dev) {
103
100
  if (gpiosim_dev_is_live(self->dev))
104
101
  gpiosim_dev_disable(self->dev);
102
+ }
105
103
 
104
+ if (self->bank)
105
+ gpiosim_bank_unref(self->bank);
106
+
107
+ if (self->dev)
106
108
  gpiosim_dev_unref(self->dev);
107
- }
108
109
  }
109
110
 
110
111
  static void chip_dealloc(PyObject *self)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes