abinfo "Moving python scripts to the right place"
__PY3_SITE="${PKGDIR}/usr/lib/python${ABPY3VER}/site-packages"
mkdir -vp "${__PY3_SITE}"
for i in ovs ovstest; do
	mv -v "${PKGDIR}/usr/share/openvswitch/python/$i" "${__PY3_SITE}/$i"
done
rmdir "${PKGDIR}/usr/share/openvswitch/python"

abinfo "Byte-compiling python modules"
python3 -m compileall "${__PY3_SITE}"

abinfo "Creating log directory"
mkdir -p "${PKGDIR}/var/log/openvswitch"
