git: 20ae12c87dac - main - graphics/krita: add PYTHON option

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Tue, 18 Jul 2023 10:35:50 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=20ae12c87dac8ec9f9a7e648281b3d9c69bab018

commit 20ae12c87dac8ec9f9a7e648281b3d9c69bab018
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-07-14 19:56:11 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-07-18 10:34:57 +0000

    graphics/krita: add PYTHON option
    
    This enable the script support in krita. This can be disabled
    via the PYTHON option.
    
    PR:             272033
    Reported by:    Jonathan M Davis <freebsd.bugs@jmdavisprog.com>
---
 graphics/krita/Makefile  |  27 +++---
 graphics/krita/pkg-plist | 215 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 232 insertions(+), 10 deletions(-)

diff --git a/graphics/krita/Makefile b/graphics/krita/Makefile
index a1c51ea116ca..3c1d4a85d205 100644
--- a/graphics/krita/Makefile
+++ b/graphics/krita/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	krita
 DISTVERSION=	5.1.5
-PORTREVISION=	15
+PORTREVISION=	16
 CATEGORIES=	graphics kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/${DISTVERSION}
 DIST_SUBDIR=	KDE/${PORTNAME}
@@ -41,26 +41,33 @@ LIB_DEPENDS=	libImath.so:math/Imath \
 		libxcb-util.so:x11/xcb-util
 
 # Disable ninja generator for now (with gmake), until the duplicate test targets are resolved upstream.
-USES=		cmake compiler:c++11-lib desktop-file-utils \
-		eigen:3 gettext jpeg kde:5 localbase:ldflags pkgconfig \
-		python qt:5 shared-mime-info tar:xz xorg
+USES=		cmake compiler:c++11-lib desktop-file-utils eigen:3 gettext \
+		jpeg kde:5 localbase:ldflags pkgconfig python qt:5 \
+		shared-mime-info tar:xz xorg
 USE_KDE=	archive completion config coreaddons crash guiaddons i18n \
 		itemmodels itemviews kio service widgetsaddons windowsystem
-USE_QT=		concurrent core dbus declarative gui multimedia network printsupport \
-		sql svg testlib widgets x11extras xml sql-sqlite3:run \
-		buildtools:build qmake:build
+USE_QT=		concurrent core dbus declarative gui multimedia network \
+		printsupport sql svg testlib widgets x11extras xml \
+		buildtools:build qmake:build \
+		sql-sqlite3:run
 USE_XORG=	ice sm xcb xext xi
 
-CMAKE_ARGS=	-DCMAKE_DISABLE_FIND_PACKAGE_PyQt5:BOOL=true
+# Make Cmake use the python we installed dependencies for.
+CMAKE_ARGS=	-DPython_EXECUTABLE:STRING=${PYTHON_CMD}
 
-OPTIONS_DEFINE=		OPENEXR
-OPTIONS_DEFAULT=	OPENEXR
+OPTIONS_DEFINE=		PYTHON OPENEXR
+OPTIONS_DEFAULT=	PYTHON OPENEXR
 OPTIONS_SUB=		yes
 
 OPENEXR_LIB_DEPENDS=	libOpenEXR.so:graphics/openexr \
 			libKSeExpr.so:graphics/kseexpr
 OPENEXR_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_OpenEXR
 
+PYTHON_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR}
+PYTHON_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_PyQt5
+PYTHON_USES=		pyqt:5
+PYTHON_USE=		PYQT=pyqt5,sip,pysip
+
 PLIST_SUB=	SHLIB_VER=18.0.0 \
 		SHLIB_SHVER=18
 
diff --git a/graphics/krita/pkg-plist b/graphics/krita/pkg-plist
index 79fc625e5192..5859b773117b 100644
--- a/graphics/krita/pkg-plist
+++ b/graphics/krita/pkg-plist
@@ -1,9 +1,29 @@
 bin/krita
 bin/krita_version
+%%PYTHON%%bin/kritarunner
 etc/xdg/kritarc
 include/kis_qmic_interface.h
 include/kis_qmic_plugin_interface.h
 include/kritaqmicinterface_export.h
+%%PYTHON%%lib/krita-python-libs/PyKrita/krita.so
+%%PYTHON%%lib/krita-python-libs/krita/__init__.py
+%%PYTHON%%lib/krita-python-libs/krita/api.py
+%%PYTHON%%lib/krita-python-libs/krita/attic/mikro.py
+%%PYTHON%%lib/krita-python-libs/krita/attic/scripter_hooks.py
+%%PYTHON%%lib/krita-python-libs/krita/decorators.py
+%%PYTHON%%lib/krita-python-libs/krita/dockwidgetfactory.py
+%%PYTHON%%lib/krita-python-libs/krita/excepthook.py
+%%PYTHON%%lib/krita-python-libs/krita/excepthook_ui.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/__init__.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/assist.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/console.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/dockwidget.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/dockwidget_icons.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/highlighter.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/indenter.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/mainwindow.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/mainwindow_ui.py
+%%PYTHON%%lib/krita-python-libs/krita/sceditor/widget.py
 lib/kritaplugins/krita_colorspaces_extensions.so
 lib/kritaplugins/krita_flaketools.so
 lib/kritaplugins/krita_karbontools.so
@@ -113,6 +133,7 @@ lib/kritaplugins/kritapresetdocker.so
 lib/kritaplugins/kritapresethistory.so
 lib/kritaplugins/kritapsdexport.so
 lib/kritaplugins/kritapsdimport.so
+%%PYTHON%%lib/kritaplugins/kritapykrita.so
 lib/kritaplugins/kritaqimageioexport.so
 lib/kritaplugins/kritaqimageioimport.so
 lib/kritaplugins/kritaqmic.so
@@ -789,6 +810,198 @@ share/icons/hicolor/scalable/apps/krita.svgz
 %%DATADIR%%/preset_icons/tool_icons/12_09_Pastel_Bar_01.png
 %%DATADIR%%/preset_icons/tool_icons/12_10_Pastel_Bar_04.png
 %%DATADIR%%/preset_icons/tool_icons/12_11_Pastel_Bar_02.png
+%%PYTHON%%%%DATADIR%%/actions/plugin_importer.action
+%%PYTHON%%%%DATADIR%%/actions/tenbrushes.action
+%%PYTHON%%%%DATADIR%%/actions/tenscripts.action
+%%PYTHON%%%%DATADIR%%/pykrita/assignprofiledialog/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/assignprofiledialog/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/assignprofiledialog/assignprofiledialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/COATools.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/Config.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/Infrastructure.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/Utils/Export.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/Utils/Tree.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/Utils/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/batch_exporter/batch_exporter.py
+%%PYTHON%%%%DATADIR%%/pykrita/channels2layers/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/channels2layers/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/channels2layers/channels2layers.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/colorspace.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/colorspacedialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/components/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/components/colordepthcombobox.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/components/colormodelcombobox.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/components/colorprofilecombobox.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/resources_rc.py
+%%PYTHON%%%%DATADIR%%/pykrita/colorspace/uicolorspace.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/LicenseList.csv
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/README.html
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_export_dialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_exporter.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_metadata_dialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_project_manager_docker.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_project_page_viewer.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_project_settings_dialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_project_setup_wizard.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_project_translation_scraper.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/comics_template_dialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/exporters/CPMT_CoMet_XML_Exporter.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/exporters/CPMT_Comic_Book_Info_Exporter.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/exporters/CPMT_Comic_Rack_XML_Exporter.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/exporters/CPMT_EPUB_exporter.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/exporters/CPMT_po_parser.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/exporters/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/key_format/formats.txt
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/key_rating/DC.csv
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/key_rating/FictionRatingsDotCom.csv
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/key_rating/Marvel.csv
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/projectGenLists/listA.txt
+%%PYTHON%%%%DATADIR%%/pykrita/comics_project_management_tools/projectGenLists/listB.txt
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/documenttools.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/documenttoolsdialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/tools/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/tools/canvassizetool/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/tools/canvassizetool/canvassizetool.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/tools/rotatetool/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/tools/rotatetool/rotatetool.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/tools/scaletool/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/tools/scaletool/scaletool.py
+%%PYTHON%%%%DATADIR%%/pykrita/documenttools/uidocumenttools.py
+%%PYTHON%%%%DATADIR%%/pykrita/exportlayers/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/exportlayers/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/exportlayers/exportlayers.py
+%%PYTHON%%%%DATADIR%%/pykrita/exportlayers/exportlayersdialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/exportlayers/uiexportlayers.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/components/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/components/filtercombobox.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/components/filtermanagertreeitem.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/components/filtermanagertreemodel.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/filtermanager.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/filtermanagerdialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/filtermanager/uifiltermanager.py
+%%PYTHON%%%%DATADIR%%/pykrita/krita_script_starter/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/krita_script_starter/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/krita_script_starter/bbdkss.ui
+%%PYTHON%%%%DATADIR%%/pykrita/krita_script_starter/krita_script_starter.py
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_assignprofiledialog.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_batch_exporter.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_channels2layers.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_colorspace.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_comics_project_management_tools.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_documenttools.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_exportlayers.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_filtermanager.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_krita_script_starter.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_lastdocumentsdocker.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_mixer_slider_docker.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_photobash_images.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_plugin_importer.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_quick_settings_docker.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_scripter.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_tenbrushes.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/kritapykrita_tenscripts.desktop
+%%PYTHON%%%%DATADIR%%/pykrita/lastdocumentsdocker/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/lastdocumentsdocker/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/lastdocumentsdocker/lastdocumentsdocker.py
+%%PYTHON%%%%DATADIR%%/pykrita/lastdocumentsdocker/lastdocumentslistmodel.py
+%%PYTHON%%%%DATADIR%%/pykrita/mixer_slider_docker/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/mixer_slider_docker/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/mixer_slider_docker/color_slider.py
+%%PYTHON%%%%DATADIR%%/pykrita/mixer_slider_docker/mixer_slider_docker.py
+%%PYTHON%%%%DATADIR%%/pykrita/mixer_slider_docker/settings_dialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/mixer_slider_docker/slider_line.py
+%%PYTHON%%%%DATADIR%%/pykrita/mixer_slider_docker/ui_mixer_slider_docker.py
+%%PYTHON%%%%DATADIR%%/pykrita/photobash_images/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/photobash_images/photobash_images_docker.py
+%%PYTHON%%%%DATADIR%%/pykrita/photobash_images/photobash_images_docker.ui
+%%PYTHON%%%%DATADIR%%/pykrita/photobash_images/photobash_images_manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/photobash_images/photobash_images_modulo.py
+%%PYTHON%%%%DATADIR%%/pykrita/plugin_importer/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/plugin_importer/manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/plugin_importer/plugin_downloader.py
+%%PYTHON%%%%DATADIR%%/pykrita/plugin_importer/plugin_importer.py
+%%PYTHON%%%%DATADIR%%/pykrita/plugin_importer/plugin_importer_extension.py
+%%PYTHON%%%%DATADIR%%/pykrita/quick_settings_docker/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/quick_settings_docker/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/quick_settings_docker/quick_settings_docker.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/debugcontroller.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/debugger_scripter/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/debugger_scripter/debugger.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/debugger_scripter/debuggerformatter.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/document_scripter/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/document_scripter/document.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/documentcontroller.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/resources_rc.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/scripter.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/scripterdialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/test.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/closeaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/closeaction/closeaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/debugaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/debugaction/debugaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/newaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/newaction/newaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/openaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/openaction/openaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/reloadaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/reloadaction/reloadaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/runaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/runaction/docwrapper.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/runaction/runaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/saveaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/saveaction/saveaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/saveasaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/saveasaction/saveasaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/settingsaction/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/settingsaction/fontscombobox.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/settingsaction/settingsaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/settingsaction/settingsdialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/actions/settingsaction/syntaxstylescombobox.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/editor/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/editor/debugarea.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/editor/linenumberarea.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/editor/pythoneditor.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/editor/statusbar.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/syntax/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/syntax/syntax.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/syntax/syntaxstyles.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/debuggerwidget/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/debuggerwidget/debuggertable.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/debuggerwidget/debuggerwidget.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/debuggerwidget/stepaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/debuggerwidget/stopaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/outputwidget/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/outputwidget/clearaction.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/outputwidget/outputtextedit.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/ui_scripter/tabwidgets/outputwidget/outputwidget.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/uicontroller.py
+%%PYTHON%%%%DATADIR%%/pykrita/scripter/utils.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenbrushes/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/tenbrushes/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenbrushes/dropbutton.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenbrushes/tenbrushes.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenbrushes/tenbrushesdialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenbrushes/uitenbrushes.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenscripts/Manual.html
+%%PYTHON%%%%DATADIR%%/pykrita/tenscripts/__init__.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenscripts/tenscripts.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenscripts/tenscriptsdialog.py
+%%PYTHON%%%%DATADIR%%/pykrita/tenscripts/uitenscripts.py
 %%DATADIR%%/qmlthemes/default/colors.js
 %%DATADIR%%/qmlthemes/default/fonts.js
 %%DATADIR%%/qmlthemes/default/fonts/SourceSansPro-Black.otf
@@ -1108,3 +1321,5 @@ share/locale/xh/LC_MESSAGES/krita.mo
 share/locale/zh_CN/LC_MESSAGES/krita.mo
 share/locale/zh_TW/LC_MESSAGES/krita.mo
 share/metainfo/org.kde.krita.appdata.xml
+%%PYTHON%%@dir %%DATADIR%%/pykrita/colorspace/icons
+%%PYTHON%%@dir %%DATADIR%%/pykrita/scripter/icons