summaryrefslogblamecommitdiff
path: root/user/py3-idna/APKBUILD
blob: 92820b4f7589caaf9f2ba68f43fd6cd3c3e853d5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                           

                                         

                        
          



                                          

                                                     





                                                                                 



                              



                             


                                                               
                                                                                                                                                              
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-idna
_pkgname=${pkgname#py3-}
pkgver=2.9
pkgrel=0
pkgdesc="IDNA 2008 and UTS #46 for Python"
url="https://github.com/kjd/idna"
arch="noarch"
license="BSD-3-Clause AND Python-2.0 AND Unicode-TOU"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="idna-$pkgver.tar.gz::https://github.com/kjd/idna/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="af15fefeaf3b4d90b2edf83a1ac15ffd0290678f43d734d27477d2a4866b01d4042558ddd26a3c80f6035f36d4760618708c5a86bf4f5b420fcbf203de4b82b1  idna-2.9.tar.gz"