# Template file for 'python3-reflink'
pkgname=python3-reflink
version=0.2.2
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel python3-cffi"
depends="python3-cffi"
short_desc="Python wrapper around the reflink system calls"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="MIT"
homepage="https://gitlab.com/rubdos/pyreflink"
distfiles="${PYPI_SITE}/r/reflink/reflink-${version}.tar.gz"
checksum=882375ee7319275ae5f6a6a1287406365dac1e9643b91ad10e5187d3f84253bd
# test suite includes calls to mount/umount and writing to /dev which fail due
# to chroot-util-linux not including mount/umount and no permissions,
# respectively
make_check=no

post_install() {
	vlicense LICENSE
}
