~dricottone/huttese-apk

ref: 95ab9f8036d5b04f30b3c3bb810772e2b8b1e1a6 huttese-apk/sr.ht/py3-webencodings/APKBUILD -rw-r--r-- 778 bytes
95ab9f80 — Drew DeVault Remove now-upstream packages, update to 3.10 5 years ago
                                                                                
5abeb50f Drew DeVault
04866bce Drew DeVault
5abeb50f Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=webencodings
pkgname=py3-webencodings
pkgver=0.5.1
pkgrel=0
pkgdesc="A Python implementation of the WHATWG Encoding standard"
url="https://github.com/gsnedders/python-webencodings"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/gsnedders/python-webencodings/archive/v$pkgver.tar.gz"
builddir="$srcdir/python-webencodings-${pkgver}"

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="c5cb34f35fb5bc7ffb88c19eb3262dedbf6231c0ee2871dccbc0f9497193d8209fc20703d451a2bb41a5ff913e63abf7481f7a8f9886c953724e9cf71c34cb74  py3-webencodings-0.5.1.tar.gz"