aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 11:59:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 13:00:04 +0000
commitce739f1f35db7ca06bc9973cad65f4a3c04c8e93 (patch)
treee7aef2f5b67dddd095d98d44ae0f7f13dc9add7c /community
parentc4acb05b9fb26a9039feaa16c2ffa767d515ed4f (diff)
downloadaports-ce739f1f35db7ca06bc9973cad65f4a3c04c8e93.tar.bz2
aports-ce739f1f35db7ca06bc9973cad65f4a3c04c8e93.tar.xz
community/py3-netifaces: moved from testing
Diffstat (limited to 'community')
-rw-r--r--community/py3-netifaces/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/py3-netifaces/APKBUILD b/community/py3-netifaces/APKBUILD
new file mode 100644
index 0000000000..d9f7840abe
--- /dev/null
+++ b/community/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"