void-packages/srcpkgs/python-rarfile/template

32 lines
781 B
Bash
Raw Normal View History

2018-11-10 16:16:01 +01:00
# Template file for 'python-rarfile'
pkgname=python-rarfile
version=3.0
revision=1
noarch=yes
wrksrc="rarfile-${version}"
build_style=python-module
pycompile_module="rarfile"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="RAR archive reader for Python (Python2)"
maintainer="Daniel Santana <daniel@santana.tech>"
license="ISC"
homepage="https://github.com/markokr/rarfile"
distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz"
checksum=e816409e3b36794507cbe0b678bed3e4703d7412c5f7f9201a510ed6fdc66c35
post_install() {
vlicense LICENSE
}
python3-rarfile_package() {
noarch=yes
pycompile_module="rarfile"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}