dev-libs/newt: drop old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2020-06-25 07:01:55 -05:00
parent e0f06330eb
commit 39cd770e1d
4 changed files with 0 additions and 197 deletions
-1
View File
@@ -1,2 +1 @@
DIST newt-0.52.20.tar.gz 181163 BLAKE2B c6def9fae612f8dcffb396ea4013cf3e034da8f346fb7bf71de6fc5a59ee3d9d43bb4ad3bdfab7535d4d2eddeed62f72cea1861ac537f2bd7a62e7f76069c692 SHA512 0c10c373c6a5299a85fc38f32d3590fff3b26c4be40e6c85ed73c20724ef2fb094bf37a8c3b1b80a4bcdfc14fe59254d4419c391245c298a4e16788954b88236
DIST newt-0.52.21.tar.gz 174895 BLAKE2B a0d6a15f87fe04dc535e65fcd28606cd666142d006a53b6ee0c8387a6295215e44f1815ac56ceb56b561ca9b5bc8f3cab2d04b5decd62642f46b744333dc7e34 SHA512 d53d927996d17223e688bf54dccfabb2a3dc02bfe38ffc455964e86feaca3cd9f9ab5b19774433be430fa4d761cd9b6680b558f297acb86f80daeb6942f7d23c
@@ -1,13 +0,0 @@
diff --git a/Makefile.in b/Makefile.in
index 4ae284b..cd5c4a7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -127,7 +127,7 @@ $(LIBNEWTSH): $(SHAREDDIR) $(SHAREDOBJS)
ln -fs $(LIBNEWTSONAME) libnewt.so
ln -fs $(LIBNEWTSH) $(LIBNEWTSONAME)
-$(SHAREDDIR)/%.o : %.c
+$(SHAREDDIR)/%.o : %.c $(SHAREDDIR)
$(CC) $(SHCFLAGS) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
install: $(LIBNEWT) install-sh whiptail
-92
View File
@@ -1,92 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_6} )
inherit python-r1 multilib autotools toolchain-funcs
DESCRIPTION="Redhat's Newt windowing toolkit development files"
HOMEPAGE="https://pagure.io/newt"
SRC_URI="https://releases.pagure.org/newt/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="gpm nls tcl"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/popt-1.6
=sys-libs/slang-2*
elibc_uclibc? ( sys-libs/ncurses:0= )
gpm? ( sys-libs/gpm )
tcl? ( >=dev-lang/tcl-8.5:0 )
"
DEPEND="${RDEPEND}"
src_prepare() {
# bug 73850
if use elibc_uclibc; then
sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
fi
sed -i Makefile.in \
-e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
-e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
-e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
-e 's|instroot|DESTDIR|g' \
-e 's| make | $(MAKE) |g' \
-e "s| ar | $(tc-getAR) |g" \
|| die "sed Makefile.in"
local langs=""
if [ -n "${LINGUAS}" ]; then
for lang in ${LINGUAS}; do
test -r po/${lang}.po && langs="${langs} ${lang}.po"
done
sed -i po/Makefile \
-e "/^CATALOGS = /cCATALOGS = ${langs}" \
|| die "sed po/Makefile"
fi
eapply "${FILESDIR}"/${PN}-0.52.13-gold.patch \
"${FILESDIR}"/${PN}-0.52.14-tcl.patch \
"${FILESDIR}"/${PN}-0.52.15-makefile.patch
eapply_user
eautoreconf
}
src_configure() {
configuring() {
econf \
PYTHONVERS="${PYTHON}" \
$(use_with gpm gpm-support) \
$(use_with tcl) \
$(use_enable nls)
}
python_foreach_impl configuring
}
src_compile() {
building() {
emake PYTHONVERS="${EPYTHON}"
}
python_foreach_impl building
}
src_install() {
installit() {
emake \
DESTDIR="${D}" \
PYTHONVERS="${EPYTHON}" \
install
python_optimize
}
python_foreach_impl installit
dodoc peanuts.py popcorn.py tutorial.sgml
doman whiptail.1
einstalldocs
}
-91
View File
@@ -1,91 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_6} )
inherit python-r1 multilib autotools toolchain-funcs
DESCRIPTION="Redhat's Newt windowing toolkit development files"
HOMEPAGE="https://pagure.io/newt"
SRC_URI="https://releases.pagure.org/newt/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="gpm nls tcl"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/popt-1.6
=sys-libs/slang-2*
elibc_uclibc? ( sys-libs/ncurses:0= )
gpm? ( sys-libs/gpm )
tcl? ( >=dev-lang/tcl-8.5:0 )
"
DEPEND="${RDEPEND}"
src_prepare() {
# bug 73850
if use elibc_uclibc; then
sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die
fi
sed -i Makefile.in \
-e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \
-e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \
-e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \
-e 's|instroot|DESTDIR|g' \
-e 's| make | $(MAKE) |g' \
-e "s| ar | $(tc-getAR) |g" \
|| die "sed Makefile.in"
local langs=""
if [ -n "${LINGUAS}" ]; then
for lang in ${LINGUAS}; do
test -r po/${lang}.po && langs="${langs} ${lang}.po"
done
sed -i po/Makefile \
-e "/^CATALOGS = /cCATALOGS = ${langs}" \
|| die "sed po/Makefile"
fi
eapply "${FILESDIR}"/${PN}-0.52.13-gold.patch \
"${FILESDIR}"/${PN}-0.52.14-tcl.patch
eapply_user
eautoreconf
}
src_configure() {
configuring() {
econf \
PYTHONVERS="${PYTHON}" \
$(use_with gpm gpm-support) \
$(use_with tcl) \
$(use_enable nls)
}
python_foreach_impl configuring
}
src_compile() {
building() {
emake PYTHONVERS="${EPYTHON}"
}
python_foreach_impl building
}
src_install() {
installit() {
emake \
DESTDIR="${D}" \
PYTHONVERS="${EPYTHON}" \
install
python_optimize
}
python_foreach_impl installit
dodoc peanuts.py popcorn.py tutorial.sgml
doman whiptail.1
einstalldocs
}