~dricottone/huttese-apk

ref: c0a83a9bd7ead23062e3452aa0f69f718e6966d0 huttese-apk/sr.ht/py3-webencodings/APKBUILD -rw-r--r-- 797 bytes
c0a83a9b — Drew DeVault py3-stripe: upgrade to 2.40.0 5 years ago
                                                                                
5abeb50f Drew DeVault
cb4c58b7 Drew DeVault
5abeb50f Drew DeVault
4e2ef7d9 Drew DeVault
5abeb50f Drew DeVault
cb4c58b7 Drew DeVault
5abeb50f Drew DeVault
cb4c58b7 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
26
27
28
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-webencodings
_pyname=webencodings
pkgver=0.5.1
pkgrel=4
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"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="b727b01bac6ec79bca517960d27b4c0668b295f25559471b9641c2c33dab55db6dac9c990952177964c6418382c22831b14d57df5e632d51d7abf97b61f24326  webencodings-0.5.1.tar.gz"