void-packages/srcpkgs/python-enzyme/template
2019-03-01 12:04:45 -03:00

26 lines
747 B
Bash

# Template file for 'python-enzyme'
pkgname=python-enzyme
version=0.4.1
revision=1
archs=noarch
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() {
archs=noarch
pycompile_module="enzyme"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}