forked from pool/python-screeninfo
Accepting request 1062212 from devel:languages:python
- Clean up SPEC file - Add tests running - Update to 0.8.1 * Added typing information - Update to 0.8 * Started tracking changes * Switched to poetry * Added ignoring of enumerators that work, but return no valid monitors * Added `ScreenInfoError` to list of top-level symbols - Update to 0.7 * No changelog available - Update to 0.6.7 * No changelog available. OBS-URL: https://build.opensuse.org/request/show/1062212 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-screeninfo?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 31 10:42:21 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Clean up SPEC file
|
||||||
|
- Add tests running
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 30 09:47:38 UTC 2023 - Eyad Issa <eyadlorenzo@gmail.com>
|
||||||
|
|
||||||
|
- Update to 0.8.1
|
||||||
|
* Added typing information
|
||||||
|
|
||||||
|
- Update to 0.8
|
||||||
|
* Started tracking changes
|
||||||
|
* Switched to poetry
|
||||||
|
* Added ignoring of enumerators that work, but return no valid monitors
|
||||||
|
* Added `ScreenInfoError` to list of top-level symbols
|
||||||
|
|
||||||
|
- Update to 0.7
|
||||||
|
* No changelog available
|
||||||
|
|
||||||
|
- Update to 0.6.7
|
||||||
|
* No changelog available.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 26 06:32:42 UTC 2020 - andy great <andythe_great@pm.me>
|
Thu Nov 26 06:32:42 UTC 2020 - andy great <andythe_great@pm.me>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-screeninfo
|
# spec file for package python-screeninfo
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,49 +16,48 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-screeninfo
|
Name: python-screeninfo
|
||||||
Version: 0.6.6
|
Version: 0.8.1
|
||||||
Release: 0
|
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 setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry-core}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Suggests: python-Cython
|
||||||
|
Suggests: python-dataclasses
|
||||||
|
Suggests: python-pyobjc-framework-Cocoa
|
||||||
|
BuildArch: noarch
|
||||||
%if 0%{?suse_version} <= 1500
|
%if 0%{?suse_version} <= 1500
|
||||||
BuildRequires: %{python_module dataclasses}
|
BuildRequires: %{python_module dataclasses}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python module to fetch location and size of physical screens.
|
Python module to fetch location and size of physical screens.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n screeninfo-%{version}
|
%autosetup -p1 -n screeninfo-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# upstream does not provide any tests
|
%pytest tests
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.md
|
%license LICENSE.md
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%dir %{python_sitelib}/screeninfo/
|
%{python_sitelib}/screeninfo
|
||||||
%dir %{python_sitelib}/screeninfo/enumerators/
|
%{python_sitelib}/screeninfo-%{version}*-info
|
||||||
%{python_sitelib}/screeninfo-%{version}-py%{python_version}.egg-info/
|
|
||||||
%{python_sitelib}/screeninfo/*.py*
|
|
||||||
%{python_sitelib}/screeninfo/enumerators/*.py*
|
|
||||||
%pycache_only %{python_sitelib}/screeninfo/__pycache__/
|
|
||||||
%pycache_only %{python_sitelib}/screeninfo/enumerators/__pycache__/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:602829a5477bd16d6b410b0b869aefdc856e12fdf6af67af0eab62b32b649871
|
|
||||||
size 8018
|
|
3
screeninfo-0.8.1.tar.gz
Normal file
3
screeninfo-0.8.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f6b3eeb22196a253611df1d3ee8fff549f2654730823ef4d2533018c27f13b09
|
||||||
|
size 26498
|
Reference in New Issue
Block a user