Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/discount/
Date: Mon, 28 Dec 2020 19:04:02
Message-Id: 1609181923.ed4e70123e1646917ad8a6dd094bf5e2d6853357.bkohler@gentoo
1 commit: ed4e70123e1646917ad8a6dd094bf5e2d6853357
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 28 18:58:43 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 18:58:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed4e7012
7
8 app-text/discount: drop old
9
10 Package-Manager: Portage-3.0.12, Repoman-3.0.2
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 app-text/discount/Manifest | 2 -
14 app-text/discount/discount-2.2.4.ebuild | 71 ---------------------------------
15 app-text/discount/discount-2.2.6.ebuild | 69 --------------------------------
16 3 files changed, 142 deletions(-)
17
18 diff --git a/app-text/discount/Manifest b/app-text/discount/Manifest
19 index 237878fcfa8..da733602140 100644
20 --- a/app-text/discount/Manifest
21 +++ b/app-text/discount/Manifest
22 @@ -1,3 +1 @@
23 -DIST discount-2.2.4.tar.bz2 99482 BLAKE2B b04c372cef27d0a4a09a588eb66376dc70494eefe5c8a9e7aedb8075f081a6f32eafbb9671c29deea7d89128f4f30c93d38c17268eccbb1c917db6c1b7d3e040 SHA512 0650e0ce3f6948e3a30fdaa1a810e895f64621c55df46c7a5ed8755e65c1b718b7a1d1a1bfe0a87a3a59fbb13fca8907718f1aa095125a4b6e152602b8e490cf
24 -DIST discount-2.2.6.tar.bz2 102303 BLAKE2B 6ffcb64ff8889d79832b28db9a824e5a30bd194a6746dd08e4782cb4b7e60cf47c44f244884fc10372fc2b052fff7d70e6c263e6f4175829d1aedbc8c2ea15c6 SHA512 b67395afed0899563e28fdd2ddd5016d4f382b6b7e46612d12853d701ba191b90771d40e1223e24e3fbf497cad01fdd2e1c67a6b2bf4f6cf082f3fbe981bd002
25 DIST discount-2.2.7.tar.bz2 102277 BLAKE2B 58ec3bce2b8fc41a090d9b81b4326cbf54e36bf774f4f9ef63c2a2b1d34ba464e9f0a021f19b4fef165da426742af3045a631af005371d1a8a4cd81dc0be3367 SHA512 1b61eb7c625bb50da0dbe97350a0ccbb15930ccaef449c4b4659950907bce3c0564dabf20578379a7fdd0e375f5d4d5b61acd34db474a85e942b60373688bd08
26
27 diff --git a/app-text/discount/discount-2.2.4.ebuild b/app-text/discount/discount-2.2.4.ebuild
28 deleted file mode 100644
29 index d7b7fb5209f..00000000000
30 --- a/app-text/discount/discount-2.2.4.ebuild
31 +++ /dev/null
32 @@ -1,71 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit toolchain-funcs
39 -
40 -DESCRIPTION="A Markdown-to HTML translator written in C"
41 -HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
42 -SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
43 -
44 -LICENSE="BSD"
45 -SLOT="0"
46 -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 sparc x86"
47 -IUSE="minimal test"
48 -RESTRICT="!test? ( test )"
49 -
50 -src_prepare() {
51 - default
52 -
53 - # for QA, we remove the Makefile’s usage of install -s.
54 - # Drop ldconfig invocation.
55 - # Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
56 - # at that point).
57 - sed -i \
58 - -e '/INSTALL_PROGRAM/s,\$_strip ,,' \
59 - -e 's/\(LDCONFIG=\).*/\1:/' \
60 - -e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
61 - configure.inc || die "sed configure.inc failed"
62 -
63 - # Add LDFLAGS and CPPFLAGS hackily.
64 - sed -i \
65 - -e 's/^CC[ \t]*=.*/& $(CPPFLAGS)/' \
66 - -e 's/^LFLAGS[ \t]*=.*/& $(LDFLAGS)/' \
67 - Makefile.in || die "Cannot fix LDFLAGS and CPPFLAGS"
68 -}
69 -
70 -src_configure() {
71 - local configure_call=(
72 - ./configure.sh
73 - --libdir="${EPREFIX}"usr/"$(get_libdir)"
74 - --prefix="${EPREFIX}"usr
75 - --mandir="${EPREFIX}"usr/share/man
76 - --shared
77 - --pkg-config
78 - $(usex minimal '' --enable-all-features)
79 - # Enable deterministic HTML generation behavior. Otherwise, will
80 - # actually call rand() as part of its serialization code...
81 - --debian-glitch
82 - )
83 - einfo "Running ${configure_call[@]}"
84 - CC="$(tc-getCC)" \
85 - "${configure_call[@]}" || die
86 -}
87 -
88 -src_install() {
89 - emake \
90 - DESTDIR="${D}" \
91 - $(usex minimal install install.everything) \
92 - SAMPLE_PFX="${PN}-"
93 -
94 - insinto /usr/$(get_libdir)/pkgconfig
95 - doins libmarkdown.pc
96 -}
97 -
98 -pkg_postinst() {
99 - if ! use minimal; then
100 - elog 'Sample binaries with overly-generic names have been'
101 - elog "prefixed with \"${PN}-\"."
102 - fi
103 -}
104
105 diff --git a/app-text/discount/discount-2.2.6.ebuild b/app-text/discount/discount-2.2.6.ebuild
106 deleted file mode 100644
107 index 9cb5d5ea9f1..00000000000
108 --- a/app-text/discount/discount-2.2.6.ebuild
109 +++ /dev/null
110 @@ -1,69 +0,0 @@
111 -# Copyright 1999-2020 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=6
115 -
116 -inherit toolchain-funcs
117 -
118 -DESCRIPTION="A Markdown-to HTML translator written in C"
119 -HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
120 -SRC_URI="http://www.pell.portland.or.us/~orc/Code/${PN}/${P}.tar.bz2"
121 -
122 -LICENSE="BSD"
123 -SLOT="0"
124 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
125 -IUSE="minimal test"
126 -RESTRICT="!test? ( test )"
127 -
128 -PATCHES=( "${FILESDIR}"/gethopt-undefined.patch )
129 -
130 -src_prepare() {
131 - default
132 -
133 - # for QA, we remove the Makefile’s usage of install -s.
134 - # Drop ldconfig invocation.
135 - # Force “librarian.sh” to respect LDFLAGS ($FLAGS should have CFLAGS
136 - # at that point).
137 - sed -i \
138 - -e '/INSTALL_PROGRAM/s,\$_strip ,,' \
139 - -e 's/\(LDCONFIG=\).*/\1:/' \
140 - -e 's/\(.\)\$FLAGS/& \1$LDFLAGS/' \
141 - configure.inc || die "sed configure.inc failed"
142 -}
143 -
144 -src_configure() {
145 - local configure_call=(
146 - ./configure.sh
147 - --libdir="${EPREFIX}"usr/"$(get_libdir)"
148 - --prefix="${EPREFIX}"usr
149 - --mandir="${EPREFIX}"usr/share/man
150 - --shared
151 - --pkg-config
152 - $(usex minimal '' --enable-all-features)
153 - # Enable deterministic HTML generation behavior. Otherwise, will
154 - # actually call rand() as part of its serialization code...
155 - --debian-glitch
156 - )
157 - einfo "Running ${configure_call[@]}"
158 - CC="$(tc-getCC)" AR="$(tc-getAR)" \
159 - "${configure_call[@]}" || die
160 -}
161 -
162 -src_compile() {
163 - emake libmarkdown
164 - emake
165 -}
166 -
167 -src_install() {
168 - emake \
169 - DESTDIR="${D}" \
170 - $(usex minimal install install.everything) \
171 - SAMPLE_PFX="${PN}-"
172 -}
173 -
174 -pkg_postinst() {
175 - if ! use minimal; then
176 - elog 'Sample binaries with overly-generic names have been'
177 - elog "prefixed with \"${PN}-\"."
178 - fi
179 -}