34 lines
825 B
Bash
34 lines
825 B
Bash
# Template file for 'python-appdirs'
|
|
pkgname=python-appdirs
|
|
version=1.4.3
|
|
revision=1
|
|
wrksrc="${pkgname/python-//}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="appdirs"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
short_desc="A small Python2 module for determining appropiate appdirs"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://github.com/ActiveState/appdirs"
|
|
distfiles="${PYPI_SITE}/a/appdirs/appdirs-${version}.tar.gz"
|
|
checksum=9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92
|
|
noarch=yes
|
|
|
|
do_check() {
|
|
python setup.py test
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
python3-appdirs_package() {
|
|
noarch=yes
|
|
pycompile_module="appdirs"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt
|
|
}
|
|
}
|