Skip to contentSkip to conversation

package/gtest: drop host python2 support

PATCH In review James Hilliard 2 participants 2 messages Feb 9, 2022 – Feb 10, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gtest: drop host python2 support

---
 package/gtest/gtest.mk | 5 -----
 1 file changed, 5 deletions(-)
package/gtest/gtest.mk +0 -5
index 673e626c45..5bad1fb5f7 100644
@@ -19,13 +19,8 @@ endif
 
 HOST_GTEST_LICENSE = Apache-2.0
 HOST_GTEST_LICENSE_FILES = googlemock/scripts/generator/LICENSE
-ifeq ($(BR2_PACKAGE_PYTHON3),y)
 HOST_GTEST_PYTHON_VERSION = $(PYTHON3_VERSION_MAJOR)
 HOST_GTEST_DEPENDENCIES += host-python3
-else
-HOST_GTEST_PYTHON_VERSION = $(PYTHON_VERSION_MAJOR)
-HOST_GTEST_DEPENDENCIES += host-python
-endif
 
 HOST_GTEST_GMOCK_PYTHONPATH = \
 	$(HOST_DIR)/lib/python$(HOST_GTEST_PYTHON_VERSION)/site-packages
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

James, All,

On 2022-02-09 15:41 -0700, James Hilliard spake thusly:

Quoted 1 line

Thanks for your patch. I've instead applied Peter's patch, that did go the extra length of cleaning up now-unnecessary variables too.

Thanks! ;-)

Regards,
Yann E. MORIN.

Quoted 29 lines
---
 package/gtest/gtest.mk | 5 -----
 1 file changed, 5 deletions(-)
package/gtest/gtest.mk +0 -5
index 673e626c45..5bad1fb5f7 100644
@@ -19,13 +19,8 @@ endif
 
 HOST_GTEST_LICENSE = Apache-2.0
 HOST_GTEST_LICENSE_FILES = googlemock/scripts/generator/LICENSE
-ifeq ($(BR2_PACKAGE_PYTHON3),y)
 HOST_GTEST_PYTHON_VERSION = $(PYTHON3_VERSION_MAJOR)
 HOST_GTEST_DEPENDENCIES += host-python3
-else
-HOST_GTEST_PYTHON_VERSION = $(PYTHON_VERSION_MAJOR)
-HOST_GTEST_DEPENDENCIES += host-python
-endif
 
 HOST_GTEST_GMOCK_PYTHONPATH = \
 	$(HOST_DIR)/lib/python$(HOST_GTEST_PYTHON_VERSION)/site-packages
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot