25 lines
697 B
Bash
25 lines
697 B
Bash
# Template file for 'python-xdg'
|
|
pkgname=python-xdg
|
|
version=0.27
|
|
revision=2
|
|
wrksrc="pyxdg-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="xdg"
|
|
short_desc="Python2 library to access freedesktop.org standards"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.0-only"
|
|
homepage="https://freedesktop.org/Software/pyxdg"
|
|
distfiles="${PYPI_SITE}/p/pyxdg/pyxdg-${version}.tar.gz"
|
|
checksum=80bd93aae5ed82435f20462ea0208fb198d8eec262e831ee06ce9ddb6b91c5a5
|
|
|
|
python3-xdg_package() {
|
|
depends="python3"
|
|
pycompile_module="xdg"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|