New package: python-rarfile-3.0

This commit is contained in:
Daniel Santana 2018-11-10 13:16:01 -02:00 committed by maxice8
parent 36da7ea2f9
commit eb5bc6ac85
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# 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
}
}

1
srcpkgs/python3-rarfile Symbolic link
View file

@ -0,0 +1 @@
python-rarfile