die "Failed to symlink build directory to source directory"
# Set a sane default locale for the tests which do not explicitly set one.
local -x LC_ALL=C.UTF-8
esetup.py test|| die
}
# Ugly hack to work around Bug #717922
python_install(){
localDISTUTILS_ARGS=(
--resourcepath=/usr/share
--no-compress-manpages
build
)
distutils-r1_python_install
echo -n "${EPREFIX}/usr/share" > "${D}$(python_get_sitedir)/gramps/gen/utils/resource-path"|| die
}
pkg_postinst(){
xdg_desktop_database_update
xdg_icon_cache_update
xdg_mimeinfo_database_update
if use berkdb;then
ewarn "The BSDDB back-end in ${PN} has got known stability and data-corruption issues. It has been deprecated since version 5.1.0 and might be removed in 5.2.0."
ewarn "If you have any family trees in this format you are highly advised to convert them to SQLite, as described here:"