Archived
1
0
Fork 0

gnu: texlive-metapost: Refresh package definition.

* gnu/packages/tex.scm (texlive-metapost)[source]: Use TEXLIVE-ORIGIN
instead of TEXLIVE-REF and SVN-FETCH.
[build-system]: Use TEXLIVE-BUILD-SYSTEM.
This commit is contained in:
Nicolas Goaziou 2023-05-14 21:59:42 +02:00
parent f626769b3a
commit c89e6f6d32
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8225,29 +8225,29 @@ the derived Type 1 font, together with support files for TeX (LaTeX).")
(package (package
(name "texlive-metapost") (name "texlive-metapost")
(version (number->string %texlive-revision)) (version (number->string %texlive-revision))
(source (origin (source (texlive-origin
(method svn-fetch) name version
(uri (svn-reference (list "doc/man/man1/dvitomp.1"
(url (string-append "svn://www.tug.org/texlive/tags/" "doc/man/man1/dvitomp.man1.pdf"
%texlive-tag "/Master/texmf-dist/" "doc/man/man1/mpost.1"
"/metapost")) "doc/man/man1/mpost.man1.pdf"
(revision %texlive-revision))) "doc/metapost/base/"
(file-name (string-append name "-" version "-checkout")) "fonts/afm/metapost/"
(sha256 "fonts/enc/dvips/metapost/"
(base32 "fonts/map/dvips/metapost/"
"140k9dz2g2vj5ypgyqx3px9c1y9a820y8kq139p96lw0yk6839aw")))) "fonts/tfm/metapost/"
(build-system trivial-build-system) "fonts/type1/metapost/"
(arguments "metapost/base/"
`(#:modules ((guix build utils)) "metapost/config/"
#:builder "metapost/misc/"
(begin "metapost/support/charlib/"
(use-modules (guix build utils)) "tex/generic/metapost/")
(let ((target (string-append (assoc-ref %outputs "out") (base32
"/share/texmf-dist/metapost"))) "04pgi23frfk6ds10zypqvki0852ds7m1s52c5qvbpyl647nfbgc5")))
(mkdir-p target) (outputs '("out" "doc"))
(copy-recursively (assoc-ref %build-inputs "source") target) (build-system texlive-build-system)
#t)))) (propagated-inputs (list texlive-kpathsea))
(home-page "https://www.ctan.org/pkg/metapost") (home-page "https://ctan.org/pkg/metapost")
(synopsis "Create scalable illustrations") (synopsis "Create scalable illustrations")
(description (description
"MetaPost uses a language based on that of Metafont to produce precise "MetaPost uses a language based on that of Metafont to produce precise