30 lines
801 B
Bash
30 lines
801 B
Bash
# Template file for 'python-rarfile'
|
|
pkgname=python-rarfile
|
|
version=4.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="rarfile-${version}"
|
|
build_style=python-module
|
|
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"
|
|
changelog="https://github.com/markokr/rarfile/raw/master/doc/news.rst"
|
|
distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz"
|
|
checksum=67548769229c5bda0827c1663dce3f54644f9dbfba4ae86d4da2b2afd3e602a1
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-rarfile_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|