--- /usr/portage/app-arch/rpm/rpm-4.11.2-r1.ebuild 2014-07-11 21:25:21.000000000 +0200 +++ app-arch/rpm/rpm-4.11.2-r1.ebuild 2014-08-20 14:10:05.476521075 +0200 @@ -4,9 +4,9 @@ EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python{2_6,2_7,3_3} ) -inherit eutils autotools flag-o-matic perl-module python-single-r1 versionator +inherit eutils autotools flag-o-matic perl-module python-r1 versionator DESCRIPTION="Red Hat Package Management Utils" HOMEPAGE="http://www.rpm.org" @@ -58,11 +58,13 @@ # Prevent automake maintainer mode from kicking in (#450448). touch -r Makefile.am preinstall.am + + python_copy_sources } src_configure() { append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr" - econf \ + python_foreach_impl run_in_build_dir econf \ --without-selinux \ --with-external-db \ --without-beecrypt \ @@ -75,11 +77,11 @@ } src_compile() { - default + python_foreach_impl run_in_build_dir make DESTDIR="${ED}" } src_install() { - default + python_foreach_impl run_in_build_dir make install DESTDIR="${ED}" # remove la files prune_libtool_files --all