Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/newt/files/, dev-libs/newt/
Date: Thu, 25 Jun 2020 12:02:15
Message-Id: 1593086515.39cd770e1db167958bede6c008a7fbdc2c3cea7a.bkohler@gentoo
1 commit: 39cd770e1db167958bede6c008a7fbdc2c3cea7a
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 25 12:01:55 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 25 12:01:55 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cd770e
7
8 dev-libs/newt: drop old
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 dev-libs/newt/Manifest | 1 -
14 dev-libs/newt/files/newt-0.52.15-makefile.patch | 13 ----
15 dev-libs/newt/newt-0.52.20.ebuild | 92 -------------------------
16 dev-libs/newt/newt-0.52.21.ebuild | 91 ------------------------
17 4 files changed, 197 deletions(-)
18
19 diff --git a/dev-libs/newt/Manifest b/dev-libs/newt/Manifest
20 index b3f5023371f..ea14fe20575 100644
21 --- a/dev-libs/newt/Manifest
22 +++ b/dev-libs/newt/Manifest
23 @@ -1,2 +1 @@
24 -DIST newt-0.52.20.tar.gz 181163 BLAKE2B c6def9fae612f8dcffb396ea4013cf3e034da8f346fb7bf71de6fc5a59ee3d9d43bb4ad3bdfab7535d4d2eddeed62f72cea1861ac537f2bd7a62e7f76069c692 SHA512 0c10c373c6a5299a85fc38f32d3590fff3b26c4be40e6c85ed73c20724ef2fb094bf37a8c3b1b80a4bcdfc14fe59254d4419c391245c298a4e16788954b88236
25 DIST newt-0.52.21.tar.gz 174895 BLAKE2B a0d6a15f87fe04dc535e65fcd28606cd666142d006a53b6ee0c8387a6295215e44f1815ac56ceb56b561ca9b5bc8f3cab2d04b5decd62642f46b744333dc7e34 SHA512 d53d927996d17223e688bf54dccfabb2a3dc02bfe38ffc455964e86feaca3cd9f9ab5b19774433be430fa4d761cd9b6680b558f297acb86f80daeb6942f7d23c
26
27 diff --git a/dev-libs/newt/files/newt-0.52.15-makefile.patch b/dev-libs/newt/files/newt-0.52.15-makefile.patch
28 deleted file mode 100644
29 index 55812bf1046..00000000000
30 --- a/dev-libs/newt/files/newt-0.52.15-makefile.patch
31 +++ /dev/null
32 @@ -1,13 +0,0 @@
33 -diff --git a/Makefile.in b/Makefile.in
34 -index 4ae284b..cd5c4a7 100644
35 ---- a/Makefile.in
36 -+++ b/Makefile.in
37 -@@ -127,7 +127,7 @@ $(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
38 - ln -fs $(LIBNEWTSONAME) libnewt.so
39 - ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
40 -
41 --$(SHAREDDIR)/%.o : %.c
42 -+$(SHAREDDIR)/%.o : %.c $(SHAREDDIR)
43 - $(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
44 -
45 - install: $(LIBNEWT) install-sh whiptail
46
47 diff --git a/dev-libs/newt/newt-0.52.20.ebuild b/dev-libs/newt/newt-0.52.20.ebuild
48 deleted file mode 100644
49 index e6482fc608c..00000000000
50 --- a/dev-libs/newt/newt-0.52.20.ebuild
51 +++ /dev/null
52 @@ -1,92 +0,0 @@
53 -# Copyright 1999-2020 Gentoo Authors
54 -# Distributed under the terms of the GNU General Public License v2
55 -
56 -EAPI=6
57 -
58 -PYTHON_COMPAT=( python{2_7,3_6} )
59 -
60 -inherit python-r1 multilib autotools toolchain-funcs
61 -
62 -DESCRIPTION="Redhat's Newt windowing toolkit development files"
63 -HOMEPAGE="https://pagure.io/newt"
64 -SRC_URI="https://releases.pagure.org/newt/${P}.tar.gz"
65 -
66 -LICENSE="LGPL-2"
67 -SLOT="0"
68 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
69 -IUSE="gpm nls tcl"
70 -
71 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
72 -
73 -RDEPEND="${PYTHON_DEPS}
74 - >=dev-libs/popt-1.6
75 - =sys-libs/slang-2*
76 - elibc_uclibc? ( sys-libs/ncurses:0= )
77 - gpm? ( sys-libs/gpm )
78 - tcl? ( >=dev-lang/tcl-8.5:0 )
79 - "
80 -DEPEND="${RDEPEND}"
81 -
82 -src_prepare() {
83 - # bug 73850
84 - if use elibc_uclibc; then
85 - sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
86 - fi
87 -
88 - sed -i Makefile.in \
89 - -e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
90 - -e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
91 - -e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
92 - -e 's|instroot|DESTDIR|g' \
93 - -e 's| make | $(MAKE) |g' \
94 - -e "s| ar | $(tc-getAR) |g" \
95 - || die "sed Makefile.in"
96 -
97 - local langs=""
98 - if [ -n "${LINGUAS}" ]; then
99 - for lang in ${LINGUAS}; do
100 - test -r po/${lang}.po && langs="${langs} ${lang}.po"
101 - done
102 - sed -i po/Makefile \
103 - -e "/^CATALOGS = /cCATALOGS = ${langs}" \
104 - || die "sed po/Makefile"
105 - fi
106 -
107 - eapply "${FILESDIR}"/${PN}-0.52.13-gold.patch \
108 - "${FILESDIR}"/${PN}-0.52.14-tcl.patch \
109 - "${FILESDIR}"/${PN}-0.52.15-makefile.patch
110 - eapply_user
111 - eautoreconf
112 -}
113 -
114 -src_configure() {
115 - configuring() {
116 - econf \
117 - PYTHONVERS="${PYTHON}" \
118 - $(use_with gpm gpm-support) \
119 - $(use_with tcl) \
120 - $(use_enable nls)
121 - }
122 - python_foreach_impl configuring
123 -}
124 -
125 -src_compile() {
126 - building() {
127 - emake PYTHONVERS="${EPYTHON}"
128 - }
129 - python_foreach_impl building
130 -}
131 -
132 -src_install() {
133 - installit() {
134 - emake \
135 - DESTDIR="${D}" \
136 - PYTHONVERS="${EPYTHON}" \
137 - install
138 - python_optimize
139 - }
140 - python_foreach_impl installit
141 - dodoc peanuts.py popcorn.py tutorial.sgml
142 - doman whiptail.1
143 - einstalldocs
144 -}
145
146 diff --git a/dev-libs/newt/newt-0.52.21.ebuild b/dev-libs/newt/newt-0.52.21.ebuild
147 deleted file mode 100644
148 index 3d062d61672..00000000000
149 --- a/dev-libs/newt/newt-0.52.21.ebuild
150 +++ /dev/null
151 @@ -1,91 +0,0 @@
152 -# Copyright 1999-2020 Gentoo Authors
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=6
156 -
157 -PYTHON_COMPAT=( python{2_7,3_6} )
158 -
159 -inherit python-r1 multilib autotools toolchain-funcs
160 -
161 -DESCRIPTION="Redhat's Newt windowing toolkit development files"
162 -HOMEPAGE="https://pagure.io/newt"
163 -SRC_URI="https://releases.pagure.org/newt/${P}.tar.gz"
164 -
165 -LICENSE="LGPL-2"
166 -SLOT="0"
167 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
168 -IUSE="gpm nls tcl"
169 -
170 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
171 -
172 -RDEPEND="${PYTHON_DEPS}
173 - >=dev-libs/popt-1.6
174 - =sys-libs/slang-2*
175 - elibc_uclibc? ( sys-libs/ncurses:0= )
176 - gpm? ( sys-libs/gpm )
177 - tcl? ( >=dev-lang/tcl-8.5:0 )
178 - "
179 -DEPEND="${RDEPEND}"
180 -
181 -src_prepare() {
182 - # bug 73850
183 - if use elibc_uclibc; then
184 - sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
185 - fi
186 -
187 - sed -i Makefile.in \
188 - -e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
189 - -e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
190 - -e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
191 - -e 's|instroot|DESTDIR|g' \
192 - -e 's| make | $(MAKE) |g' \
193 - -e "s| ar | $(tc-getAR) |g" \
194 - || die "sed Makefile.in"
195 -
196 - local langs=""
197 - if [ -n "${LINGUAS}" ]; then
198 - for lang in ${LINGUAS}; do
199 - test -r po/${lang}.po && langs="${langs} ${lang}.po"
200 - done
201 - sed -i po/Makefile \
202 - -e "/^CATALOGS = /cCATALOGS = ${langs}" \
203 - || die "sed po/Makefile"
204 - fi
205 -
206 - eapply "${FILESDIR}"/${PN}-0.52.13-gold.patch \
207 - "${FILESDIR}"/${PN}-0.52.14-tcl.patch
208 - eapply_user
209 - eautoreconf
210 -}
211 -
212 -src_configure() {
213 - configuring() {
214 - econf \
215 - PYTHONVERS="${PYTHON}" \
216 - $(use_with gpm gpm-support) \
217 - $(use_with tcl) \
218 - $(use_enable nls)
219 - }
220 - python_foreach_impl configuring
221 -}
222 -
223 -src_compile() {
224 - building() {
225 - emake PYTHONVERS="${EPYTHON}"
226 - }
227 - python_foreach_impl building
228 -}
229 -
230 -src_install() {
231 - installit() {
232 - emake \
233 - DESTDIR="${D}" \
234 - PYTHONVERS="${EPYTHON}" \
235 - install
236 - python_optimize
237 - }
238 - python_foreach_impl installit
239 - dodoc peanuts.py popcorn.py tutorial.sgml
240 - doman whiptail.1
241 - einstalldocs
242 -}