|
| 1 | +From 6aa8bceb2fbe34e746c9cf78b9857ab1434236f1 Mon Sep 17 00:00:00 2001 |
| 2 | +Message-Id: <6aa8bceb2fbe34e746c9cf78b9857ab1434236f1.1676381983.git.stefan@agner.ch> |
| 3 | +In-Reply-To: <60ee727300ce3685624cbece545f81d3c6350a8b.1676381983.git.stefan@agner.ch> |
| 4 | +References: <60ee727300ce3685624cbece545f81d3c6350a8b.1676381983.git.stefan@agner.ch> |
| 5 | +From: Stefan Agner <stefan@agner.ch> |
| 6 | +Date: Tue, 14 Feb 2023 14:37:54 +0100 |
| 7 | +Subject: [PATCH] Drop pygobject dependency |
| 8 | + |
| 9 | +--- |
| 10 | + src/controller/python/BUILD.gn | 2 -- |
| 11 | + src/pybindings/pycontroller/build-chip-wheel.py | 3 --- |
| 12 | + 2 files changed, 5 deletions(-) |
| 13 | + |
| 14 | +diff --git a/src/controller/python/BUILD.gn b/src/controller/python/BUILD.gn |
| 15 | +index 8c913d1f9..8f0a40a1f 100644 |
| 16 | +--- a/src/controller/python/BUILD.gn |
| 17 | ++++ b/src/controller/python/BUILD.gn |
| 18 | +@@ -312,8 +312,6 @@ chip_python_wheel_action("chip-core") { |
| 19 | + |
| 20 | + if (current_os == "mac") { |
| 21 | + py_package_reqs += [ "pyobjc-framework-corebluetooth" ] |
| 22 | +- } else if (current_os == "linux") { |
| 23 | +- py_package_reqs += [ "pygobject" ] |
| 24 | + } |
| 25 | + |
| 26 | + if (current_cpu == "x64") { |
| 27 | +diff --git a/src/pybindings/pycontroller/build-chip-wheel.py b/src/pybindings/pycontroller/build-chip-wheel.py |
| 28 | +index d1de59224..8d913b43d 100644 |
| 29 | +--- a/src/pybindings/pycontroller/build-chip-wheel.py |
| 30 | ++++ b/src/pybindings/pycontroller/build-chip-wheel.py |
| 31 | +@@ -122,9 +122,6 @@ try: |
| 32 | + if platform.system() == 'Darwin': |
| 33 | + requiredPackages.append('pyobjc-framework-corebluetooth') |
| 34 | + |
| 35 | +- if platform.system() == 'Linux': |
| 36 | +- requiredPackages.append('pygobject') |
| 37 | +- |
| 38 | + # |
| 39 | + # Build the chip package... |
| 40 | + # |
| 41 | +-- |
| 42 | +2.39.1 |
| 43 | + |
0 commit comments