app-misc/realpath: drop old EAPI=4

* This drops the old EAPI=4
* hppa has failed to stabilize thus it also drops hppa to ~
* Only stable dep is app-admin/eselect which has an || on coreutils and
  realpath

Closes: https://bugs.gentoo.org/724020
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2020-09-22 10:31:20 -04:00
parent 4a0c75df76
commit 2bd7c23b8c
2 changed files with 0 additions and 70 deletions

View File

@@ -1,4 +1,2 @@
DIST realpath_1.17.tar.gz 17800 BLAKE2B f2df9d9f3c73aaf6b4240518cc8ff361b97fa60c9493fa0148de6f14ad18dfa2ef05557932dec95a8b734b5d78881f0e239be41cba7bdaf4e353c092093ada3d SHA512 d4f8105e9256b140918dfa400eaac07bec9c29bced7284ab2a3a96282b13b59dca32ab0af38836dfe89dd4e3bf8b038ef4cf61a96d19951f46ac13264ceeec96
DIST realpath_1.17_i386.deb 16372 BLAKE2B c8d7c2eb410c8c8129d6847d7cfe13265136fedcb51eb4bdaf62dda0dace1b9c0383445c1f407b404085306d6deff1a196b26cb7bb68b225710054b6bea582fe SHA512 15704a27f3f140c4d69411bfd9c319e3205e7b70cccefdc5bec94ad10d6b6c6ad948c2fa51cf2ed69c8884928ba6dcb83a865185f3b010dc6eb343c2125c2118
DIST realpath_1.18.tar.gz 17618 BLAKE2B c42cbade8022a0aaafbf012c5f4db899bdadac6d06743a64fa0cf58c0533e9574fe1389939d296986fc1307362399753f58650d9029bf240fc6dc980c17a59f4 SHA512 98daa53b7a6d4b40ea3ff9ea89b7cb97782dd53f031e41a228a5aa8d2a41ae7920cbc1e2213f568098496e5c25da1381f08fb939f8668733a3c391f744fd16ed
DIST realpath_1.18_i386.deb 16426 BLAKE2B 934d4d61bda3ce069959f3cf818b8d0b206c95ef458487f12c8afa59014dc141dcdf0ebd18a9540dd3104358139ce7f9317aabd8027dca6883f55905cc198d83 SHA512 fb2062041f8089a5ff07f76a9833e9d8bbe9560d72d4d5803c9524aeb782f9f4a135921b9984432ccfa361edc785a0f33785377ddf031a07ed316861a00a6f37

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils toolchain-funcs flag-o-matic multilib prefix
DESCRIPTION="Return the canonicalized absolute pathname"
HOMEPAGE="http://packages.debian.org/unstable/utils/realpath"
SRC_URI="
mirror://debian/pool/main/r/${PN}/${PN}_${PV}.tar.gz
nls? ( mirror://debian/pool/main/r/${PN}/${PN}_${PV}_i386.deb )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
RDEPEND="
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
elibc_mintlib? ( virtual/libiconv )"
src_unpack() {
unpack ${PN}_${PV}.tar.gz
if use nls; then
# Unpack the .deb file, in order to get the preprocessed man page
# translations. This way we avoid a dependency on app-text/po4a.
mkdir deb
cd deb
unpack ${PN}_${PV}_i386.deb
unpack ./data.tar.gz
fi
}
src_prepare() {
use nls || epatch "${FILESDIR}"/${PN}-1.16-nonls.patch
epatch "${FILESDIR}"/${PN}-1.17-build.patch
epatch "${FILESDIR}"/${PN}-1.14-no-po4a.patch
epatch "${FILESDIR}"/${PN}-1.15-prefix.patch
eprefixify common.mk
}
src_compile() {
tc-export CC
use nls && use !elibc_glibc && append-libs -lintl
[[ ${CHOST} == *-mint* ]] && append-libs "-liconv"
local subdir
for subdir in src man $(usex nls po ''); do
emake MAKE_VERBOSE=yes VERSION="${PV}" -C ${subdir}
done
}
src_install() {
emake VERSION="${PV}" SUBDIRS="src man $(usex nls po '')" \
DESTDIR="${D}" install
newdoc debian/changelog ChangeLog.debian
if use nls; then
local dir
for dir in "${WORKDIR}"/deb/usr/share/man/*; do
[ -f "${dir}"/man1/realpath.1 ] || continue
newman "${dir}"/man1/realpath.1 realpath.${dir##*/}.1
done
fi
}