31 lines
833 B
Bash
31 lines
833 B
Bash
# Template file for 'python-logfury'
|
|
pkgname=python-logfury
|
|
version=0.1.2
|
|
revision=3
|
|
noarch=yes
|
|
wrksrc="logfury-${version}"
|
|
build_style=python-module
|
|
pycompile_module="logfury"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six python-funcsigs"
|
|
short_desc="Low-boilerplate logging of method calls (Python2)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/ppolewicz/logfury"
|
|
distfiles="$homepage/archive/$version.tar.gz"
|
|
checksum=07464a8c1673a6012fee0e7b70b9b12941ede4210ed53e8dcda40433e2ef70fa
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-logfury_package() {
|
|
noarch=yes
|
|
pycompile_module="logfury"
|
|
depends="python3-six python3-funcsigs"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|