Skip to contentSkip to conversation

package/fmt: bump to version 7.0.3

PATCH New Jörg Krause 2 participants 2 messages Sep 16, 2020 – Sep 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/fmt: bump to version 7.0.3

Switch to use uploaded zip archive instead of githubs provided tarball.

---
 package/fmt/fmt.hash | 2 +-
 package/fmt/fmt.mk   | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
package/fmt/fmt.hash +1 -1
index 8559d6605f..1f45c212f3 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  7697e022f9cdc4f90b5e0a409643faa2cde0a6312f85e575c8388a1913374de5  fmt-7.0.2.tar.gz
+sha256  decfdf9ad274070fa85f26407b816f5a4d82205ae86bac1990be658d0795ea4d  fmt-7.0.3.zip
 sha256  825c9324e70f8c839c8ba910543dd4a7daee243b86ef960594c11381a19980b8  LICENSE.rst
package/fmt/fmt.mk +7 -2
index 10e2f0f0b4..0539dcc024 100644
@@ -4,8 +4,9 @@
 #
 ################################################################################
 
-FMT_VERSION = 7.0.2
-FMT_SITE = $(call github,fmtlib,fmt,$(FMT_VERSION))
+FMT_VERSION = 7.0.3
+FMT_SITE = https://github.com/fmtlib/fmt/releases/download/$(FMT_VERSION)
+FMT_SOURCE = fmt-$(FMT_VERSION).zip
 FMT_LICENSE = MIT with exception
 FMT_LICENSE_FILES = LICENSE.rst
 FMT_INSTALL_STAGING = YES
@@ -14,4 +15,8 @@ FMT_CONF_OPTS = \
 	-DFMT_INSTALL=ON \
 	-DFMT_TEST=OFF
 
+define FMT_EXTRACT_CMDS
+	$(UNZIP) -d $(BUILD_DIR) $(FMT_DL_DIR)/$(FMT_SOURCE)
+endef
+
 $(eval $(cmake-package))
Signature · 1 line
2.28.0
#1 lore raw

PATCH 1/1 package/fmt: bump to version 7.0.3

Quoted 7 lines · On Wed, 16 Sep 2020 22:00:13 +0200 J?rg Krause <[email protected]>…

Switch to use uploaded zip archive instead of githubs provided tarball.

---
 package/fmt/fmt.hash | 2 +-
 package/fmt/fmt.mk   | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com