python-vobject: update to 0.9.3

vobject is python3 compatible now.
This commit is contained in:
Alessio Sergi 2016-08-28 20:09:03 +02:00
parent 14255d3cbd
commit 030737420d
2 changed files with 29 additions and 8 deletions

View file

@ -1,16 +1,36 @@
# Template file for 'python-vobject'
pkgname=python-vobject
version=0.9.2
version=0.9.3
revision=1
wrksrc=vobject-${version}
noarch=yes
wrksrc="vobject-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="vobject"
hostmakedepends="python-setuptools"
depends="python-dateutil"
short_desc="Vobject parses and creates iCalendar and vCard files in Python2"
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="http://eventable.github.io/vobject"
distfiles="https://github.com/eventable/vobject/archive/${version}.tar.gz"
checksum=3df7a6f59a7696932b83ed1da0fc8f84228bbe7456faf395f8c0cbbd988859f0
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
}
}

1
srcpkgs/python3.4-vobject Symbolic link
View file

@ -0,0 +1 @@
python-vobject