void-packages/srcpkgs/python3-pyxattr/template

21 lines
627 B
Bash

# Template file for 'python3-pyxattr'
pkgname=python3-pyxattr
version=0.7.2
revision=1
wrksrc="pyxattr-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Filesystem extended attributes for python"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="LGPL-2.1-or-later"
homepage="http://pyxattr.k1024.org/"
distfiles="${PYPI_SITE}/p/pyxattr/pyxattr-${version}.tar.gz"
checksum=68477027e6d3310669f98aaef15393bfcd9b2823d7a7f00a6f1d91a3c971ae64
do_check() {
PYTHONPATH=$(cd build/lib* && pwd) python3 -m pytest
}