Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-getmac
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package python-getmac
--- python-getmac.spec.orig +++ python-getmac.spec @@ -1,7 +1,7 @@ # # spec file for package python-getmac # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,17 +19,13 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-getmac -Version: 0.8.2 +Version: 0.9.4 Release: 0 Summary: Module to get MAC addresses of remote hosts and local interfaces License: MIT Group: Development/Languages/Python URL: https://github.com/GhostofGoes/getmac Source: https://files.pythonhosted.org/packages/source/g/getmac/getmac-%{version}.tar.gz -# PATCH-FIX-OPENSUSE -Patch0: fix-failing-darwin-test.patch -# PATCH-FIX-UPSTREAM -Patch1: support-python3.9.patch BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} @@ -46,8 +42,6 @@ A Python module to get MAC addresses of %prep %setup -q -n getmac-%{version} -%patch0 -p1 -%patch1 -p1 sed -i "1,4{/\/usr\/bin\/env/d}" getmac/__main__.py rm -r *egg-info find . -type f -exec chmod -x {} \; @@ -57,7 +51,6 @@ find . -type f -exec chmod -x {} \; %install %python_install -%python_clone -a %{buildroot}%{_mandir}/man1/getmac.1 %python_clone -a %{buildroot}%{_bindir}/getmac %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -65,7 +58,7 @@ find . -type f -exec chmod -x {} \; export LANG=C.UTF-8 # test_cli_main fails in OBS not local run # test_cli_multiple_debug_levels same as above -%pytest tests -k 'not test_get_default_iface_freebsd and not test_cli_main and not test_cli_multiple_debug_levels' +%pytest tests -k 'not test_get_default_iface_freebsd and not test_cli_main and not test_cli_multiple_debug_levels and not test_initialize_method_cache_valid_types' %post %python_install_alternative getmac getmac.1 @@ -77,7 +70,6 @@ export LANG=C.UTF-8 %doc CHANGELOG.md README.md %license LICENSE %python_alternative %{_bindir}/getmac -%python_alternative %{_mandir}/man1/getmac.1%{?ext_man} %{python_sitelib}/getmac* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor