789131206a
detect_from_content seems broken. But, at least other packages depends on this package could work now. Perfect is the enemy of the good.
31 lines
821 B
Bash
31 lines
821 B
Bash
# Template file for 'python3-file-magic'
|
|
# Don't merge python3-file-magic into file
|
|
|
|
_file_ver=5.39
|
|
_file_minver=5.34
|
|
|
|
pkgname=python3-file-magic
|
|
version=0.4.0
|
|
revision=1
|
|
wrksrc=file-${_file_ver}
|
|
build_wrksrc=python
|
|
archs=noarch
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="libmagic>=${_file_minver}_1"
|
|
checkdepends="$depends"
|
|
short_desc="File type identification utility"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://www.darwinsys.com/file/"
|
|
distfiles="https://astron.com/pub/file/file-${_file_ver}.tar.gz"
|
|
checksum=f05d286a76d9556243d0cb05814929c2ecf3a5ba07963f8f70bfaaa70517fad1
|
|
conflicts="python3-magic>=0"
|
|
|
|
do_check() {
|
|
: detect_from_content report application/octet-stream on Python Script
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|