blob: 95299cc22ca080821caeac5fcb1a9293774cd533 (
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
25
26
27
28
29
30
31
32
|
# 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=1
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"
|