aboutsummaryrefslogblamecommitdiffstats
path: root/main/py3-idna/APKBUILD
blob: e9c6cacba666208d329c6bf16dab0daa23cc889c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                           
                                                          
                
             

          
                                           

                                 


                            
                                                                                 
                                    
 


                                                             
         
                              


           
                                                               

 


                                                                                                                                                 
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-idna
_pkgname=idna
pkgver=3.2
pkgrel=0
pkgdesc="IDNA 2008 and UTS #46 for Python3"
url="https://github.com/kjd/idna"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="idna-$pkgver.tar.gz::https://github.com/kjd/idna/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-idna" # Backwards compatibility
provides="py-idna=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

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

sha512sums="
629a03facb9278de857247b5dfd00f460ba3dbc4eb3348b2015dfc6293f17f7505fa9274ba4f33d4712924d6ffff72687b0cff97b34791b4dc14b885947a48b5  idna-3.2.tar.gz
"