blob: e4db63686018296451f7b2c7dd9a02d83521b2a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Maintainer: Aleksandr Beliaev <trap000d@gmail.com>
_pkgname=webscrapbook
pkgname=python-$_pkgname
pkgver=2.5.1
pkgrel=1
pkgdesc="PyWebScrapBook is a command line toolkit and backend server for WebScrapBook browser extension"
arch=('any')
url="https://github.com/danny0838/PyWebScrapBook"
license=('MIT')
depends=('python' 'python-commonmark' 'python-flask' 'python-lxml' 'python-pyopenssl' 'python-werkzeug' 'python-jinja')
makedepends=('python-build' 'python-wheel' 'python-installer' 'python-setuptools')
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('1d410dbbbc5ef447b5fa04df7baf80e438ac0aa47951ccd23cb5bf71649f7956')
build() {
cd "$srcdir/PyWebScrapBook-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/PyWebScrapBook-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|