aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-netaddr/APKBUILD
blob: e1edf400c92278c48540e0e7654d503e18beae33 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
                   
                
             
        


                                                           


                            
                                                                                                          
                                    
 


                                                                
         
                              


           
                                                               

 
                                                                                                                                                                    
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-netaddr
_pkgname=netaddr
pkgver=0.7.19
pkgrel=4
pkgdesc="A network address manipulation library for Python"
url="https://github.com/drkjam/netaddr"
arch="noarch"
license="BSD-3-Clause"
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-netaddr" # Backwards compatibility
provides="py-netaddr=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="8440dee19d51828cd0dee403ec8c2fbc70e42d8c7c922d1a6a2a752100f9a313c521fa5e0789e024af0998f713599d50cf986e96867d3cc62a4143875e52d6bf  netaddr-0.7.19.tar.gz"