Skip to content

Commit 9caa85c

Browse files
committed
flask: Wheel name is not uppercase
Fixes Successfully built flask-2.0.2-py3-none-any.whl Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 98, in <module> _main(sys.argv[1:], "python -m installer") File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/__main__.py", line 86, in _main with WheelFile.open(args.wheel) as source: File "/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/python3.11/contextlib.py", line 137, in __enter__ return next(self.gen) ^^^^^^^^^^^^^^ File "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/lib/python3.11/site-packages/installer/sources.py", line 162, in open with zipfile.ZipFile(path) as f: ^^^^^^^^^^^^^^^^^^^^^ File "/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/python3.11/zipfile.py", line 1311, in __init__ self.fp = io.open(file, filemode) ^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/pypi/Flask-2.0.2//openwrt-build/Flask-2.0.2-*.whl' Signed-off-by: Josef Schlehofer <[email protected]>
1 parent 960dfa2 commit 9caa85c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lang/python/Flask/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ PKG_NAME:=Flask
88
PKG_VERSION:=2.0.2
99
PKG_RELEASE:=6
1010

11-
PYPI_NAME:=$(PKG_NAME)
11+
PYPI_NAME:=Flask
12+
PYPI_SOURCE_NAME:=flask
1213
PKG_HASH:=7b2fb8e934ddd50731893bdcdb00fc8c0315916f9fcd50d22c7cc1a95ab634e2
1314

1415
PKG_MAINTAINER:=Michal Vasilek <[email protected]>

0 commit comments

Comments
 (0)