void-packages/srcpkgs/python-appdirs/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

36 lines
879 B
Bash

# Template file for 'python-appdirs'
pkgname=python-appdirs
version=1.4.3
revision=2
archs=noarch
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="appdirs.py"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 module for determining appropriate platform-specific dirs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/ActiveState/appdirs/"
distfiles="${PYPI_SITE}/a/appdirs/appdirs-${version}.tar.gz"
checksum=9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92
do_check() {
python2 setup.py test
}
post_install() {
vlicense LICENSE.txt
}
python3-appdirs_package() {
archs=noarch
depends="python3"
pycompile_module="appdirs.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}