blob: 501908d5a1d7a92b7a51711c7cea968ffd0bb2bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/hint/bash
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
# ogMaintainer: 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.10.9
pkgrel=3
pkgdesc="Portable module to access network interface information in Python"
arch=('x86_64')
url="https://alastairs-place.net/netifaces/"
license=('MIT')
depends=('python2')
makedepends=('python2-setuptools')
source=("https://pypi.io/packages/source/n/netifaces/netifaces-${pkgver}.tar.gz")
sha512sums=('8fc593de4d2cbda46a3e2430ede031360f1abfc64d47d00fbec09f3395fd83479bf29d97cb6834b1df06850c9ac2745c9344b6814f34be5975d4d5df98e05e87')
package() {
cd "${srcdir}/netifaces-${pkgver}"
python2 setup.py install --root "${pkgdir}"
# Install license, that is inside the readme file
install -Dm644 README.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|