summaryrefslogtreecommitdiffstats
path: root/testing/py-netifaces
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-03 11:35:32 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-04 09:50:14 +0000
commit5999712831910bfa6dbc0a4bd96b7d17d56ccd7a (patch)
treea466871eaf25ba7b17e33cdf880bc91dba1e2270 /testing/py-netifaces
parentbc11de47a2e1d9ceaf9fcad25afd54364b8187f3 (diff)
downloadaports-5999712831910bfa6dbc0a4bd96b7d17d56ccd7a.tar.bz2
aports-5999712831910bfa6dbc0a4bd96b7d17d56ccd7a.tar.xz
testing/py-netifaces: upgrade to 0.8
Diffstat (limited to 'testing/py-netifaces')
-rw-r--r--testing/py-netifaces/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/testing/py-netifaces/APKBUILD b/testing/py-netifaces/APKBUILD
index 332c9196a..1486d054f 100644
--- a/testing/py-netifaces/APKBUILD
+++ b/testing/py-netifaces/APKBUILD
@@ -2,15 +2,15 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-netifaces
_pkgname=netifaces
-pkgver=0.6
+pkgver=0.8
pkgrel=0
pkgdesc="Portable module to access network interface information in Python"
url="http://alastairs-place.net/netifaces/"
arch="all"
license="MIT"
depends=""
-depends_dev="python-dev py-setuptools"
-makedepends="$depends_dev"
+depends_dev=""
+makedepends="python-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
source="http://alastairs-place.net/projects/$_pkgname/$_pkgname-$pkgver.tar.gz"
@@ -27,12 +27,15 @@ prepare() {
build() {
cd "$_builddir"
- python setup.py install --root "${pkgdir}"
+ python setup.py build || return 1
}
package() {
cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -Dm644 README "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-md5sums="6ea1e045ebd5db99dd675178e41307e5 netifaces-0.6.tar.gz"
+md5sums="e57e5983f4c286fac5f8068fbfc5c873 netifaces-0.8.tar.gz"
+sha256sums="53a711038db3d6e5cf7129d6f751185fd052f830f12f271fbfe17bd2671ab1ec netifaces-0.8.tar.gz"
+sha512sums="b3735c4f83d4ed1d52f59937187659f148205a721fd05ce5a10e9ec89ea3519971001b2985e24bb30fb112ee741310babd847f84d4c3fbb34989edc6a743f551 netifaces-0.8.tar.gz"