forked from pool/python-wakeonlan
Accepting request 970109 from home:pgajdos:python
- version update to 2.1.0 * no upstream changelog file found - python-mock is not required for build OBS-URL: https://build.opensuse.org/request/show/970109 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wakeonlan?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 14 10:24:16 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 2.1.0
|
||||||
|
* no upstream changelog file found
|
||||||
|
- python-mock is not required for build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 18 07:25:33 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
Mon May 18 07:25:33 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-wakeonlan
|
# spec file for package python-wakeonlan
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 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
|
||||||
@@ -18,14 +18,15 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-wakeonlan
|
Name: python-wakeonlan
|
||||||
Version: 1.1.6
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A small python module for wake on lan
|
Summary: A small python module for wake on lan
|
||||||
License: WTFPL
|
License: WTFPL
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/remcohaszing/pywakeonlan
|
URL: https://github.com/remcohaszing/pywakeonlan
|
||||||
Source: https://files.pythonhosted.org/packages/source/w/wakeonlan/wakeonlan-%{version}.tar.gz
|
Source: https://github.com/remcohaszing/pywakeonlan/archive/refs/tags/%{version}.tar.gz#/wakeonlan-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm >= 1.15.7}
|
BuildRequires: %{python_module setuptools_scm >= 1.15.7}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@@ -40,21 +41,17 @@ BuildArch: noarch
|
|||||||
A small python module for wake on lan.
|
A small python module for wake on lan.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n wakeonlan-%{version}
|
%setup -q -n pywakeonlan-%{version}
|
||||||
sed -i -e 's:~=:>=:g' setup.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG=en_US.UTF8
|
%pyproject_wheel
|
||||||
%python_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export LANG=en_US.UTF8
|
%pyproject_install
|
||||||
%python_install
|
|
||||||
%python_clone -a %{buildroot}%{_bindir}/wakeonlan
|
%python_clone -a %{buildroot}%{_bindir}/wakeonlan
|
||||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF8
|
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5e6013a17004809e676c150689abd94bcc0f12a37ad3fbce1f6270968f95ffa9
|
|
||||||
size 6337
|
|
3
wakeonlan-2.1.0.tar.gz
Normal file
3
wakeonlan-2.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9cc3acb96e49da090fb4d4201fc1fd434ad8f5a180aa248a3f322b2a47b75eb5
|
||||||
|
size 23229
|
Reference in New Issue
Block a user