py-pyside6: add package for PySide6 (Qt for python)#4884
Conversation
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fixrepos/spack_repo/builtin/packages/py_pyside6/package.py
repos/spack_repo/builtin/packages/py_qtpy/package.py
�[1;34m==> �[0mrunning ruff format
1 file reformatted, 1 file left unchanged
�[1;34m==> �[0mrunning ruff check
�[1m�[91mE501 �[0m�[1mLine too long (100 > 99)�[0m
�[1m�[94m-->�[0m repos/spack_repo/builtin/packages/py_pyside6/package.py:44:100
�[1m�[94m|�[0m
�[1m�[94m42 |�[0m depends_on("py-mypy@1.15.0:", type="build")
�[1m�[94m43 |�[0m
�[1m�[94m44 |�[0m # can also build without opengl but generates warnings. network and accessibility seem required.
�[1m�[94m|�[0m �[1m�[91m^�[0m
�[1m�[94m45 |�[0m depends_on("qt-base@6.11: +network +accessibility +opengl")
�[1m�[94m46 |�[0m # can also build without tools but generates warnings...
�[1m�[94m|�[0m
�[1m�[91mE501 �[0m�[1mLine too long (103 > 99)�[0m
�[1m�[94m-->�[0m repos/spack_repo/builtin/packages/py_pyside6/package.py:56:100
�[1m�[94m|�[0m
�[1m�[94m54 |�[0m def patch(self):
�[1m�[94m55 |�[0m
�[1m�[94m56 |�[0m # shiboken include paths: misses non-qt-base paths (QtUiTools in qt-tools and Qt3D... in qt-3d)
�[1m�[94m|�[0m �[1m�[91m^^^^�[0m
�[1m�[94m57 |�[0m additional_includes = []
�[1m�[94m58 |�[0m if "+tools" in self.spec:
�[1m�[94m|�[0m
�[1m�[91mE501 �[0m�[1mLine too long (103 > 99)�[0m
�[1m�[94m-->�[0m repos/spack_repo/builtin/packages/py_pyside6/package.py:73:100
�[1m�[94m|�[0m
�[1m�[94m71 |�[0m filter_file(
�[1m�[94m72 |�[0m "pyside_build.update_rpath(executables)",
�[1m�[94m73 |�[0m "pyside_build.update_rpath(executables + pyside_build.package_libraries(destination_dir))",
�[1m�[94m|�[0m �[1m�[91m^^^^�[0m
�[1m�[94m74 |�[0m "build_scripts/platforms/unix.py",
�[1m�[94m75 |�[0m string=True,
�[1m�[94m|�[0m
Found 3 errors.
I've updated the branch with style fixes. |
|
This partly duplicates #2877 where the package is added as a dependency. But the external json files there are non-standard and the version here is preferred. Not sure if you need addons and essentials too, but it could be an opportune time to add them in this PR as well (no pressure, not a review request). |
So the modules marked as essential during build are all there when compiling with I also made And I've added Now with Some are currently not enabled in And several others have no suitable qt-package in spack so far. But I won't manage to add / check all these ;) |
|
@spackbot fix style |
|
Let me see if I can fix that for you! |
|
I was able to run spack style --fixrepos/spack_repo/builtin/packages/py_pyside6/package.py
repos/spack_repo/builtin/packages/py_qtpy/package.py
�[1;34m==> �[0mrunning ruff format
2 files left unchanged
�[1;34m==> �[0mrunning ruff check
�[1m�[91mE501 �[0m�[1mLine too long (103 > 99)�[0m
�[1m�[94m-->�[0m repos/spack_repo/builtin/packages/py_pyside6/package.py:60:100
�[1m�[94m|�[0m
�[1m�[94m58 |�[0m def patch(self):
�[1m�[94m59 |�[0m
�[1m�[94m60 |�[0m # shiboken include paths: misses non-qt-base paths (QtUiTools in qt-tools and Qt3D... in qt-3d)
�[1m�[94m|�[0m �[1m�[91m^^^^�[0m
�[1m�[94m61 |�[0m additional_includes = []
�[1m�[94m62 |�[0m if "+tools" in self.spec:
�[1m�[94m|�[0m
�[1m�[91mE501 �[0m�[1mLine too long (103 > 99)�[0m
�[1m�[94m-->�[0m repos/spack_repo/builtin/packages/py_pyside6/package.py:83:100
�[1m�[94m|�[0m
�[1m�[94m81 |�[0m filter_file(
�[1m�[94m82 |�[0m "pyside_build.update_rpath(executables)",
�[1m�[94m83 |�[0m "pyside_build.update_rpath(executables + pyside_build.package_libraries(destination_dir))",
�[1m�[94m|�[0m �[1m�[91m^^^^�[0m
�[1m�[94m84 |�[0m "build_scripts/platforms/unix.py",
�[1m�[94m85 |�[0m string=True,
�[1m�[94m|�[0m
Found 2 errors.
I wasn't able to make any further changes, but please see the message above for remaining issues you can fix locally! |
No description provided.