[Buildroot] [git commit] package/python-avro: don't refer to avro-c version variable

Yann E. MORIN yann.morin.1998 at free.fr
Sat May 14 21:55:04 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=5527266559d9f6412f00f32299790605b4b76fc5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Like for other packages sharing the same version number, we
can't rely on Make variable expansion. It's working by chance
since avro-c is sorted before python-avro by the Buildroot
main Makefile [1].

[1] https://git.buildroot.net/buildroot/tree/Makefile?h=2022.02.1#n533

Signed-off-by: Romain Naour <romain.naour at gmail.com>
Cc: Titouan Christophe <titouanchristophe at gmail.com>
[yann.morin.1998 at free.fr: duplicate comment]
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/avro-c/avro-c.mk           | 1 +
 package/python-avro/python-avro.mk | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/avro-c/avro-c.mk b/package/avro-c/avro-c.mk
index 262a0fee5f..f55c579656 100644
--- a/package/avro-c/avro-c.mk
+++ b/package/avro-c/avro-c.mk
@@ -4,6 +4,7 @@
 #
 ################################################################################
 
+# When updating the version, please also update python-avro
 AVRO_C_VERSION = 1.11.0
 AVRO_C_SITE = https://www-eu.apache.org/dist/avro/avro-$(AVRO_C_VERSION)/c
 AVRO_C_LICENSE = Apache-2.0
diff --git a/package/python-avro/python-avro.mk b/package/python-avro/python-avro.mk
index 0c4c431777..29b8bc14d8 100644
--- a/package/python-avro/python-avro.mk
+++ b/package/python-avro/python-avro.mk
@@ -4,7 +4,8 @@
 #
 ################################################################################
 
-PYTHON_AVRO_VERSION = $(AVRO_C_VERSION)
+# When updating the version, please also update python-avro
+PYTHON_AVRO_VERSION = 1.11.0
 PYTHON_AVRO_SITE = \
 	https://www-eu.apache.org/dist/avro/avro-$(PYTHON_AVRO_VERSION)/py
 PYTHON_AVRO_SOURCE = avro-$(PYTHON_AVRO_VERSION).tar.gz



More information about the buildroot mailing list