blob: 116ff714bf82d866dc6124a448520b142d69d45f (
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
|
# Maintainer: Andrew O'Neill <andrew at haunted dot sh>
pkgname=python-ipaddress
_pyname=ipaddress
pkgver=1.0.23
pkgrel=1
pkgdesc='IPv4/IPv6 manipulation library'
arch=('x86_64')
url='https://github.com/phihag/ipaddress'
license=('PSF-2.0')
makedepends=('python-setuptools')
depends=('python')
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('8cc01a7523042c3b1a01446f0318e8bbe0fc0d520ca651c986377e402a2e9b47')
build() {
cd "${_pyname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pyname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|