void-packages/srcpkgs/python-enzyme/template
2018-11-26 22:43:57 -02:00

26 lines
743 B
Bash

# Template file for 'python-enzyme'
pkgname=python-enzyme
version=0.4.1
revision=1
noarch=yes
wrksrc="enzyme-${version}"
build_style=python-module
pycompile_module="enzyme"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Enzyme is a Python module to parse video metadata (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="Apache-2.0"
homepage="https://github.com/Diaoul/enzyme"
distfiles="${PYPI_SITE}/e/enzyme/enzyme-${version}.tar.gz"
checksum=f2167fa97c24d1103a94d4bf4eb20f00ca76c38a37499821049253b2059c62bb
python3-enzyme_package() {
noarch=yes
pycompile_module="enzyme"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}