forked from pool/python-screeninfo
- Add tests running
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-screeninfo?expand=0&rev=11
This commit is contained in:
@@ -22,9 +22,10 @@ Release: 0
|
||||
Summary: Fetch location and size of physical screens
|
||||
License: MIT
|
||||
URL: https://github.com/rr-/screeninfo
|
||||
Source0: https://github.com/rr-/screeninfo/archive/%{version}.tar.gz#/screeninfo-%{version}.tar.gz
|
||||
Source0: https://github.com/rr-/screeninfo/archive/refs/tags/%{version}.tar.gz#/screeninfo-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -51,7 +52,7 @@ Python module to fetch location and size of physical screens.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# tests are not included in the PyPI tarball
|
||||
%pytest tests
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.md
|
||||
|
Reference in New Issue
Block a user