Subject: bug#43410: [PATCH] gnu: font-adobe-source-sans-pro: Update to 3.028R.

From: Jens Mølgaard <[email-masked]>
Date: Sun, 13 Sep 2020 21:57:02 +1200

* gnu/packages/fonts.scm (font-adobe-source-sans-pro): Update to 3.028R.
---
New (joint roman/italic) versioning scheme no longer requires substitution.

 gnu/packages/fonts.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index c7ce03b2b7..1dbb4a9675 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -23,7 +23,7 @@
 ;;; Copyright © 2017 Mohammed Sadiq <[email-masked]>
 ;;; Copyright © 2018 Charlie Ritter <[email-masked]>
 ;;; Copyright © 2018 Gabriel Hondet <[email-masked]>
-;;; Copyright © 2019 Jens Mølgaard <[email-masked]>
+;;; Copyright © 2019, 2020 Jens Mølgaard <[email-masked]>
 ;;; Copyright © 2019 Nicolas Goaziou <[email-masked]>
 ;;; Copyright © 2019 Baptiste Strazzulla <[email-masked]>
 ;;; Copyright © 2019 Alva <[email-masked]>
@@ -951,19 +951,16 @@ designed to work well in user interface environments.")
 (define-public font-adobe-source-sans-pro
   (package
     (name "font-adobe-source-sans-pro")
-    (version "2.040R-ro-1.090R-it")
+    (version "3.028R")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/adobe-fonts/source-sans-pro")
-             (commit (regexp-substitute/global
-                      ;; The upstream tag uses "/" between the roman and italic
-                      ;; versions, so substitute our "-" separator here.
-                      #f "R-ro-" version 'pre "R-ro/" 'post))))
+             (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1lzin2hfwidbvhps7shs201p1bpxy6220xmhhprv9fc8bknd4c45"))))
+        (base32 "0lgjqi4d5p1q1z00ad807v5qy4z54gmp7jpdaypc0rxk8czv6zq7"))))
     (build-system font-build-system)
     (home-page "https://github.com/adobe-fonts/source-sans-pro")
     (synopsis
-- 
2.28.0