mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-netifaces: new aport
This commit is contained in:
parent
b3480e6673
commit
3f7909e7c7
32
testing/py3-netifaces/APKBUILD
Normal file
32
testing/py3-netifaces/APKBUILD
Normal file
@ -0,0 +1,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=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"
|
||||
Loading…
x
Reference in New Issue
Block a user