From 1010c1a9d0b7e82f726e5a8c1c5c7a78bc20b8cb Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Thu, 9 Dec 2010 23:58:24 +0000 Subject: python-netifaces: recompile --- abs/core/python_modules/python-netifaces/PKGBUILD | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 abs/core/python_modules/python-netifaces/PKGBUILD diff --git a/abs/core/python_modules/python-netifaces/PKGBUILD b/abs/core/python_modules/python-netifaces/PKGBUILD new file mode 100644 index 0000000..258a9c2 --- /dev/null +++ b/abs/core/python_modules/python-netifaces/PKGBUILD @@ -0,0 +1,24 @@ +#Maintainer: Gergely Imreh +#Contributor: Gergely Imreh +pkgname=python-netifaces +_orig_name=netifaces +pkgver=0.5 +pkgrel=3 +pkgdesc="Portable module to access network interface information in Python." +depends=('python2') +makedepend=('gcc') +arch=('i686' 'x86_64') +url="http://alastairs-place.net/netifaces/" +license=('MIT') +provides=('netifaces' 'python-netifaces') +source=("http://alastairs-place.net/2007/03/netifaces/${_orig_name}-${pkgver}.tar.gz") +build() { + cd "${srcdir}/${_orig_name}-${pkgver}" + python2 setup.py install --root "${pkgdir}" || return 1 + + # Install license, that is inside the readme file + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 README "${pkgdir}/usr/share/licenses/${pkgname}/README" || return 1 +} +md5sums=('ea662a4b4c7db5d1631cc33bf68eb030') + -- cgit v0.12