Files
binary-repo/dev/python/py3-hotdoc/ympbuild
T
2026-05-06 10:11:31 +03:00

37 lines
859 B
Bash

#!/usr/bin/env bash
name='py3-hotdoc'
release='2'
version='0.18.2'
url='https://pypi.org/project/hotdoc/'
description='A documentation tool micro-framework'
email='aliriza.keskin@pardus.org.tr'
maintainer='aliriza'
license=('GPLv3')
#source=("https://github.com/hotdoc/hotdoc/archive/refs/tags/$version.tar.gz")
source=("https://files.pythonhosted.org/packages/26/f3/94ed01195952d8ba87e43ed1417f03bf50cd9d7d8db9c2c4364932e150a0/hotdoc-0.18.2.tar.gz"
"remove-bootstrap.patch")
depends=(python json-glib)
makedepends=()
sha256sums=('ded2c2cd06f4527f891b2d469ab5bc0161fdc84aa90d07b190bd63694a059389'
'SKIP')
group=(dev.python)
uses=()
arch=('x86_64')
cd hotdoc-$version
prepare(){
patch -Np1 -i ../remove-bootstrap.patch
}
build(){
python -m build --wheel
}
package(){
python -m installer --destdir="$DESTDIR" dist/*.whl
}