26 lines
747 B
Bash
26 lines
747 B
Bash
# Template file for 'python3-magic'
|
|
pkgname=python3-magic
|
|
version=0.4.25
|
|
revision=1
|
|
wrksrc=python-magic-$version
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="libmagic"
|
|
depends="python3 libmagic"
|
|
checkdepends="python3-pytest"
|
|
short_desc="File type identification using libmagic (Python3)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/ahupp/python-magic"
|
|
changelog="https://raw.githubusercontent.com/ahupp/python-magic/master/CHANGELOG"
|
|
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
|
|
checksum=0c1f483995067ffff268103f8bb6860d2f42aa3a5a9b906eaf34bcce1de36329
|
|
|
|
do_check() {
|
|
( cd test/; python3 -m pytest )
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|