summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-04-16 21:14:26 +0200
committerUlrich Müller <ulm@gentoo.org>2018-04-16 21:16:16 +0200
commite3702dd6d489ed6230f31132f4aa31d3d4ea8163 (patch)
treee70d495cefb466f21d47aa6905d5b7d45c0daf37 /dev-tex/slatex
parentapp-eselect/eselect-python: stable for all wrt bug #653328 (diff)
downloadgentoo-e3702dd6d489ed6230f31132f4aa31d3d4ea8163.tar.gz
gentoo-e3702dd6d489ed6230f31132f4aa31d3d4ea8163.tar.bz2
gentoo-e3702dd6d489ed6230f31132f4aa31d3d4ea8163.zip
dev-tex/slatex: Version bump, relicensed to Apache-2.0.
Non-maintainer commit: Bump EAPI to 6, update SRC_URI and LICENSE. Upstream has relicensed the package; apart from that, there are no changes from slatex-20090928. Closes: https://bugs.gentoo.org/632504 Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-tex/slatex')
-rw-r--r--dev-tex/slatex/Manifest2
-rw-r--r--dev-tex/slatex/slatex-20090928_p20180415.ebuild (renamed from dev-tex/slatex/slatex-20090928.ebuild)25
2 files changed, 13 insertions, 14 deletions
diff --git a/dev-tex/slatex/Manifest b/dev-tex/slatex/Manifest
index df8ff4a14e9d..da5cf04cb08e 100644
--- a/dev-tex/slatex/Manifest
+++ b/dev-tex/slatex/Manifest
@@ -1 +1 @@
-DIST slatex-20090928.tar.bz2 47891 BLAKE2B dfbc5d5f3b9135e211ecd0fb6e59aff778bbcce4e4be2e8cb2bd1e8cb270c958a35d3eb8f80a25aa1619afe962a14650bf88235d37bfd7099ac3fff5a81204a7 SHA512 4b289ba86d4e157319436d55cf7951dc5493c40bf3901fe16b879db68a234bfbd71d6dc21b18f43d77a637c973df126709a8e63086507af6ae3b2f3dc712abb1
+DIST slatex-20090928_p20180415.tar.bz2 48075 BLAKE2B b79b11a790411cd02a1e5bcb8c2db023696d4387e0b68af79f0f06cdfbc7e0bd59b0274e6fd5a13665de86274a20998dfa64f45f72c3468773c668a5bf0e2ecf SHA512 13d86f30409918d46d83f4c052d19ab48521f2435c3c142e673aac81e42c04bd2b0f597d46002bc7cc3109215b1954b23329266ad346d123845b6d9a8f45efc4
diff --git a/dev-tex/slatex/slatex-20090928.ebuild b/dev-tex/slatex/slatex-20090928_p20180415.ebuild
index 476a4ab04f53..a74acfadcc98 100644
--- a/dev-tex/slatex/slatex-20090928.ebuild
+++ b/dev-tex/slatex/slatex-20090928_p20180415.ebuild
@@ -1,29 +1,28 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="3"
+EAPI=6
# for updating the texmf database, id est latex-package_rehash
inherit latex-package
DESCRIPTION="SLaTeX is a Scheme program allowing you to write Scheme 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"
+SRC_URI="http://www.ccs.neu.edu/home/dorai/slatex/${PN}.tar.bz2 -> ${P}.tar.bz2"
-LICENSE="freedist" # license doesn't grant the right for modifications
+LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-CDEPEND="dev-scheme/guile"
-DEPEND="${CDEPEND} dev-scheme/scmxlate !dev-scheme/plt-scheme"
-RDEPEND="${CDEPEND}"
+RDEPEND="dev-scheme/guile"
+DEPEND="${RDEPEND}
+ dev-scheme/scmxlate"
S="${WORKDIR}/${PN}"
-
TARGET_DIR="/usr/share/${PN}"
src_prepare() {
+ eapply_user
sed "s:\"/home/dorai/.www/slatex/slatex.scm\":\"${TARGET_DIR}/slatex.scm\":" \
-i scmxlate-slatex-src.scm || die "sed failed"
}
@@ -35,8 +34,8 @@ src_compile() {
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"
+ doins slatex.scm
+ insinto "${TEXMF}/tex/latex/${PN}"
+ doins slatex.sty
+ dobin slatex
}