void-packages/srcpkgs/python-xdg/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

27 lines
755 B
Bash

# Template file for 'python-xdg'
pkgname=python-xdg
version=0.25
revision=3
noarch=yes
wrksrc="pyxdg-${version}"
build_style="python-module"
hostmakedepends="python-devel python3-devel"
makedepends="${hostmakedepends}"
depends="python"
pycompile_module="xdg"
short_desc="Python2 library to access freedesktop.org standards"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://freedesktop.org/Software/pyxdg"
distfiles="http://www.freedesktop.org/~takluyver/pyxdg-${version}.tar.gz"
checksum=81e883e0b9517d624e8b0499eb267b82a815c0b7146d5269f364988ae031279d
python3-xdg_package() {
noarch=yes
depends="python3"
pycompile_module="xdg"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}