gnu: opensubdiv: Use a regular versioning pattern.
authorMarius Bakke <mbakke@fastmail.com>
Thu, 17 Oct 2019 13:23:39 +0000 (15:23 +0200)
committerMarius Bakke <mbakke@fastmail.com>
Fri, 18 Oct 2019 12:35:56 +0000 (14:35 +0200)
* gnu/packages/graphics.scm (opensubdiv)[version]: Use dots instead of
underscores between numbers.
[source](uri): Adjust accordingly.

gnu/packages/graphics.scm

index c57d90f..e453d9f 100644 (file)
@@ -1026,12 +1026,13 @@ requirements.")
 (define-public opensubdiv
   (package
     (name "opensubdiv")
-    (version "3_4_0")
+    (version "3.4.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://github.com/PixarAnimationStudios/OpenSubdiv")
-                     (commit (string-append "v" version))))
+                    (url "https://github.com/PixarAnimationStudios/OpenSubdiv")
+                    (commit (string-append "v" (string-join (string-split version #\.)
+                                                            "_")))))
               (file-name (git-file-name name version))
               (sha256
                (base32