blob: a98c43dc633d768e623031664d52c3485c693c0b (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Liliane Fontenot <projects@liliane.io>
# Contributor: Philip Goto <philip.goto@gmail.com>
pkgname=xword-dl
pkgver=2025.10.14
pkgrel=1
pkgdesc='Command-line tool to download .puz files for online crossword puzzles'
arch=(any)
url='https://github.com/thisisparker/xword-dl'
license=(MIT)
depends=(
python-beautifulsoup4
python-dateparser
python-emoji
python-html2text
python-lxml
python-puzpy
python-requests
python-unidecode
python-xmltodict
python-yaml
)
makedepends=(git python-build python-hatchling python-hatch-vcs python-installer)
source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
sha256sums=('9ab742747f8445314e8100d997c16df6c5afeb2035686375d90462f2ab540fbc')
prepare() {
git -C "${srcdir}/${pkgname}" clean -dfx
}
build() {
cd "${pkgname}"
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}"
python -m installer -d "${pkgdir}" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|