gnu: texlive-latex-eukdate -> texlive-eukdate.

* gnu/packages/tex.scm (texlive-eukdate): New variable.
(texlive-latex-eukdate): Deprecate variable.
(texlive-metalogo)[native-inputs]: Use new name.
This commit is contained in:
Nicolas Goaziou 2023-05-14 14:31:36 +02:00
parent b14d5db8e1
commit e80460f398
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -6305,10 +6305,10 @@ (define-public texlive-metalogo
(native-inputs (list fontconfig ;for XDG_DATA_DIRS, to locate OTF fonts (native-inputs (list fontconfig ;for XDG_DATA_DIRS, to locate OTF fonts
texlive-booktabs texlive-booktabs
texlive-cm texlive-cm
texlive-eukdate
texlive-fontspec texlive-fontspec
texlive-iftex texlive-iftex
texlive-latex-base texlive-latex-base
texlive-latex-eukdate
texlive-graphics texlive-graphics
texlive-multirow texlive-multirow
texlive-lm ;for lmroman10-regular texlive-lm ;for lmroman10-regular
@ -9269,42 +9269,30 @@ (define-public texlive-changepage
(define-deprecated-package texlive-latex-changepage texlive-changepage) (define-deprecated-package texlive-latex-changepage texlive-changepage)
(define-public texlive-latex-eukdate (define-public texlive-eukdate
(package (package
(name "texlive-latex-eukdate") (name "texlive-eukdate")
(version (number->string %texlive-revision)) (version (number->string %texlive-revision))
(source (source (texlive-origin
(origin name version
(method svn-fetch) (list "doc/latex/eukdate/" "source/latex/eukdate/"
(uri (svn-reference "tex/latex/eukdate/")
(url (string-append "svn://www.tug.org/texlive/tags/" (base32
%texlive-tag "/Master/texmf-dist/" "1bz32l4500y4sx7ighpcvzfh0z45lzyyxm1dq1knmhdsv46gqaxi")))
"/tex/latex/eukdate")) (outputs '("out" "doc"))
(revision %texlive-revision))) (build-system texlive-build-system)
(file-name (string-append name "-" version "-checkout")) (home-page "https://ctan.org/pkg/eukdate")
(sha256
(base32
"18xan116l8w47v560bkw6nbhkrml7g04xrlzk3jrpc7qsyf3n5fz"))))
(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/eukdate")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/eukdate")
(synopsis "UK format dates, with weekday") (synopsis "UK format dates, with weekday")
(description (description
"The package is used to change the format of @code{\\today}s date, "The package is used to change the format of @code{\\today}s date,
including the weekday, e.g., \"Saturday, 26 June 2008\", the 'UK format', which including the weekday, e.g., @samp{Saturday, 26 June 2008}, the UK format,
is preferred in many parts of the world, as distinct from that which is used in which is preferred in many parts of the world, as distinct from that which is
@code{\\maketitle} of the article class, \"June 26, 2008\", the 'US format'.") used in @code{\\maketitle} of the article class, @samp{June 26, 2008}, the US
format.")
(license license:lppl))) (license license:lppl)))
(define-deprecated-package texlive-latex-eukdate texlive-eukdate)
(define-public texlive-ulem (define-public texlive-ulem
(package (package
(inherit (simple-texlive-package (inherit (simple-texlive-package