# Maintainer: Marco Rubin # Contributor: Brett Cornwall # Contributor: Sergey Mastykov _name=LinkChecker pkgname=linkchecker pkgver=10.2.0 pkgrel=1 pkgdesc="check links in web documents or full websites" arch=('any') url="https://github.com/linkcheck/linkchecker" license=('GPL2') depends=('python-beautifulsoup4' 'python-dnspython' 'python-requests') makedepends=('python-hatch-vcs' 'python-hatchling' '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") sha256sums=('943a3f3f30279fbb85fc6f0569d808cf1ae4be0de4c2050c6f713429b8e58b59') build() { cd $pkgname-$pkgver hatchling build } package() { cd $pkgname-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl }