void-packages/srcpkgs/python-vobject/template
Alessio Sergi 030737420d python-vobject: update to 0.9.3
vobject is python3 compatible now.
2016-08-28 20:09:42 +02:00

36 lines
1.1 KiB
Bash

# Template file for 'python-vobject'
pkgname=python-vobject
version=0.9.3
revision=1
noarch=yes
wrksrc="vobject-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="vobject"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python-setuptools python-dateutil python-six"
short_desc="Python2 package for parsing and creating iCalendar and vCard files"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="Apache-2.0"
homepage="https://eventable.github.io/vobject"
distfiles="${PYPI_SITE}/v/vobject/vobject-${version}.tar.gz"
checksum=10b150b87ee5fffefd3aa1ea12f31aab45a7b7d010d1ce6816afaff8db726520
alternatives="
vobject:change_tz:/usr/bin/change_tz2.7
vobject:ics_diff:/usr/bin/ics_diff2.7"
python3.4-vobject_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="vobject"
depends="python3.4-setuptools python3.4-dateutil python3.4-six"
short_desc="${short_desc/Python2/Python3.4}"
alternatives="
vobject:change_tz:/usr/bin/change_tz3.4
vobject:ics_diff:/usr/bin/ics_diff3.4"
pkg_install() {
vmove usr/bin/*3.4
vmove usr/lib/python3.4
}
}