1
0
forked from pool/python-getmac

17 Commits

Author SHA256 Message Date
ebd3bee23f Accepting request 1156190 from devel:languages:python
- 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/request/show/1156190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=7
2024-03-08 17:09:17 +00:00
86d21223aa - 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
62a1c878cf Accepting request 1006897 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1006897
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=6
2022-09-29 16:14:16 +00:00
25be958423 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
0a2ba161ab Accepting request 886231 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/886231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=5
2021-04-17 21:24:59 +00:00
10a1047105 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
cf57d9af5c Accepting request 809371 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/809371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=4
2020-05-28 07:16:57 +00:00
Tomáš Chvátal
ece83ddcc7 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
170fd4d803 Accepting request 794606 from devel:languages:python
- Skip test_cli_main as it fails for some reason on OBS

- Fix all files having executable bit

- 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/794606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=3
2020-04-16 21:06:49 +00:00
Tomáš Chvátal
b7f1708089 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
bd2993ab2f - 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
cdf93f46d8 - 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
e330ed6f5e 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
3d9ad6e071 Accepting request 729675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/729675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=2
2019-09-11 08:33:36 +00:00
Tomáš Chvátal
d24f67fc1c 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
1d722f6366 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
d0071378ac 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