diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2026-01-12 15:11:28 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-12 10:25:56 -0800 |
| commit | f6506e8a65db84a766a499bf351e6358be5eb8a3 (patch) | |
| tree | 99c83e2b9b0d4bf07f1422ceba8717b57d7d3d5e /meta-xfce/recipes-apps/menulibre | |
| parent | 3b5492f57f973de57610c017328c8e8de40b26d5 (diff) | |
| download | meta-openembedded-f6506e8a65db84a766a499bf351e6358be5eb8a3.tar.gz | |
menulibre: fix do_install failed
Use pip 25.3 to install failed
...
Traceback (most recent call last):
File "menulibre-2.4.0/setup.py", line 245, in <module>
DistUtilsExtra.auto.setup(
~~~~~~~~~~~~~~~~~~~~~~~~~^
name='menulibre',
^^^^^^^^^^^^^^^^^
...<12 lines>...
cmdclass={'install': InstallAndUpdateDataDirectory}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 98, in setup
__requires(attrs, src_all)
~~~~~~~~~~^^^^^^^^^^^^^^^^
File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 471, in __requires
__add_imports(imports, s, attrs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 405, in __add_imports
if alias.name and __external_mod(cur_module, alias.name, attrs):
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 377, in __external_mod
return 'dist-packages' in mod.__file__ or 'site-packages' in mod.__file__ or \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
...
Refer [1] to correct one line in setup.py
[1] https://github.com/epoptes/epoptes/commit/81be63961a428728601df6f442490638df3bd263
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-xfce/recipes-apps/menulibre')
| -rw-r--r-- | meta-xfce/recipes-apps/menulibre/files/0001-setup.py-fix-install-failed.patch | 59 | ||||
| -rw-r--r-- | meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb | 4 |
2 files changed, 62 insertions, 1 deletions
diff --git a/meta-xfce/recipes-apps/menulibre/files/0001-setup.py-fix-install-failed.patch b/meta-xfce/recipes-apps/menulibre/files/0001-setup.py-fix-install-failed.patch new file mode 100644 index 0000000000..751b77e3b2 --- /dev/null +++ b/meta-xfce/recipes-apps/menulibre/files/0001-setup.py-fix-install-failed.patch | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | From 671fba096962a24c9dd71b5c995399984ec2ef60 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Mon, 12 Jan 2026 15:01:00 +0800 | ||
| 4 | Subject: [PATCH] setup.py: fix install failed | ||
| 5 | |||
| 6 | Use pip 25.3 to install failed | ||
| 7 | ... | ||
| 8 | Traceback (most recent call last): | ||
| 9 | File "menulibre-2.4.0/setup.py", line 245, in <module> | ||
| 10 | DistUtilsExtra.auto.setup( | ||
| 11 | ~~~~~~~~~~~~~~~~~~~~~~~~~^ | ||
| 12 | name='menulibre', | ||
| 13 | ^^^^^^^^^^^^^^^^^ | ||
| 14 | ...<12 lines>... | ||
| 15 | cmdclass={'install': InstallAndUpdateDataDirectory} | ||
| 16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| 17 | ) | ||
| 18 | ^ | ||
| 19 | File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 98, in setup | ||
| 20 | __requires(attrs, src_all) | ||
| 21 | ~~~~~~~~~~^^^^^^^^^^^^^^^^ | ||
| 22 | File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 471, in __requires | ||
| 23 | __add_imports(imports, s, attrs) | ||
| 24 | ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ | ||
| 25 | File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 405, in __add_imports | ||
| 26 | if alias.name and __external_mod(cur_module, alias.name, attrs): | ||
| 27 | ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| 28 | File "recipe-sysroot-native/usr/lib/python3.13/site-packages/DistUtilsExtra/auto.py", line 377, in __external_mod | ||
| 29 | return 'dist-packages' in mod.__file__ or 'site-packages' in mod.__file__ or \ | ||
| 30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| 31 | TypeError: argument of type 'NoneType' is not iterable | ||
| 32 | ... | ||
| 33 | |||
| 34 | Refer [1] to correct one line in setup.py | ||
| 35 | |||
| 36 | [1] https://github.com/epoptes/epoptes/commit/81be63961a428728601df6f442490638df3bd263 | ||
| 37 | |||
| 38 | Upstream-Status: Submitted [https://github.com/bluesabre/menulibre/pull/233] | ||
| 39 | |||
| 40 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 41 | --- | ||
| 42 | setup.py | 1 + | ||
| 43 | 1 file changed, 1 insertion(+) | ||
| 44 | |||
| 45 | diff --git a/setup.py b/setup.py | ||
| 46 | index 4aec9fd..649f5f7 100644 | ||
| 47 | --- a/setup.py | ||
| 48 | +++ b/setup.py | ||
| 49 | @@ -248,6 +248,7 @@ DistUtilsExtra.auto.setup( | ||
| 50 | license='GPL-3', | ||
| 51 | author='Sean Davis', | ||
| 52 | author_email='sean@bluesabre.org', | ||
| 53 | + requires='', | ||
| 54 | description='advanced menu editor with support for Unity actions', | ||
| 55 | long_description='An advanced menu editor that provides modern features ' | ||
| 56 | 'and full Unity action support. Suitable for lightweight ' | ||
| 57 | -- | ||
| 58 | 2.34.1 | ||
| 59 | |||
diff --git a/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb b/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb index 4c52249fed..1a5fcbc767 100644 --- a/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb +++ b/meta-xfce/recipes-apps/menulibre/menulibre_2.4.0.bb | |||
| @@ -12,7 +12,9 @@ DEPENDS = " \ | |||
| 12 | inherit setuptools3_legacy gtk-icon-cache features_check | 12 | inherit setuptools3_legacy gtk-icon-cache features_check |
| 13 | REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data" | 13 | REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data" |
| 14 | 14 | ||
| 15 | SRC_URI = "https://github.com/bluesabre/${BPN}/releases/download/${BP}/${BP}.tar.gz" | 15 | SRC_URI = "https://github.com/bluesabre/${BPN}/releases/download/${BP}/${BP}.tar.gz \ |
| 16 | file://0001-setup.py-fix-install-failed.patch \ | ||
| 17 | " | ||
| 16 | SRC_URI[sha256sum] = "d906acf9cc13b0e15b8e342ae9aab8b0680db336a382d0c42f5d5f465f593c9f" | 18 | SRC_URI[sha256sum] = "d906acf9cc13b0e15b8e342ae9aab8b0680db336a382d0c42f5d5f465f593c9f" |
| 17 | 19 | ||
| 18 | UPSTREAM_CHECK_URI = "https://github.com/bluesabre/menulibre/releases" | 20 | UPSTREAM_CHECK_URI = "https://github.com/bluesabre/menulibre/releases" |
