2014-06-19 16:07:26 +02:00
|
|
|
# Template file for 'python-xdg'
|
|
|
|
pkgname=python-xdg
|
2014-08-01 20:20:20 +02:00
|
|
|
version=0.25
|
|
|
|
revision=1
|
|
|
|
noarch=yes
|
2014-06-19 16:07:26 +02:00
|
|
|
wrksrc="pyxdg-${version}"
|
2014-08-01 20:20:20 +02:00
|
|
|
build_style="python-module"
|
|
|
|
python_versions="2.7 3.4"
|
2014-06-19 16:07:26 +02:00
|
|
|
hostmakedepends="python-devel python3.4-devel"
|
|
|
|
makedepends="${hostmakedepends}"
|
|
|
|
depends="python"
|
2014-08-01 20:20:20 +02:00
|
|
|
replaces="pyxdg>=0"
|
2014-06-19 16:07:26 +02:00
|
|
|
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"
|
2014-08-01 20:20:20 +02:00
|
|
|
checksum=81e883e0b9517d624e8b0499eb267b82a815c0b7146d5269f364988ae031279d
|
2014-06-19 16:07:26 +02:00
|
|
|
|
|
|
|
python3.4-xdg_package() {
|
2014-08-01 20:20:20 +02:00
|
|
|
noarch=yes
|
2014-06-19 16:07:26 +02:00
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="xdg"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
2014-08-01 20:20:20 +02:00
|
|
|
vmove usr/lib/python3.4
|
2014-06-19 16:07:26 +02:00
|
|
|
}
|
|
|
|
}
|