forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-misc/pip: revbump: EAPI 7, perl-module.eclass
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas K. Hüttel <[email protected]>
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
GENTOO_DEPEND_ON_PERL=noslotop | ||
inherit perl-module | ||
|
||
DESCRIPTION="Wrapper around programs that don't support stdin/stdout" | ||
HOMEPAGE="http://membled.com/work/apps/pip/" | ||
SRC_URI="http://membled.com/work/apps/${PN}/${P}.tar.bz2" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~ppc ~x86" | ||
IUSE="" | ||
|
||
BDEPEND="virtual/perl-ExtUtils-MakeMaker" | ||
|
||
src_install() { | ||
perl-module_src_install | ||
mv "${ED}"/usr/bin/{pip,gpip} || die 'rename failed' | ||
} | ||
|
||
pkg_postinst() { | ||
ewarn "To avoid collisions with dev-python/pip executable file of this package was renamed to 'gpip'" | ||
} |