diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py3-netifaces/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/py3-netifaces/APKBUILD b/testing/py3-netifaces/APKBUILD new file mode 100644 index 0000000000..d9f7840abe --- /dev/null +++ b/testing/py3-netifaces/APKBUILD @@ -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" |