blob: ab9721592c4b7d46ee7a767850eaccd5b764bd24 (
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
|
pkgname='python-dokuwikidumper'
pkgver=0.2.6
_src_folder=${pkgname#python-}-$pkgver
pkgrel=1
pkgdesc="A tool for archiving DokuWiki"
url="https://github.com/saveweb/dokuwiki-dumper"
depends=(
'python'
'python-lxml'
'python-requests'
'python-internetarchive'
'python-rich'
'python-beautifulsoup4'
'python-slugify'
'7zip'
'python-typing_extensions'
)
makedepends=(
'python-build'
'python-installer'
'python-wheel'
'python-uv-build'
'python-ruff'
'python-pytest'
)
license=('GPLv3')
arch=('any')
source=("https://pypi.io/packages/source/${_src_folder::1}/${pkgname#python-}/${_src_folder}.tar.gz")
sha256sums=('a49041fed30f41abf1a12da0da8fd5a9c7d7387d32f19ad43a4aab3f4d7e2d36')
build() {
cd "${srcdir}/${_src_folder}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_src_folder}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|