FreeBSD Ports

net/py-macaddress 2.0.2

Like "ipaddress", but for hardware identifiers such as MAC addresses

Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
ff41397e84
License
BSD0CLAUSE
Categories
net, python
Package size
13.4 KiB, 52.3 KiB installed

Description

This Python module is used for handling hardware identifiers like MAC addresses and makes it easy to:

* check if a string represents a valid MAC address, or a similar hardware identifier like an EUI-64, OUI, etc, * convert between string and binary forms of MAC addresses and other hardware identifiers,

and so on.

Heavily inspired by the ipaddress module, but not yet quite as featureful.

Install

As a binary package — by origin, or by package name:

pkg install net/py-macaddress
pkg install py312-macaddress

From the ports tree:

cd /usr/ports/net/py-macaddress/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-macaddress>0:net/py-macaddress

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0.22.0.2--2.0.2
FreeBSD:14:quarterly2.0.22.0.2n/a-2.0.2
FreeBSD:15:latest2.0.22.0.2n/a--
FreeBSD:15:quarterly2.0.22.0.2n/an/an/a
FreeBSD:16:latest2.0.22.0.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

The full lists below include those, and their dependencies in turn.

All build dependencies 16
All run dependencies 7

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
macaddress-2.0.2.tar.gz79271400ccdc28d747102d57ae61e5b78d8985872930810ceb8860cd49abd1e1fa37
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
ff41397e84 Kai Knoblich net/py-macaddress: New port
This Python module is used for handling hardware identifiers like MAC addresses and makes it easy to: * check if a string represents a valid MAC address, or a similar hardware identifier like an EUI-64, OUI, etc, * convert between string and binary forms of MAC addresses and other hardware identifiers, and so on. Heavily inspired by the ipaddress module, but not yet quite as featureful.