From 5abeb50f281561becc0efcb6ee9b3e8154eb959b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 14 Nov 2017 01:18:17 +0000 Subject: [PATCH] Add py3-webencodings --- py3-webencodings/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 py3-webencodings/APKBUILD diff --git a/py3-webencodings/APKBUILD b/py3-webencodings/APKBUILD new file mode 100644 index 0000000..499136f --- /dev/null +++ b/py3-webencodings/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=webencodings +pkgname=py3-webencodings +pkgver=0.5.1 +pkgrel=1 +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" -- 2.45.2