diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-26 06:17:52 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-26 06:17:52 +0000 |
commit | 6872d79b155d9f03d02833b65875e32524155675 (patch) | |
tree | a2c58974b829facb28ebd2acd1e16ce23d9fcf5a /0001-fix-the-multipkg-mis-check.patch | |
parent | 6c47c07101b22acb1a2c07a3978b06c6dffc189b (diff) |
automatic import of python-flitopeneuler22.03_LTS_SP4openeuler22.03_LTS_SP3
Diffstat (limited to '0001-fix-the-multipkg-mis-check.patch')
-rw-r--r-- | 0001-fix-the-multipkg-mis-check.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-fix-the-multipkg-mis-check.patch b/0001-fix-the-multipkg-mis-check.patch new file mode 100644 index 0000000..3b1c070 --- /dev/null +++ b/0001-fix-the-multipkg-mis-check.patch @@ -0,0 +1,25 @@ +From 64ed7c83687cb7ee313ac3da62895ae2f6de215b Mon Sep 17 00:00:00 2001 +From: desert-sailor <dxwangk@isoftstone.com> +Date: Thu, 1 Jun 2023 16:53:02 +0800 +Subject: [PATCH] fix the multipkg mis-check + +--- + flit_core/flit_core/common.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/flit_core/flit_core/common.py b/flit_core/flit_core/common.py +index 68d91bb..3c43522 100644 +--- a/flit_core/flit_core/common.py ++++ b/flit_core/flit_core/common.py +@@ -29,7 +29,7 @@ class Module(object): + src_py_file = directory / 'src' / (name_as_path+'.py') + + existing = set() +- if pkg_dir.is_dir(): ++ if pkg_dir.is_dir() and name_as_path.strip() != "build": + self.path = pkg_dir + self.is_package = True + self.prefix = '' +-- +2.33.0 + |