user/py3-pyppeteer: new aport
This commit is contained in:
parent
f8391b17c1
commit
8f3a9b0d01
1 changed files with 40 additions and 0 deletions
40
user/py3-pyppeteer/APKBUILD
Normal file
40
user/py3-pyppeteer/APKBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# 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
|
||||
"
|
Loading…
Reference in a new issue