Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tex/latex2html/
Date: Sat, 03 Jul 2021 04:18:30
Message-Id: 1625285882.8cef2ed0793aebd50919327c2dc70a39980a38f9.sam@gentoo
1 commit: 8cef2ed0793aebd50919327c2dc70a39980a38f9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 3 04:18:02 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 3 04:18:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cef2ed0
7
8 dev-tex/latex2html: drop 2015, 2017.2-r2
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-tex/latex2html/Manifest | 2 -
13 dev-tex/latex2html/latex2html-2015.ebuild | 81 -------------------------
14 dev-tex/latex2html/latex2html-2017.2-r2.ebuild | 82 --------------------------
15 3 files changed, 165 deletions(-)
16
17 diff --git a/dev-tex/latex2html/Manifest b/dev-tex/latex2html/Manifest
18 index 8a5311dffa9..3b05b13e64f 100644
19 --- a/dev-tex/latex2html/Manifest
20 +++ b/dev-tex/latex2html/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST latex2html-2015.tar.gz 1217699 BLAKE2B e9daea005b7674ebb6a8c5902b77b609a633515b4127a2b3fe4d1b15bc2428c02ccc024df62545d5fe63e7034ad4b1532905fee97057d49730ec27f12913c55e SHA512 dd031944250efd28691edeba5e83b4c5c0deec3a2e7c2ab2a9bd285a911f6ab21a02cd0ef697bebc2c7c7c0ebd285493c1d6b01b0db9355fc7f3316a2af65e2c
23 -DIST latex2html-2017.2.tar.gz 1131438 BLAKE2B 0a13cca95e1f7d8a9fd7d6b077726e083a6d33fbc712b883be46d57fbdea91d1d02a2a2f1990c5827cf2a4b9db18033f41f326af0a69770988bf4ff5e53a010a SHA512 0e1ab1b2005dc71988b1500884d7a13bfbdce73a62ef7f6cc6e83e29d776c98eb09cff3f8d0c162493586094c9ca6f07d47e98d2137f223f27044d03e9bb3473
24 DIST latex2html-2021.2.tar.gz 1139791 BLAKE2B 4fa9b45a33dbfb5c9e3bb45ebab19edb5d7a1d9c882ab30e75afbda7ad902cf519403b685f1f30b69b3d6ec976aa72b3065851b6d24b00c2e626e496ea8afd79 SHA512 b8d742b427e833f732457194cc60c043f750d202c46fb0d1d4e46df8e6d4dabacb5b474084aec46aa4eed68ee0249f3c0b053b5446401d09034e7f59148ad18a
25 DIST latex2html-2021.tar.gz 1130224 BLAKE2B c3775b2546a866834c0ed94362a428f2cfe48e8fe7337261993fe1f473350ddb778c50cc4393fe33c9f3829e5dc6f5c0ef43ae6a4c21481746023ef5939308da SHA512 f1f087a58911410b3ca9f4b60149b66d17608a9a56d0e8f74f08e6d6595e3e9c4f5378a7ab5cfc7488cd182a0dc3d4c151283b57636a70271c7f734e69ed0608
26
27 diff --git a/dev-tex/latex2html/latex2html-2015.ebuild b/dev-tex/latex2html/latex2html-2015.ebuild
28 deleted file mode 100644
29 index 1fb4a5610ee..00000000000
30 --- a/dev-tex/latex2html/latex2html-2015.ebuild
31 +++ /dev/null
32 @@ -1,81 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -DESCRIPTION="Convertor written in Perl that converts LaTeX documents to HTML"
39 -HOMEPAGE="https://www.latex2html.org/"
40 -SRC_URI="http://mirrors.ctan.org/support/latex2html/${P}.tar.gz"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
45 -IUSE="gif png"
46 -
47 -DEPEND="app-text/ghostscript-gpl
48 - virtual/latex-base
49 - media-libs/netpbm
50 - dev-lang/perl
51 - gif? ( media-libs/giflib )
52 - png? ( media-libs/libpng:0 )"
53 -RDEPEND="${DEPEND}"
54 -
55 -PATCHES=( "${FILESDIR}/${PN}"-{convert-length,perl_name,extract-major-version-2,destdir}.patch )
56 -
57 -src_prepare() {
58 - default
59 -
60 - # Dont install old url.sty and other files
61 - # Bug #240980
62 - rm texinputs/url.sty texinputs/latin9.def \
63 - || die "failed to remove duplicate latex files"
64 -
65 - sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
66 -}
67 -
68 -src_configure() {
69 - local myconf
70 -
71 - use gif || use png || myconf="${myconf} --disable-images"
72 -
73 - econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
74 - --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
75 - --enable-pk \
76 - --enable-eps \
77 - --enable-reverse \
78 - --enable-pipes \
79 - --enable-paths \
80 - --enable-wrapper \
81 - --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
82 - --without-mktexlsr \
83 - $(use_enable gif) \
84 - $(use_enable png) \
85 - ${myconf}
86 -}
87 -
88 -src_install() {
89 - emake DESTDIR="${D}" install
90 -
91 - # make /usr/share/latex2html sticky
92 - keepdir /usr/share/latex2html
93 -
94 - # clean the perl scripts up to remove references to the sandbox
95 - local dir="${ED}/usr/$(get_libdir)/latex2html"
96 - if use png || use gif; then
97 - # pstoimg isn't built unless gif or png useflags are enabled
98 - sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die
99 - fi
100 - sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die
101 - sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die
102 - sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die
103 -
104 - dodoc BUGS Changes FAQ MANIFEST README TODO
105 -}
106 -
107 -pkg_postinst() {
108 - "${EROOT}"/usr/bin/mktexlsr
109 -}
110 -
111 -pkg_postrm() {
112 - "${EROOT}"/usr/bin/mktexlsr
113 -}
114
115 diff --git a/dev-tex/latex2html/latex2html-2017.2-r2.ebuild b/dev-tex/latex2html/latex2html-2017.2-r2.ebuild
116 deleted file mode 100644
117 index c89d575b027..00000000000
118 --- a/dev-tex/latex2html/latex2html-2017.2-r2.ebuild
119 +++ /dev/null
120 @@ -1,82 +0,0 @@
121 -# Copyright 1999-2021 Gentoo Authors
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -EAPI=6
125 -
126 -DESCRIPTION="Convertor written in Perl that converts LaTeX documents to HTML"
127 -HOMEPAGE="https://www.latex2html.org/"
128 -SRC_URI="http://mirrors.ctan.org/support/latex2html/${P}.tar.gz"
129 -
130 -LICENSE="GPL-2"
131 -SLOT="0"
132 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
133 -IUSE="gif png"
134 -
135 -DEPEND="app-text/ghostscript-gpl
136 - virtual/latex-base
137 - media-libs/netpbm
138 - dev-lang/perl
139 - gif? ( media-libs/giflib )
140 - png? ( media-libs/libpng:0 )"
141 -RDEPEND="${DEPEND}"
142 -
143 -PATCHES=(
144 - "${FILESDIR}/${PN}"-{destdir,tests}.patch
145 - "${FILESDIR}/${P}"-dotinc.patch
146 - "${FILESDIR}/${P}"-dotinc-2.patch
147 - "${FILESDIR}/${P}"-brace.patch
148 - "${FILESDIR}/${P}"-brace-2.patch
149 -)
150 -
151 -src_prepare() {
152 - default
153 -
154 - sed -i -e 's%@PERL@%'"${EPREFIX}"'/usr/bin/perl%g' wrapper/unix.pin || die
155 -}
156 -
157 -src_configure() {
158 - local myconf
159 -
160 - use gif || use png || myconf="${myconf} --disable-images"
161 -
162 - econf --libdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
163 - --shlibdir="${EPREFIX}"/usr/$(get_libdir)/latex2html \
164 - --enable-pk \
165 - --enable-eps \
166 - --enable-reverse \
167 - --enable-pipes \
168 - --enable-paths \
169 - --enable-wrapper \
170 - --with-texpath="${EPREFIX}"/usr/share/texmf-site/tex/latex/html \
171 - --without-mktexlsr \
172 - $(use_enable gif) \
173 - $(use_enable png) \
174 - ${myconf}
175 -}
176 -
177 -src_install() {
178 - emake DESTDIR="${D}" install
179 -
180 - # make /usr/share/latex2html sticky
181 - keepdir /usr/share/latex2html
182 -
183 - # clean the perl scripts up to remove references to the sandbox
184 - local dir="${ED}/usr/$(get_libdir)/latex2html"
185 - if use png || use gif; then
186 - # pstoimg isn't built unless gif or png useflags are enabled
187 - sed -i -e "s:${T}:/tmp:g" "${dir}"/pstoimg.pl || die
188 - fi
189 - sed -i -e "s:${S}::g" "${dir}"/latex2html.pl || die
190 - sed -i -e "s:${T}:/tmp:g" "${dir}"/cfgcache.pm || die
191 - sed -i -e "s:${T}:/tmp:g" "${dir}"/l2hconf.pm || die
192 -
193 - dodoc BUGS Changes FAQ MANIFEST README.md TODO
194 -}
195 -
196 -pkg_postinst() {
197 - "${EROOT}"/usr/bin/mktexlsr
198 -}
199 -
200 -pkg_postrm() {
201 - "${EROOT}"/usr/bin/mktexlsr
202 -}