SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="acl caps doc lua nls python selinux"
+IUSE="acl caps doc lua nls python selinux test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
CDEPEND="!app-arch/rpm5
nls? ( sys-devel/gettext )
doc? ( app-doc/doxygen )
virtual/pkgconfig
+ test? ( sys-apps/fakechroot )
"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpm )
perl_delete_localpod
}
+src_test() {
+ emake check
+}
+
pkg_postinst() {
if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then
einfo "RPM database found... Rebuilding database (may take a while)..."
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
# Tomáš Mózes <hydrapolic@gmail.com> (05 Jun 2018)
# Unkeyworded dependencies.
app-admin/syslog-ng amqp mongodb
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
# Andreas Sturmlechner <asturm@gentoo.org> (03 Jun 2018)
# net-wireless/soapysdr not keyworded
net-wireless/gr-osmosdr soapy
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
# Alex Bennee <alex@bennee.com> (31 May 2018)
# bunch of dev-perl packages not yet keyworded
# and the i3 ebuild currently has RESTRICT="test" due to upstream bug
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+# Thomas Deutschmann <whissi@gentoo.org> (06 Jun 2018)
+# Needs sys-apps/fakechroot which isn't keyworded
+app-arch/rpm test
+
# Michał Górny <mgorny@gentoo.org> (15 Apr 2018)
# Unkeyworded deps.
net-misc/curl curl_ssl_axtls