Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/opensp/
Date: Sat, 29 Jan 2022 10:09:33
Message-Id: 1643450945.b5a43addf34f0151132625abe5f33a3e7c6ae08b.jsmolic@gentoo
1 commit: b5a43addf34f0151132625abe5f33a3e7c6ae08b
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 10:09:02 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 10:09:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a43add
7
8 app-text/opensp: drop 1.5.2-r6 (EAPI 5--)
9
10 Bug: https://bugs.gentoo.org/783651
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 app-text/opensp/opensp-1.5.2-r6.ebuild | 81 ----------------------------------
14 1 file changed, 81 deletions(-)
15
16 diff --git a/app-text/opensp/opensp-1.5.2-r6.ebuild b/app-text/opensp/opensp-1.5.2-r6.ebuild
17 deleted file mode 100644
18 index 433e25dafb4a..000000000000
19 --- a/app-text/opensp/opensp-1.5.2-r6.ebuild
20 +++ /dev/null
21 @@ -1,81 +0,0 @@
22 -# Copyright 1999-2022 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -inherit epatch flag-o-matic autotools
27 -
28 -MY_P=${P/opensp/OpenSP}
29 -
30 -DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity management"
31 -HOMEPAGE="http://openjade.sourceforge.net/"
32 -SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz"
33 -
34 -LICENSE="MIT"
35 -SLOT="0"
36 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
37 -IUSE="doc nls static-libs test"
38 -RESTRICT="!test? ( test )"
39 -
40 -RDEPEND="
41 - elibc_glibc? ( net-libs/libnsl:0= )
42 -"
43 -DEPEND="${RDEPEND}
44 - nls? ( sys-devel/gettext )
45 - doc? (
46 - app-text/xmlto
47 - app-text/docbook-xml-dtd:4.1.2
48 - )
49 - test? (
50 - app-text/docbook-xml-dtd:4.5
51 - app-text/openjade
52 - app-text/sgml-common
53 - )"
54 -
55 -S=${WORKDIR}/${MY_P}
56 -
57 -src_prepare() {
58 - epatch "${FILESDIR}"/${P}-fix-segfault.patch
59 - epatch "${FILESDIR}"/${P}-c11-using.patch
60 - use prefix && eautoreconf
61 -}
62 -
63 -src_configure() {
64 - export CONFIG_SHELL=${BASH} # configure needs bash
65 -
66 - # The following filters are taken from openjade's ebuild. See bug #100828.
67 - # Please note! Opts are disabled. If you know what you're doing
68 - # feel free to remove this line. It may cause problems with
69 - # docbook-sgml-utils among other things.
70 - #ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
71 - strip-flags
72 -
73 - econf \
74 - --enable-http \
75 - --enable-default-catalog="${EPREFIX}"/etc/sgml/catalog \
76 - --enable-default-search-path="${EPREFIX}"/usr/share/sgml \
77 - --datadir="${EPREFIX}"/usr/share/sgml/${P} \
78 - $(use_enable nls) \
79 - $(use_enable doc doc-build) \
80 - $(use_enable static-libs static)
81 -}
82 -
83 -src_compile() {
84 - emake pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}
85 -}
86 -
87 -src_test() {
88 - # Skipping tests known not to work
89 - emake SHOWSTOPPERS= check
90 - SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
91 -}
92 -
93 -src_install() {
94 - emake \
95 - DESTDIR="${D}" \
96 - pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
97 - install
98 -
99 - find "${ED}" -name '*.la' -delete || die
100 -
101 - dodoc AUTHORS BUGS ChangeLog NEWS README
102 -}