mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-02 09:22:07 +01:00
31 lines
841 B
Plaintext
31 lines
841 B
Plaintext
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=py3-ipaddr
|
|
_pkgname=ipaddr
|
|
pkgver=2.2.0
|
|
pkgrel=8
|
|
pkgdesc="Python3 IP address manipulation library"
|
|
url="https://github.com/google/ipaddr-py"
|
|
arch="noarch"
|
|
license="Apache-2.0 PSF"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-ipaddr" # Backwards compatibility
|
|
provides="py-ipaddr=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 ipaddr_test.py
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="5adb117c44e6e5dbdb9e96543aa7a34f35b4a4ec9baa163a25448058c34091bf4019d24f0250928291e4d4bc97dcdf75865daef739e2d94f98cc584e6e6c50dd ipaddr-2.2.0.tar.gz"
|