Call python_optimize to fix QA warning about unoptimized python code.
The docbook2X dep is only needed for building man pages, so put it under
the doc USE flag.
Fix the pkg_postinst message about systemd (bug #705308)
Closes: https://bugs.gentoo.org/705308
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
DEPEND="${RDEPEND}"
BDEPEND="
- doc? ( app-text/asciidoc )
- >=app-text/docbook2X-0.8.8-r4
+ doc? (
+ app-text/asciidoc
+ >=app-text/docbook2X-0.8.8-r4
+ )
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
python_foreach_impl python_make install
fi
+ python_foreach_impl python_optimize
find "${ED}" -type f -name "*.la" -delete || die
}
elog "If you wish to enable the firewall rules on boot (on systemd) you"
elog "will need to enable the nftables-restore service."
- elog " 'systemd_enable_service basic.target ${PN}-restore.service'"
+ elog " 'systemctl enable ${PN}-restore.service'"
elog
elog "If you are creating firewall rules before the next system restart "
elog "the nftables-restore service must be manually started in order to "