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:
@@ -2,6 +2,7 @@
|
|||||||
Tue Jan 31 10:42:21 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
Tue Jan 31 10:42:21 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
- Clean up SPEC file
|
- Clean up SPEC file
|
||||||
|
- Add tests running
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 30 09:47:38 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
Mon Jan 30 09:47:38 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
@@ -22,9 +22,10 @@ Release: 0
|
|||||||
Summary: Fetch location and size of physical screens
|
Summary: Fetch location and size of physical screens
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/rr-/screeninfo
|
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 pip}
|
||||||
BuildRequires: %{python_module poetry-core}
|
BuildRequires: %{python_module poetry-core}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -51,7 +52,7 @@ Python module to fetch location and size of physical screens.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# tests are not included in the PyPI tarball
|
%pytest tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:9983076bcc7e34402a1a9e4d7dabf3729411fd2abb3f3b4be7eba73519cd2ed1
|
oid sha256:f6b3eeb22196a253611df1d3ee8fff549f2654730823ef4d2533018c27f13b09
|
||||||
size 10666
|
size 26498
|
||||||
|
Reference in New Issue
Block a user