forked from pool/python-zope.deprecation
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.deprecation?expand=0&rev=29
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 5 11:23:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 20 09:49:50 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Mon Jan 20 09:49:50 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ Summary: Zope Deprecation Infrastructure
|
|||||||
License: ZPL-2.1
|
License: ZPL-2.1
|
||||||
URL: https://pypi.python.org/pypi/zope.deprecation
|
URL: https://pypi.python.org/pypi/zope.deprecation
|
||||||
Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope_deprecation-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/z/zope.deprecation/zope_deprecation-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -53,22 +54,21 @@ This package contains documentation files for %{name}.
|
|||||||
rm -rf zope_deprecation.egg-info
|
rm -rf zope_deprecation.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
|
sphinx-build -b html docs build/sphinx/html && rm -r build/sphinx/html/.{buildinfo,doctrees}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd build/lib
|
|
||||||
%pyunittest -v zope.deprecation.tests
|
%pyunittest -v zope.deprecation.tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
||||||
%dir %{python_sitelib}/zope
|
%dir %{python_sitelib}/zope
|
||||||
%{python_sitelib}/zope.deprecation-%{version}*-info
|
%{python_sitelib}/zope[_.]deprecation-%{version}*info
|
||||||
%{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth
|
%{python_sitelib}/zope.deprecation-%{version}*-nspkg.pth
|
||||||
%{python_sitelib}/zope/deprecation
|
%{python_sitelib}/zope/deprecation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user