diff options
author | Ben Kohler <bkohler@gentoo.org> | 2022-07-28 08:01:27 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2022-07-28 08:54:49 -0500 |
commit | 58fa69a4bd5db302853fa8b113fc8a62013f532a (patch) | |
tree | cd3b7559e57f311cc5698d520b0fa3223935c945 /dev-libs/newt | |
parent | www-servers/apache: add github upstream metadata (diff) | |
download | gentoo-58fa69a4bd5db302853fa8b113fc8a62013f532a.tar.gz gentoo-58fa69a4bd5db302853fa8b113fc8a62013f532a.tar.bz2 gentoo-58fa69a4bd5db302853fa8b113fc8a62013f532a.zip |
dev-libs/newt: drop 0.52.21-r1
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs/newt')
-rw-r--r-- | dev-libs/newt/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.52.21-r1.ebuild | 100 |
2 files changed, 0 insertions, 101 deletions
diff --git a/dev-libs/newt/Manifest b/dev-libs/newt/Manifest index 0cd49159a543..0ca963110391 100644 --- a/dev-libs/newt/Manifest +++ b/dev-libs/newt/Manifest @@ -1,2 +1 @@ -DIST newt-0.52.21.tar.gz 174895 BLAKE2B a0d6a15f87fe04dc535e65fcd28606cd666142d006a53b6ee0c8387a6295215e44f1815ac56ceb56b561ca9b5bc8f3cab2d04b5decd62642f46b744333dc7e34 SHA512 d53d927996d17223e688bf54dccfabb2a3dc02bfe38ffc455964e86feaca3cd9f9ab5b19774433be430fa4d761cd9b6680b558f297acb86f80daeb6942f7d23c DIST newt-0.52.21_p20210816.tar.gz 128555 BLAKE2B 97c791d7301b657bec68045f2cd9bbe16eef0b099a6304e2336414837b36492bd794be04d0bbcd9eadc6fcd000ba2563a5ab90be5d61249390a6ea5435091f97 SHA512 06c1d5634d88a6126de5eddd1c4d436639a4d739b100f391638b0429a3941eabcaa0ff7398f498d735ec0af5e88deb14178110ab11bf5301ef661f7953692bc4 diff --git a/dev-libs/newt/newt-0.52.21-r1.ebuild b/dev-libs/newt/newt-0.52.21-r1.ebuild deleted file mode 100644 index f5d64f25fb16..000000000000 --- a/dev-libs/newt/newt-0.52.21-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit autotools python-r1 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 ~riscv sparc x86" -IUSE="gpm nls tcl" -RESTRICT="test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - >=dev-libs/popt-1.6 - =sys-libs/slang-2* - gpm? ( sys-libs/gpm ) - tcl? ( >=dev-lang/tcl-8.5:0 ) - " -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.52.13-gold.patch - "${FILESDIR}"/${PN}-0.52.14-tcl.patch - "${FILESDIR}"/${PN}-0.52.21-python-sitedir.patch - "${FILESDIR}"/${PN}-0.52.21-makefile-LDFLAGS-ordering.patch - "${FILESDIR}"/${PN}-0.52.21-fix-non-POSIX-backticks.patch -) - -src_prepare() { - 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" - - if [[ -n ${LINGUAS} ]]; then - local lang langs - 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 - - default - eautoreconf - - # can't build out-of-source - python_copy_sources -} - -src_configure() { - configuring() { - econf \ - PYTHONVERS="${PYTHON}" \ - $(use_with gpm gpm-support) \ - $(use_with tcl) \ - $(use_enable nls) - } - python_foreach_impl run_in_build_dir configuring -} - -src_compile() { - building() { - emake PYTHONVERS="${EPYTHON}" - } - python_foreach_impl run_in_build_dir building -} - -src_install() { - installit() { - emake \ - DESTDIR="${D}" \ - PYTHON_SITEDIR="$(python_get_sitedir)" \ - PYTHONVERS="${EPYTHON}" \ - install - python_optimize - } - python_foreach_impl run_in_build_dir installit - dodoc peanuts.py popcorn.py tutorial.sgml - doman whiptail.1 - einstalldocs - - # don't want static archives - rm "${ED}"/usr/$(get_libdir)/libnewt.a || die -} |