summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:49:59 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-07 12:49:59 -0500
commit9a63e8ce7538ec33193d75e3587ddf4f46aab655 (patch)
tree97c5e14838f5b9a52a11ac53df5dd012b0780473 /pcr
parent2a1b8374564fe09d46553b515c196c4a226a35e0 (diff)
python-netifaces: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python-netifaces/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/python-netifaces/PKGBUILD b/pcr/python-netifaces/PKGBUILD
new file mode 100644
index 000000000..16eb9e7dd
--- /dev/null
+++ b/pcr/python-netifaces/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer (Arch): Hugo Osvaldo Barrera <hugo@barrera.io>
+# Contributor (Arch): Giovanni Scafora <giovanni@archlinux.org>
+# Contributor (Arch): Gergely Imreh <imrehg@gmail.com>
+# Contributor (Arch): Ghost of Kendo <ghostofkendo@gmail.com>
+# Maintainer: Omar Veg Ramos <ovruni@gnu.org.pe>
+
+pkgname=python-netifaces
+pkgver=0.10.4
+pkgrel=2
+pkgdesc="Portable module to access network interface information in Python"
+arch=('i686' 'x86_64')
+url="http://alastairs-place.net/netifaces/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/n/netifaces/netifaces-${pkgver}.tar.gz")
+md5sums=('36da76e2cfadd24cc7510c2c0012eb1e')
+
+package() {
+ cd "${srcdir}/netifaces-${pkgver}"
+ python setup.py install --root "${pkgdir}"
+
+ # Install license, that is inside the readme file
+ install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}