forked from pool/python-Deprecated
Accepting request 1202969 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1202969 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Deprecated?expand=0&rev=12
This commit is contained in:
commit
c628f43637
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 24 12:03:30 UTC 2024 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Fix build error under Leap.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 22 09:42:29 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Mon Jul 22 09:42:29 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/tantale/deprecated
|
URL: https://github.com/tantale/deprecated
|
||||||
Source: https://files.pythonhosted.org/packages/source/D/Deprecated/Deprecated-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/D/Deprecated/Deprecated-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM - gh#tantale/deprecated/73 - Update class method deprecation warnings for Python 3.13
|
# PATCH-FIX-UPSTREAM - gh#tantale/deprecated/73 - Update class method deprecation warnings for Python 3.13
|
||||||
Patch: https://github.com/tantale/deprecated/pull/73.patch#/fix-python3.13-ftbfs.patch
|
Patch1: https://github.com/tantale/deprecated/pull/73.patch#/fix-python3.13-ftbfs.patch
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wrapt >= 1.10}
|
BuildRequires: %{python_module wrapt >= 1.10}
|
||||||
@ -44,13 +44,18 @@ you can use the ``@deprecated`` decorator.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Deprecated-%{version}
|
%setup -q -n Deprecated-%{version}
|
||||||
%patch -P0 -p1
|
%patch -P 1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
# Fix python-bytecode-inconsistent-mtime
|
||||||
|
pushd %{buildroot}%{python_sitelib}
|
||||||
|
find . -name '*.pyc' -exec rm -f '{}' ';'
|
||||||
|
python%python_bin_suffix -m compileall *.py ';'
|
||||||
|
popd
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user