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