--- paludis-1.4.2-r1.ebuild 2013-11-09 02:01:33.000000000 +0400 +++ paludis-1.4.2-r2.ebuild 2013-12-04 21:07:32.000000000 +0400 @@ -2,11 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-1.4.2-r1.ebuild,v 1.2 2013/11/08 21:33:45 mgorny Exp $ -EAPI=4 +EAPI=5 -PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_COMPAT=( python{2_6,2_7} python3_3 ) -inherit bash-completion-r1 eutils python-single-r1 user +inherit autotools-utils bash-completion-r1 eutils python-single-r1 user DESCRIPTION="paludis, the other package mangler" HOMEPAGE="http://paludis.exherbo.org/" @@ -49,6 +49,9 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +AUTOTOOLS_AUTORECONF=1 +PATCHES=( ${FILESDIR}/${P}-python3-fixes.patch ) + pkg_pretend() { if [[ ${MERGE_TYPE} != buildonly ]]; then if id paludisbuild >/dev/null 2>/dev/null ; then @@ -84,7 +87,7 @@ # https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 sed -i -e '1s/ruby/&19/' ruby/demos/*.rb || die - epatch_user + autotools-utils_src_prepare } src_configure() { @@ -110,11 +113,11 @@ --with-vim-install-dir=/usr/share/vim/vimfiles ) - econf "${myeconfargs[@]}" + autotools-utils_src_configure } src_install() { - default + autotools-utils_src_install prune_libtool_files dobashcomp bash-completion/cave