diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tex/slatex |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/slatex')
-rw-r--r-- | dev-tex/slatex/Manifest | 5 | ||||
-rw-r--r-- | dev-tex/slatex/metadata.xml | 11 | ||||
-rw-r--r-- | dev-tex/slatex/slatex-20090928.ebuild | 42 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-tex/slatex/Manifest b/dev-tex/slatex/Manifest new file mode 100644 index 000000000000..665ced24e1a5 --- /dev/null +++ b/dev-tex/slatex/Manifest @@ -0,0 +1,5 @@ +DIST slatex-20090928.tar.bz2 47891 SHA256 6d65765d7a88b8859342bfcc9ae59779fab7afaa4ee8e4f59d22ebd8a6a3885b SHA512 4b289ba86d4e157319436d55cf7951dc5493c40bf3901fe16b879db68a234bfbd71d6dc21b18f43d77a637c973df126709a8e63086507af6ae3b2f3dc712abb1 WHIRLPOOL f9a1f1c0ee3b36ef5f608fb0f844071abe943e12e3ef0504746f8bd9100ed050bd4b73110f30d713b228adb89b40d43319bb9a178e5b3ceeb432b1fc82e4a9a3 +EBUILD slatex-20090928.ebuild 1187 SHA256 7d25c9fbc0d9e4bd822760348b248b2b25a348ed23ba7fabf6f385ee62eb10dd SHA512 6cd1221ff172200fd18e853c97febcd5dca0b05739d7d235ffc9ddd174641f83c1c321e9ce05f19ec8787d0f5d404b2aa1a320b209391b5740b5c55739cdd452 WHIRLPOOL 01c73d4cd98dacfdeef4974832ca5e80aec60040ae1d0376220f5611efe170d3e3a6a9a6bdf569879db1bece1cf7494ece1b1f2003589cd9fe0ee3cd08136c36 +MISC ChangeLog 2550 SHA256 01fc0c729152a341fea9954f4b3956b8152b9e823d734d22c5ef3c763a2c75a4 SHA512 a3f5e949078c4da9491be0e1f75d3cc7c453414449fddc996d5922503f5e31cd0d917aeffb81ceb1d5c61256bbef18d47e1afecae4acd02f4fa4b3ba9cbdb07f WHIRLPOOL 4fd510f7c2cb32b08ab50889271461de9fcaef4edd6281fe5cc2ce5cb57c979f91381d7e309c24e16630e43a7cf1c83abc32900176bd1da6e3ff20d804e3d2ca +MISC ChangeLog-2015 1143 SHA256 fe439dbd2c10a1b8f896a84ed55c8cd701ea751b0019709709af53aa5c2e892e SHA512 5c5b9f2b7fdc5caf315a95bf2d14f2a3696d0b59fa12d4fc99ca3586abb66c4174f501426d83bec7cfc90feae0aa18c84b0a3c9f4bbd513d9eb14babeea76af0 WHIRLPOOL a42315390a29f9ca4dd808b771f61c476c7074d772cbb4e4402105e49b5f540f29c609eacc787e0512ef1b5598aefbd77bef8feba8c86b3d9a1085350945b314 +MISC metadata.xml 1502 SHA256 c79bc83c5b3574e0f823cb8cf3e440d0b0efc6d938874ea9475f99cbe11adf51 SHA512 ae2d9b3ac6f8a93c3926f9dd0216c9650c194e1f091ab56daa4567587a08c1d7656e00107f45dc1c8970771db6c34ca691f792d4480910f0cec4b10901a9fef6 WHIRLPOOL 851ffa420fce4038ef684cc1f6eb86e2837e6b16ae1b45d6eedf683fc0671896adff059a9b2aa5763f2d15b403ef19594af759f2246fff5d50a0ad683aaedb98 diff --git a/dev-tex/slatex/metadata.xml b/dev-tex/slatex/metadata.xml new file mode 100644 index 000000000000..909e90edc462 --- /dev/null +++ b/dev-tex/slatex/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>scheme@gentoo.org</email> + <name>Gentoo Scheme Project</name> + </maintainer> + <longdescription lang="en"> +SLaTeX is a Scheme program that allows you to write programs or program fragments ``as is'' in your TeX or LaTeX source. It is particularly geared to the programming languages Scheme and other Lisps, eg, Common Lisp. The formatting of the code includes assigning appropriate fonts and colors to the various tokens in the code (keywords, variables, constants, data), at the same time retaining the proper indentation when going to the non-monospace (non-typewriter) fonts provided by TeX. SLaTeX comes with two databases that recognize the identifier conventions of Scheme and Common Lisp respectively. These can be modified by the user with easy TeX commands. In addition, the user can tell SLaTeX to typeset certain identifiers as specially suited TeX expressions (ie, beyond just fonting them). All this is done without interfering with the identifier conventions of the language of the programming code. In sum, no change need be made to your (presumably running) program code in order to get a typeset version with a desired look: You can get a spectrum of styles ranging from no fonting through basic default fonting to various ``mathematical''-looking output for pedagogic or other reasons. + </longdescription> +</pkgmetadata> diff --git a/dev-tex/slatex/slatex-20090928.ebuild b/dev-tex/slatex/slatex-20090928.ebuild new file mode 100644 index 000000000000..b6ffd8b818d2 --- /dev/null +++ b/dev-tex/slatex/slatex-20090928.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +# for updating the texmf database, id est latex-package_rehash +inherit latex-package + +DESCRIPTION="SLaTeX is a Scheme program that allows you to write Scheme code in your (La)TeX source" +HOMEPAGE="http://www.ccs.neu.edu/home/dorai/slatex/slatxdoc.html" +SRC_URI="http://evalwhen.com/slatex/slatex.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="freedist" # license doesn't grant the right for modifications +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND="dev-scheme/guile" +DEPEND="${CDEPEND} dev-scheme/scmxlate !dev-scheme/plt-scheme" +RDEPEND="${CDEPEND}" + +S="${WORKDIR}/${PN}" + +TARGET_DIR="/usr/share/${PN}" + +src_prepare() { + sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" \ + -i scmxlate-slatex-src.scm || die "sed failed" +} + +src_compile() { + local command="(load \"/usr/share/scmxlate/scmxlate.scm\")" + guile -c "${command}" <<< "guile" || die +} + +src_install() { + insinto "${TARGET_DIR}" + doins ${PN}.scm || die "doins failed" + insinto /usr/share/texmf/tex/latex/slatex/ + doins ${PN}.sty || die "doins failed" + dobin ${PN} || die "dobin failed" +} |