app-shells/psh - 1.8.1 (gentoo)

Search

Install

Install this version:

emerge -a =app-shells/psh-1.8.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-shells/psh-1.8.1

Or alternatively:

emerge --autounmask-write -a =app-shells/psh-1.8.1

Package Information

Description:
Combines the interactive nature of a Unix shell with the power of Perl
Homepage:
https://gnp.github.io/psh/

Ebuild Details

Version EAPI Keywords Slot
1.8.1 8 ~amd64 ~ppc ~x86 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_EXAMPLES=( "examples/*" )

inherit optfeature perl-module

DESCRIPTION="Combines the interactive nature of a Unix shell with the power of Perl"
HOMEPAGE="https://gnp.github.io/psh/"
SRC_URI="https://github.com/gnp/psh/archive/${P}.tar.gz"
S="${WORKDIR}"/${PN}-${P}

SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="readline"

RDEPEND="
	readline? (
		dev-perl/Term-ReadLine-Gnu
		dev-perl/TermReadKey
	)
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/perl-ExtUtils-MakeMaker"

PATCHES=(
	"${FILESDIR}"/${P}-r3-defined-array.patch
	"${FILESDIR}"/${P}-r3-array-ref-deprecated.patch
)

src_install() {
	myinst="SITEPREFIX=${D}/usr"

	perl-module_src_install

	docompress -x /usr/share/doc/${PF}/pod

	docinto pod/
	dodoc -r doc/*
}

pkg_postinst() {
	optfeature "ulimit functionality" dev-perl/BSD-Resource
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-shells/psh | euse -E <flag> -p app-shells/psh | euse -D <flag> -p app-shells/psh

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	readline? (
		dev-perl/Term-ReadLine-Gnu
		dev-perl/TermReadKey
	)

RDEPEND

	readline? (
		dev-perl/Term-ReadLine-Gnu
		dev-perl/TermReadKey
	)

BDEPEND

virtual/perl-ExtUtils-MakeMaker

Manifest for 1.8.1

Type File Size Source URLs
DIST psh-1.8.1.tar.gz 120552 bytes https://github.com/gnp/psh/archive/psh-1.8.1.tar.gz