diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2019-10-16 11:01:28 +0200 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2019-10-16 11:02:42 +0200 |
commit | 01ff6b3e2a7898b1f51f87b30ddf3ae9074deb62 (patch) | |
tree | cfd9c5c5183aafc2a743818af32c200c7487f072 /dev-util/confix-wrapper | |
parent | x11-themes/qtcurve: Drop 1.9.0 (r0) (diff) | |
download | gentoo-01ff6b3e2a7898b1f51f87b30ddf3ae9074deb62.tar.gz gentoo-01ff6b3e2a7898b1f51f87b30ddf3ae9074deb62.tar.bz2 gentoo-01ff6b3e2a7898b1f51f87b30ddf3ae9074deb62.zip |
dev-util/confix-wrapper: bump to EAPI 7
Closes: https://bugs.gentoo.org/697324
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'dev-util/confix-wrapper')
-rw-r--r-- | dev-util/confix-wrapper/confix-wrapper-1.ebuild (renamed from dev-util/confix-wrapper/confix-wrapper-0.ebuild) | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dev-util/confix-wrapper/confix-wrapper-0.ebuild b/dev-util/confix-wrapper/confix-wrapper-1.ebuild index e8f8dcb4d2cb..685b1b97161d 100644 --- a/dev-util/confix-wrapper/confix-wrapper-0.ebuild +++ b/dev-util/confix-wrapper/confix-wrapper-1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 DESCRIPTION="Wrapper to select either confix1.py or confix2.py" HOMEPAGE="http://confix.sourceforge.net" @@ -10,10 +10,10 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" IUSE="" +S=${WORKDIR} -src_install() { - dodir /usr/bin - cat >> "${ED:-${D}}"usr/bin/confix <<EOF +src_unpack() { + cat >> confix <<EOF || die #! ${EPREFIX:-}/bin/sh confixpy= if [ -f ./Confix2.dir ]; then @@ -28,6 +28,8 @@ case \$# in *) exec \${confixpy} "\$@" ;; esac EOF - fperms a+x /usr/bin/confix || die "cannot set permissions" - dosym confix /usr/bin/confix.py || die "cannot create 'confix' symlink" +} + +src_install() { + dobin confix } |