guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

52/416: gnu: texlive-latex-framed -> texlive-framed.


From: guix-commits
Subject: 52/416: gnu: texlive-latex-framed -> texlive-framed.
Date: Sun, 28 May 2023 02:32:12 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit a898f0cec181727aeae73b3c0deac5f11f476b28
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 08:01:51 2023 +0200

    gnu: texlive-latex-framed -> texlive-framed.
    
    * gnu/packages/tex.scm (texlive-framed): New variable.
    (texlive-latex-framed): Deprecate variable.
    (texlive-minted):
    * gnu/packages/maths.scm (hypre):
    * gnu/packages/sphinx.scm (python-sphinx): Use new name.
---
 gnu/packages/maths.scm  |  2 +-
 gnu/packages/sphinx.scm |  2 +-
 gnu/packages/tex.scm    | 44 ++++++++++++++++----------------------------
 3 files changed, 18 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0e72e419de..ead6b8eb5f 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5778,7 +5778,7 @@ set.")
                                      texlive-latex-colortbl
                                      texlive-latex-float
                                      texlive-fncychap
-                                     texlive-latex-framed
+                                     texlive-framed
                                      texlive-latex-geometry
                                      texlive-hanging
                                      texlive-hyperref
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 58957c44bb..42ddbade1e 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -118,7 +118,7 @@
            texlive-fancyvrb
            texlive-latex-float
            texlive-fncychap
-           texlive-latex-framed
+           texlive-framed
            texlive-latex-geometry
            texlive-graphics                       ;graphicx, color
            texlive-kvoptions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8d03fed6f5..dfc5722f94 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5905,46 +5905,34 @@ headings.")
 
 (define-deprecated-package texlive-latex-fncychap texlive-fncychap)
 
-(define-public texlive-latex-framed
+(define-public texlive-framed
   (package
-    (name "texlive-latex-framed")
+    (name "texlive-framed")
     (version (number->string %texlive-revision))
-    (source (origin
-              (method svn-fetch)
-              (uri (svn-reference
-                    (url (string-append "svn://www.tug.org/texlive/tags/"
-                                        %texlive-tag "/Master/texmf-dist/"
-                                        "/tex/latex/framed"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "14a4ydqsvp3vcfavl21jrv0ybiqypaaqzg2q2cs3rzkandg7w98x"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let ((target (string-append (assoc-ref %outputs "out")
-                                      "/share/texmf-dist/tex/latex/framed")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
-    (home-page "https://www.ctan.org/pkg/framed";)
+    (source (texlive-origin
+             name version
+             (list "doc/latex/framed/"
+                   "tex/latex/framed/")
+             (base32
+              "09hlzjlhz3q3l62h6gj997pfx1hc4726frhcdc6y5g66c3gh621g")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/framed";)
     (synopsis "Framed or shaded regions that can break across pages")
     (description
      "The package creates three environments: @code{framed}, which puts an
 ordinary frame box around the region, @code{shaded}, which shades the region,
 and @code{leftbar}, which places a line at the left side.  The environments
-allow a break at their start (the @code{\\FrameCommand} enables creation of a
-title that is “attached” to the environment); breaks are also allowed in the
+allow a break at their start (the @code{\\FrameCommand} enables creation of
+a title that is “attached” to the environment); breaks are also allowed in the
 course of the framed/shaded matter.  There is also a command
 @code{\\MakeFramed} to make your own framed-style environments.")
     ;; The header states: "These macros may be freely transmitted, reproduced,
     ;; or modified for any purpose provided that this notice is left intact."
     (license (license:fsf-free "file://framed.sty"))))
 
+(define-deprecated-package texlive-latex-framed texlive-framed)
+
 (define-public texlive-latex-g-brief
   (package
     (name "texlive-latex-g-brief")
@@ -10686,7 +10674,7 @@ configuration of its own fixed names, using @file{.mld} 
files.")
                                texlive-etoolbox
                                texlive-fancyvrb
                                texlive-latex-float
-                               texlive-latex-framed
+                               texlive-framed
                                texlive-fvextra
                                texlive-ifplatform
                                texlive-lineno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]