22 lines
706 B
Bash
22 lines
706 B
Bash
# Template file for 'python3-pychm'
|
|
pkgname=python3-pychm
|
|
version=0.8.6
|
|
revision=3
|
|
wrksrc=pychm-${version}
|
|
build_style=python3-module
|
|
hostmakedepends="python3 python3-setuptools"
|
|
makedepends="libchmlib-devel python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Python3 bindings for CHMLIB"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/dottedmag/pychm"
|
|
#distfiles="${PYPI_SITE}/p/pychm/pychm-${version}.tar.gz"
|
|
distfiles=https://github.com/dottedmag/pychm/archive/refs/tags/v0.8.6.tar.gz
|
|
checksum=23cdc3bbbeb97b57b472a67a0c7c96c6f1ec2d684a73a69fa84aaaeb195cab6c
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib* && pwd)" pytest
|
|
}
|