blob: ecf2f5ce39a4d32a5c8cd53dfe04d4fdf9de6b88 (
plain) (
blame)
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
26
27
28
29
30
31
32
33
34
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-idna
_pkgname=${pkgname#py3-}
pkgver=2.7
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() {
cd "$builddir"
python3 setup.py build
}
check() {
cd "$builddir"
python3 setup.py test
}
package() {
mkdir -p "$pkgdir"
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="6fcfd9aec25d6ca14a72e5e236d612ec9aba81aa41e31001bd4cf3cc5499ac133e05bf8393fc2e5d54ea7602ba6601c87e7a219339d9a4979198572d78cf4987 idna-2.7.tar.gz"
|