summaryrefslogtreecommitdiff
path: root/community/python2-netifaces/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-09-05 10:33:48 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-09-05 10:33:48 +0200
commit4a133169d99e3d760caad3cbca2781872f4a0805 (patch)
tree73d442004d2d4f70e0194bd78d6b293337ec2456 /community/python2-netifaces/PKGBUILD
parenta420f5c4c2a4eeb411175d086b339b620dba309d (diff)
parent58f5e0b164b5f4c9af61b2e42bd10c85f28b9bed (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/apcupsd/PKGBUILD community/freedroidrpg/PKGBUILD community/lincity-ng/PKGBUILD community/python2-pymongo/PKGBUILD core/openssh/PKGBUILD core/systemd/PKGBUILD core/sysvinit/PKGBUILD extra/gnutls/PKGBUILD extra/gtkmm3/PKGBUILD extra/mkvtoolnix/PKGBUILD multilib/chuck/PKGBUILD multilib/lib32-gdk-pixbuf2/PKGBUILD multilib/lib32-gnutls/PKGBUILD multilib/lib32-libdrm/PKGBUILD multilib/lib32-libdrm/no-pthread-stubs.patch multilib/lib32-sdl/PKGBUILD multilib/wine/PKGBUILD social/monkeysphere/PKGBUILD testing/cups/PKGBUILD testing/cups/cups-systemd-socket.patch testing/cups/cups.install testing/inetutils/PKGBUILD testing/inetutils/ftpd.service testing/libreoffice/PKGBUILD testing/libreoffice/libreoffice-common.csh testing/libreoffice/libreoffice-common.sh testing/modemmanager/PKGBUILD testing/openssh/PKGBUILD testing/openssh/sshd.service testing/openssh/sshd.socket testing/upower/PKGBUILD
Diffstat (limited to 'community/python2-netifaces/PKGBUILD')
-rw-r--r--community/python2-netifaces/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/python2-netifaces/PKGBUILD b/community/python2-netifaces/PKGBUILD
new file mode 100644
index 000000000..1260a873c
--- /dev/null
+++ b/community/python2-netifaces/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 75808 2012-08-31 20:40:47Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
+# Contributor: Ghost of Kendo <ghostofkendo at gmail dot com>
+
+pkgname=python2-netifaces
+pkgver=0.8
+pkgrel=1
+pkgdesc="Portable module to access network interface information in Python"
+arch=('i686' 'x86_64')
+url="http://alastairs-place.net/netifaces/"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-distribute')
+source=("http://alastairs-place.net/projects/netifaces/netifaces-${pkgver}.tar.gz")
+md5sums=('e57e5983f4c286fac5f8068fbfc5c873')
+
+build() {
+ cd "${srcdir}/netifaces-${pkgver}"
+ python2 setup.py install --root "${pkgdir}"
+
+ # Install license, that is inside the readme file
+ install -Dm644 README "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}