Projects
openEuler:Mainline
python-flit
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:python-flit.spec
Changed
@@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-flit Version: 3.8.0 -Release: 1 +Release: 2 Summary: Simplified packaging of Python modules License: BSD-3-Clause URL: https://flit.readthedocs.io/en/latest/ Source0: https://files.pythonhosted.org/packages/28/c6/c399f38dab6d3a2518a50d334d038083483a787f663743d713f1d245bde3/flit-3.8.0.tar.gz +Patch1: 0001-fix-the-multipkg-mis-check.patch BuildArch: noarch Requires: python3-requests python3-docutils python3-toml python3-setuptools @@ -32,7 +33,7 @@ This provides a PEP 517 build backend for packages using Flit. The only public interface is the API specified by PEP 517, at flit_core.buildapi. %prep -%autosetup -n flit-%{version} +%autosetup -p1 -n flit-%{version} %build export FLIT_NO_NETWORK=1 @@ -61,6 +62,9 @@ %doc README.rst %changelog +* Thu Jun 1 2023 Dongxing Wang <dxwangk@isoftstone.com> - 3.8.0-2 +- fix multipkg mis-check + * Tue Apr 25 2023 liyanan <thistleslyn@163.com> - 3.8.0-1 - Update to 3.8.0
View file
_service:tar_scm:0001-fix-the-multipkg-mis-check.patch
Added
@@ -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 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2