From 22f2f01241e55a3546e987c200612439417598c5 Mon Sep 17 00:00:00 2001 From: Yury Martynov Date: Mon, 5 Aug 2019 20:50:33 +0300 Subject: [PATCH] munin: update deps (req: <=pymisp-2.4.111) --- net-misc/munin/munin-9999.ebuild | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/net-misc/munin/munin-9999.ebuild b/net-misc/munin/munin-9999.ebuild index 6a640afd9..73ff5f549 100644 --- a/net-misc/munin/munin-9999.ebuild +++ b/net-misc/munin/munin-9999.ebuild @@ -29,7 +29,7 @@ RDEPEND="${DEPEND} >=dev-python/selenium-3.9.0[${PYTHON_USEDEP}] dev-python/beautifulsoup:4[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] - dev-python/pymisp[${PYTHON_USEDEP}] + <=dev-python/pymisp-2.4.111[${PYTHON_USEDEP}] dev-python/ipy[${PYTHON_USEDEP}]" pkg_setup() { @@ -42,14 +42,13 @@ src_prepare() { -i *.py || die "sed filed!" python_fix_shebang "${S}" - eapply_user + default } src_install() { - insinto /usr/share/${PN} - for x in lib *.py; do - doins -r ${x} - done + insinto "/usr/share/${PN}" + doins -r lib *.py + python_optimize "${D}/usr/share/${PN}" # The Gentoo repo have more packages using same name for x in munin-checker munin-checker-host; do @@ -57,10 +56,8 @@ src_install() { "python3 /usr/share/${PN}/${x//-checker/}.py -i /etc/${PN}/${PN}.ini" done - insinto /etc/${PN} + insinto "/etc/${PN}" doins ${PN}.ini dodoc README.md - - python_optimize "${D}"/usr/share/${PN} }