Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/gtest: drop host python2 support
@ 2022-02-09 22:41 James Hilliard
  2022-02-10 20:48 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2022-02-09 22:41 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Stephan Hoffmann

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/gtest/gtest.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/gtest/gtest.mk b/package/gtest/gtest.mk
index 673e626c45..5bad1fb5f7 100644
--- a/package/gtest/gtest.mk
+++ b/package/gtest/gtest.mk
@@ -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
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/gtest: drop host python2 support
  2022-02-09 22:41 [Buildroot] [PATCH 1/1] package/gtest: drop host python2 support James Hilliard
@ 2022-02-10 20:48 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-02-10 20:48 UTC (permalink / raw)
  To: James Hilliard; +Cc: Stephan Hoffmann, buildroot

James, All,

On 2022-02-09 15:41 -0700, James Hilliard spake thusly:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

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.

> ---
>  package/gtest/gtest.mk | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/package/gtest/gtest.mk b/package/gtest/gtest.mk
> index 673e626c45..5bad1fb5f7 100644
> --- a/package/gtest/gtest.mk
> +++ b/package/gtest/gtest.mk
> @@ -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
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-10 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-09 22:41 [Buildroot] [PATCH 1/1] package/gtest: drop host python2 support James Hilliard
2022-02-10 20:48 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox