void-packages/srcpkgs/python-magic/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

30 lines
801 B
Bash

# Template file for 'python-magic'
pkgname=python-magic
version=0.4.15
revision=2
archs=noarch
build_style=python-module
pycompile_module="magic.py"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python libmagic"
short_desc="File type identification using libmagic (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/ahupp/python-magic"
distfiles="https://github.com/ahupp/python-magic/archive/${version}.tar.gz"
checksum=6d730389249ab1e34ffb0a3c5beaa44e116687ffa081e0176dab6c59ff271593
post_install() {
vlicense LICENSE
}
python3-magic_package() {
archs=noarch
depends="python3 libmagic"
pycompile_module="magic.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}