Not sure if this has changed recently, but python_get_sitedir() does contain EPREFIX already. Plus one comment for Prefix. --- libxslt-1.1.28-r2.ebuild 18 Jun 2014 19:17:22 -0000 1.3 +++ libxslt-1.1.28-r2.ebuild 24 Jun 2014 11:12:11 -0000 @@ -52,6 +52,8 @@ # and it is propably otherwise too if upstream generated with new # autoconf # epunt_cxx + # But Prefix always needs elibtoolize if not eautoreconf'd. +# elibtoolize } multilib_src_configure() { @@ -97,8 +99,8 @@ PYTHON="${PYTHON}" \ PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \ PYTHON_LIBS="$(python-config --ldflags)" \ - PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \ - pythondir="${EPREFIX}$(python_get_sitedir)" \ + PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \ + pythondir="$(python_get_sitedir)" \ PYTHON_VERSION=${EPYTHON/python} "$@" popd > /dev/null } Thanks!
Go ahead please
Please wait a bit, I would prefer to rewrite the old-fashioned python build setup in libxslt using libxml2 as a model.
+*libxslt-1.1.28-r3 (24 Jun 2014) + + 24 Jun 2014; Alexandre Rostovtsev <tetromino@gentoo.org> + +libxslt-1.1.28-r3.ebuild: + Modernize python bindings build setup, fixing prefix issues (bug #514900, + thanks to Michael Haubenwallner).
Thanks, I am reading the diff to learn a bit more about this python stuff :O
Works. Keyworded. Thanks!