Commit Graph

11 Commits

Author SHA256 Message Date
f960758bcf - Update to 0.9.4:
* Support BusyBox's ``arping``
  * Improve how ARP is handled. If ``ArpFile`` method succeeds, use it
    instead of ``ArpingHost``
  * Speed up the first call to ``ArpingHost``
  * Fix FORCE_METHOD not being respected for IPv4 macs
  * Fix `ArpFile` method being used for IPv6
  * Deprecate Python 3.6 support
  * This release is a *complete rewrite of getmac from the ground up*. The
    public API of `getmac` is **unchanged** as part of this rewrite.
  * Fully support Python 3.9
  * Tentatively support Python 3.10 and 3.11
  * `arping` (POSIX) or `SendARP` (Windows) will now *always* be used instead 
    of sending a UDP packet when looking for the MAC of a IPv4 host, if
    they're available and operable (otherwise, UDP + ARP table check will be
    used like before).
  * Added ability to override the detected platform via `--override-platform` 
    argument (CLI) or `getmac.getmac.OVERRIDE_PLATFORM` variable (Python).
    This will force methods for that platform to be used, regardless of the
    actual platform.
  * Overhauled `ifconfig` parsing. It should now be far more reliable and
    accurate across all platforms.
  * Fixed bug with `/proc/net/route` parsing
  * Removed man pages from distribution (`getmac.1`/`getmac2.1`). They were
    severely out of date and unused.
- Drop patches fix-failing-darwin-test.patch and support-python3.9.patch
- Add patch cope-with-no-ip6.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=16
2024-03-08 01:00:16 +00:00
db2ea50f3d Accepting request 1006777 from home:yarunachalam:branches:devel:languages:python
- 0.8.3 (12/10/2021)
  Announcement: Compatibility with Python versions older than 3.6 (2.7, 3.4, and 3.5) is deprecated and will be removed in getmac 1.0.0.
  If you are stuck on an unsupported Python, considor loosely pinning the version of this package in your dependency list, e.g. getmac<1.
  Changed
  Added support for Thomas Habets' version of arping in addition to the existing iputils one (contributed by Ville Skyttä (@scop) in #52 and #54)
  Added support for docker in network bridge mode (contributed by Tomasz Duda (@tomaszduda23) in #57)
  Add CHANGELOG URL to PyPI metadata (contributed by Ville Skyttä (@scop) in #58)
  Fixed code quality test suite errors (includes changes by Daniel Flanagan (@FlantasticDan) in #67)
  Improved Android support (contributed by @emadmahdi in #71)
  Minor code quality fixes (2 years of neglecting master branch)
  Add Code of Conduct for project contributors
  Add SECURITY.md for reporting security issues (e.g. vulnerabilities)
  Deprecate Python 3.4 and 3.5
  Issue deprecation message as a warning in addition to a log message

OBS-URL: https://build.opensuse.org/request/show/1006777
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=14
2022-09-29 09:37:03 +00:00
20e32db5b9 Accepting request 886090 from home:alarrosa:branches:devel:languages:python
- Add patch to fix build by skipping a test that doesn't work as
  expected:
  * fix-failing-darwin-test.patch
- Add patch to fix build with python 3.9:
  * support-python3.9.patch

OBS-URL: https://build.opensuse.org/request/show/886090
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=12
2021-04-17 08:37:51 +00:00
Tomáš Chvátal
c06f56f493 Accepting request 809261 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809261
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=10
2020-05-27 10:07:50 +00:00
Tomáš Chvátal
ff21c65556 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=8 2020-04-16 13:33:46 +00:00
Tomáš Chvátal
60222ccff9 - Skip test_cli_main as it fails for some reason on OBS
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=7
2020-04-16 13:24:00 +00:00
Tomáš Chvátal
9bfe5ffe85 - Fix all files having executable bit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=6
2020-04-16 13:18:30 +00:00
Tomáš Chvátal
43f98af1d7 Accepting request 791810 from home:mcalabkova:branches:devel:languages:python
- update to 0.8.2
  * Added warning about Python 2 compatibility being dropped in 1.0.0
  * Officially support Python 3.8
  * Documented a known issue with looking up IP of a local interface on Linux/WSL (See the "Known Issues" section in the README)
  * Added remote host lookup using `arping` as last resort

OBS-URL: https://build.opensuse.org/request/show/791810
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=5
2020-04-06 17:30:23 +00:00
Tomáš Chvátal
8d667102bd Accepting request 729663 from home:jengelh:branches:devel:languages:python
- Use noun phrase/full sentences for summary/description.

OBS-URL: https://build.opensuse.org/request/show/729663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=3
2019-09-10 07:32:11 +00:00
015b57ea3c Accepting request 729329 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/729329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=1
2019-09-09 21:46:14 +00:00
Tomáš Chvátal
b51a26272e Accepting request 728311 from home:alarrosa:branches:system:homeautomation:home-assistant
New package python-getmac, required by the nmap_tracker component of home-assistant

OBS-URL: https://build.opensuse.org/request/show/728311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=1
2019-09-09 07:18:56 +00:00