-# Copyright © 2020-2022 Nick Bowler
+# Copyright © 2020-2023 Nick Bowler
#
# License GPLv2+: GNU General Public License version 2 or any later version.
# This is free software: you are free to change and redistribute it.
#
# * Resurrect python2 version installable alongside newer version (2020-11)
# * Avoid python eclasses as there is no more python2 support (2022-12)
+# * Fix deps against newer cairo ebuilds w/o "svg" USE flag (2023-01)
EAPI=7
# Strong block on old pycairo w/ python2 support because the merge will
# otherwise not work properly due to replacing a directory with a file.
-DEPEND=">=x11-libs/cairo-1.13.1[svg]
+DEPEND=">=x11-libs/cairo-1.13.1[svg(+)]
!!dev-python/pycairo:0[python_targets_python2_7]"
RDEPEND="$DEPEND
dev-lang/python:2.7[threads(+)]"