From 99d6dff434b72c4f9817c3dd325235dfd413c15b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 1 Jul 2019 08:40:25 -0400 Subject: [PATCH] py3-soupsieve: new APKBUILD --- sr.ht/py3-soupsieve/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sr.ht/py3-soupsieve/APKBUILD diff --git a/sr.ht/py3-soupsieve/APKBUILD b/sr.ht/py3-soupsieve/APKBUILD new file mode 100644 index 0000000..ee992a9 --- /dev/null +++ b/sr.ht/py3-soupsieve/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Drew DeVault +# Maintainer: Drew DeVault +pkgname=py3-soupsieve +_pyname=soupsieve +pkgver=1.9.2 +pkgrel=0 +pkgdesc="A modern CSS selector implementation for Beautiful Soup." +url="https://github.com/facelessuser/soupsieve" +arch="noarch" +license="MIT" +checkdepends="py3-beautifulsoup4" +makedepends="py3-setuptools py3-pytest py3-pytest-cov py3-lxml py3-html5lib" +_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() { + pytest-3 +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="7d741d7119ecfb886c3c08853aa268c81b8eccae304518367e8ff479b7925d95131f484c4f57af7c5d0dc87cbdb511a48581a3ca9bd206711d5f4700e0896906 soupsieve-1.9.2.tar.gz" -- 2.45.2