2014-06-19 16:07:26 +02:00
|
|
|
# Template file for 'python-xdg'
|
|
|
|
pkgname=python-xdg
|
|
|
|
version=0.23
|
2014-06-19 16:10:11 +02:00
|
|
|
revision=4
|
2014-06-19 16:07:26 +02:00
|
|
|
wrksrc="pyxdg-${version}"
|
|
|
|
build_style=python-module
|
2014-06-19 16:10:11 +02:00
|
|
|
replaces="pyxdg>=0"
|
2014-06-19 16:07:26 +02:00
|
|
|
hostmakedepends="python-devel python3.4-devel"
|
|
|
|
makedepends="${hostmakedepends}"
|
|
|
|
depends="python"
|
|
|
|
noarch="yes"
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
pycompile_module="xdg"
|
|
|
|
short_desc="Python2 library to access freedesktop.org standards"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
homepage="http://freedesktop.org/Software/pyxdg"
|
|
|
|
distfiles="http://www.freedesktop.org/~takluyver/pyxdg-${version}.tar.gz"
|
|
|
|
checksum=5cc0573dd0b8096404796ae2655e7631d2905a033f959a1072929dc1a10a678a
|
|
|
|
|
|
|
|
python3.4-xdg_package() {
|
|
|
|
noarch="yes"
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="xdg"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove /usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|