blob: 2b9281878a987c2b20cdb98a8615c3773559ad7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: GI_Jack <GI_Jack@hackermail.com>
pkgname=python-generate_mac
_pypiname=python-generate_mac
pkgver=1.3.1
pkgrel=3
pkgdesc="Python Library for Generating Ethernet MAC addresses"
url="https://github.com/GIJack/python-generate_mac"
arch=('any')
license=('GPLv3')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=(${_pypiname}-${pkgver}.tar.gz::https://github.com/GIJack/python-generate_mac/archive/${pkgver}.tar.gz)
sha256sums=('bbe887839bd366b263376a87f40a55523092a9090124c3d5637dc144f9ca51be')
build() {
cd "${_pypiname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${_pypiname}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|