forked from pool/python-osc-tiny
Accepting request 992107 from home:deneb_alpha:branches:devel:languages:python
- Enhanced dependency management for Py3.7 and earlier * Re-add `responses` that is needed for building tests - Use python_module macro for build requires - Remove the BuildRequires: %{python_module devel} - Refactoring of spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/992107 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-osc-tiny?expand=0&rev=45
This commit is contained in:
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 1 21:35:10 UTC 2022 - Marina Latini <marina.latini@suse.com>
|
||||||
|
|
||||||
|
- Enhanced dependency management for Py3.7 and earlier
|
||||||
|
* Re-add `responses` that is needed for building tests
|
||||||
|
- Use python_module macro for build requires
|
||||||
|
- Remove the BuildRequires: %{python_module devel}
|
||||||
|
- Refactoring of spec file with spec-cleaner
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 21 14:15:00 UTC 2022 - Andreas Hasenkopf <ahasenkopf@suse.com>
|
Thu Jul 21 14:15:00 UTC 2022 - Andreas Hasenkopf <ahasenkopf@suse.com>
|
||||||
|
|
||||||
|
@@ -27,27 +27,26 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/crazyscientist/osc-tiny
|
URL: https://github.com/crazyscientist/osc-tiny
|
||||||
Source: https://files.pythonhosted.org/packages/source/o/osc-tiny/osc-tiny-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/o/osc-tiny/osc-tiny-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module PyYAML}
|
BuildRequires: %{python_module PyYAML}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-dateutil}
|
BuildRequires: %{python_module python-dateutil}
|
||||||
BuildRequires: %{python_module pytz}
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
BuildRequires: %{python_module responses}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-PyYAML
|
|
||||||
Requires: python-lxml
|
Requires: python-lxml
|
||||||
|
Requires: python-pyYAML
|
||||||
Requires: python-python-dateutil
|
Requires: python-python-dateutil
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Requires: python-requests
|
Requires: python-requests
|
||||||
%if %python_version_nodots < 38
|
|
||||||
BuildRequires: python3-cached-property
|
|
||||||
Requires: python-cached-property
|
|
||||||
%endif
|
|
||||||
Suggests: openssh
|
Suggests: openssh
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if 0%{?python_version_nodots} < 38
|
||||||
|
BuildRequires: %{python_module cached-property}
|
||||||
|
BuildRequires: %{python_module responses}
|
||||||
|
Requires: python-cached-property
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -56,9 +55,9 @@ accessing the OpenBuildService API.
|
|||||||
|
|
||||||
For further details see:
|
For further details see:
|
||||||
|
|
||||||
* https://osc-tiny.readthedocs.io/en/latest/
|
* https://osc-tiny.readthedocs.io/en/latest/
|
||||||
* https://openbuildservice.org/
|
* https://openbuildservice.org/
|
||||||
* https://build.opensuse.org/apidocs/index
|
* https://build.opensuse.org/apidocs/index
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n osc-tiny-%{version}
|
%setup -q -n osc-tiny-%{version}
|
||||||
@@ -66,13 +65,13 @@ For further details see:
|
|||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%check
|
|
||||||
%pytest
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user