gnu: texlive-psnfss: Incorporate and remove replacement.
* gnu/packages/tex.scm (texlive-psnfss)[replacement]: Remove. [arguments]: Add 'unchdir' and 'delete-extra-files' phases. (texlive-psnfss/fixed): Remove.
This commit is contained in:
parent
5c03615700
commit
0f9d02f168
1 changed files with 9 additions and 20 deletions
|
@ -4139,8 +4139,6 @@ language that is written in a Cyrillic alphabet.")
|
|||
"11f14dzhwsy4pli21acccip43d36nf3pac33ihjffnps1i2mhqkd"))))
|
||||
(package
|
||||
(inherit template)
|
||||
;; TODO: This package is missing files.
|
||||
(replacement texlive-psnfss/fixed)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments template)
|
||||
((#:tex-directory _ #t)
|
||||
|
@ -4149,7 +4147,15 @@ language that is written in a Cyrillic alphabet.")
|
|||
`(modify-phases ,phases
|
||||
(add-after 'unpack 'chdir
|
||||
(lambda _
|
||||
(chdir "source/latex/psnfss") #t))))))
|
||||
(chdir "source/latex/psnfss")))
|
||||
(add-before 'copy-files 'unchdir
|
||||
(lambda _
|
||||
(chdir "../../..")))
|
||||
(add-after 'copy-files 'delete-extra-files
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(delete-file-recursively
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/share/texmf-dist/source/latex/psnfss/build"))))))))
|
||||
(native-inputs
|
||||
(list texlive-cm))
|
||||
(home-page "https://www.ctan.org/pkg/psnfss")
|
||||
|
@ -4168,23 +4174,6 @@ means to select single glyphs from symbol fonts. The bundle as a whole is
|
|||
part of the LaTeX required set of packages.")
|
||||
(license license:lppl1.2+))))
|
||||
|
||||
(define-public texlive-psnfss/fixed
|
||||
(package
|
||||
(inherit texlive-psnfss)
|
||||
(name "texlive-psnfss-fixed")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments texlive-psnfss)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(add-before 'copy-files 'unchdir
|
||||
(lambda _
|
||||
(chdir "../../..")))
|
||||
(add-after 'copy-files 'delete-extra-files
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(delete-file-recursively
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/share/texmf-dist/source/latex/psnfss/build"))))))))))
|
||||
|
||||
(define-deprecated-package texlive-latex-psnfss texlive-psnfss)
|
||||
|
||||
;; For user profiles
|
||||
|
|
Reference in a new issue