forked from pool/python-eventlet
- Fix setting of the version number "manually" (with sed)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=123
This commit is contained in:
@@ -17,6 +17,7 @@ Wed Oct 23 23:18:11 UTC 2024 - mcepl@cepl.eu
|
|||||||
- 313-new-thread-attributes.patch (gh#eventlet/eventlet#964)
|
- 313-new-thread-attributes.patch (gh#eventlet/eventlet#964)
|
||||||
- no-dynamic-version.patch (we cannot use dynamic version
|
- no-dynamic-version.patch (we cannot use dynamic version
|
||||||
number on a git checkout)
|
number on a git checkout)
|
||||||
|
- Fix setting of the version number "manually" (with sed)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 18 08:28:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Wed Sep 18 08:28:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
@@ -68,6 +68,9 @@ interpreter, or as part of a larger application.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n eventlet-%{version}
|
%autosetup -p1 -n eventlet-%{version}
|
||||||
|
|
||||||
|
# set the package version manually
|
||||||
|
sed -i -e '/^\s*__version__/s/0.0.0/%{up_version}/' eventlet/__init__.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user