21 lines
615 B
Bash
21 lines
615 B
Bash
# Template file for 'python3-filetype'
|
|
pkgname=python3-filetype
|
|
version=1.0.5
|
|
revision=4
|
|
wrksrc="filetype-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
short_desc="Python3 package to infer file types"
|
|
maintainer="xaltsc <xaltsc@protonmail.ch>"
|
|
license="MIT"
|
|
homepage="https://github.com/h2non/filetype.py"
|
|
distfiles="${PYPI_SITE}/f/filetype/filetype-${version}.tar.gz"
|
|
checksum=17a3b885f19034da29640b083d767e0f13c2dcb5dcc267945c8b6e5a5a9013c7
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
rm -rf ${DESTDIR}/${py3_sitelib}/examples
|
|
rm -rf ${DESTDIR}/${py2_sitelib}/examples
|
|
}
|