# Maintainer: Marco Rubin # Contributor: Brett Cornwall # Contributor: Sergey Mastykov _name=LinkChecker pkgname=linkchecker pkgver=10.2.1 pkgrel=1 pkgdesc="check links in web documents or full websites" arch=('any') url="https://github.com/linkcheck/linkchecker" license=('GPL2') depends=('python>=3.7' 'python-beautifulsoup4>=4.8.1' 'python-dnspython>=2.0' 'python-requests>=2.20') makedepends=('python-hatch-vcs' 'python-hatchling>=1.8.0' 'python-installer' 'python-polib') optdepends=('python-argcomplete: For command-line completion') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") b2sums=('ddbf22d9cdd04d89257b92d032cff24e4dde866b4be115f7b5b878bf2a42dd08159eef451b33ed621d747f06dffa445f4258975b932e5ae0eb8b79cfb8203549') build() { cd $pkgname-$pkgver hatchling build } package() { cd $pkgname-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl }