app-admin/needrestart: fix dependencies
authorCraig Andrews <candrews@integralblue.com>
Sun, 10 Jul 2016 01:36:42 +0000 (21:36 -0400)
committerGöktürk Yüksek <gokturk@gentoo.org>
Thu, 14 Jul 2016 01:25:04 +0000 (21:25 -0400)
commit89608b1c031f38cf19a2bc21212b854eb33d431d
treed9fa2f77e9ba01cec1c9b220b6f438f2e268221e
parent3e2349d051377a26e49c664264aa97efd729fdfd
app-admin/needrestart: fix dependencies

needrestart installs and uses scripts that call sed with '-z' option:
  https://github.com/liske/needrestart/blob/1a3b68a38e0691ca82e894ef591b23af666cc14d/lib/notify.d.sh#L34
  https://github.com/liske/needrestart/blob/1c17aa96ed455c6f10b496fa6a5c17daf96558ac/ex/notify.d/400-notify-send#L34
This option was introduced in sed-4.2.2: http://article.gmane.org/gmane.comp.lang.smalltalk.gnu.general/7873
Thus needrestart must depend on >=sys-apps/sed-4.2.2.

needrestart needs sys-devel/gettext to build so add that dependency.

needrestart depends on dev-perl/TermReadKey so add that runtime dependency.

needrestart does not depend on dev-perl/Term-ProgressBar-Simple so remove that dependency.

Gentoo-bug: 588416
app-admin/needrestart/needrestart-2.8-r1.ebuild [moved from app-admin/needrestart/needrestart-2.8.ebuild with 90% similarity]
app-admin/needrestart/needrestart-9999.ebuild