ayaports/user/py3-pyppeteer/APKBUILD

41 lines
1 KiB
Text
Raw Normal View History

2024-01-05 01:59:34 +00:00
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-pyppeteer
_pkgreal=pyppeteer
pkgver=1.0.2
pkgrel=0
pkgdesc="Headless chrome/chromium automation library (unofficial port of puppeteer)"
url="https://pypi.python.org/project/pyppeteer"
arch="noarch"
license="MIT"
depends="
chromium
py3-appdirs
py3-certifi
py3-importlib-metadata
py3-pyee
py3-tqdm
py3-urllib3
py3-websockets
"
checkdepends="python3-dev"
makedepends="py3-setuptools py3-gpep517 py3-wheel poetry"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/p/pyppeteer/pyppeteer-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
subpackages="$pkgname-pyc"
build() {
gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/*.whl
}
sha512sums="
a73d00fa1c94172891d44411614aa16f517aa5babb4d7cb220cac8c4135a78c6f25463c768dae37c2186df658d8c185cb2ac5cc2dc943d24b3b212ccc037a532 py3-pyppeteer-1.0.2.tar.gz
"