From b15771639731942c65d2b487702542530c7374a2 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 19 Nov 2018 19:09:34 -0500 Subject: [PATCH] Add py3-stripe --- sr.ht/py3-stripe/APKBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sr.ht/py3-stripe/APKBUILD diff --git a/sr.ht/py3-stripe/APKBUILD b/sr.ht/py3-stripe/APKBUILD new file mode 100644 index 0000000..989b2b9 --- /dev/null +++ b/sr.ht/py3-stripe/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=stripe +pkgname=py3-stripe +pkgver=2.12.0 +pkgrel=0 +pkgdesc="An easy whitelist-based HTML-sanitizing tool" +url="https://github.com/stripe/stripe-python" +arch="noarch" +license="MIT" +depends="python3" +makedepends="py-setuptools py3-requests" +source="https://pypi.org/packages/source/s/stripe/stripe-$pkgver.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="78237c72224fc8facd0c247671c0e2deb66dc8dc46c446cfa7e8b83cce5ca99a52fec320ef59ae0ece47c54a48120de16e4393e269db9c74542c8165eeb96d2e bleach-2.0.0.tar.gz" -- 2.45.2