mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-28 01:41:25 +02:00
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
|
pkgname=py3-netifaces
|
|
_pkgname=netifaces
|
|
pkgver=0.10.4.1
|
|
pkgrel=0
|
|
pkgdesc=" A netifaces fork compatible with Python 3"
|
|
url="http://alastairs-place.net/netifaces/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="python3-dev py-setuptools linux-headers"
|
|
install=""
|
|
subpackages=""
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/GNS3/netifaces/archive/v$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python3 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="a748107636ca7d2f152d2584c646fad8 py3-netifaces-0.10.4.1.tar.gz"
|
|
sha256sums="6837680d0dc11f04ca13e0c4c92ffaea0c6355545217d69441c66d3e8e9a35b5 py3-netifaces-0.10.4.1.tar.gz"
|
|
sha512sums="6fbaca7b0b6133c53e0d09f8ccb38d8c3665bdf1f8af439cc5079a690d73adc857254668417e26df29ed45214a42b6705375c42700aed1e09a4c4c6d6f61afb8 py3-netifaces-0.10.4.1.tar.gz"
|