mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-12 18:13:50 +02:00
python-vobject: update to 0.9.3
vobject is python3 compatible now.
This commit is contained in:
parent
14255d3cbd
commit
030737420d
2 changed files with 29 additions and 8 deletions
|
@ -1,16 +1,36 @@
|
||||||
# Template file for 'python-vobject'
|
# Template file for 'python-vobject'
|
||||||
pkgname=python-vobject
|
pkgname=python-vobject
|
||||||
version=0.9.2
|
version=0.9.3
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=vobject-${version}
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
wrksrc="vobject-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
pycompile_module="vobject"
|
pycompile_module="vobject"
|
||||||
hostmakedepends="python-setuptools"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
depends="python-dateutil"
|
depends="python-setuptools python-dateutil python-six"
|
||||||
short_desc="Vobject parses and creates iCalendar and vCard files in Python2"
|
short_desc="Python2 package for parsing and creating iCalendar and vCard files"
|
||||||
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="http://eventable.github.io/vobject"
|
homepage="https://eventable.github.io/vobject"
|
||||||
distfiles="https://github.com/eventable/vobject/archive/${version}.tar.gz"
|
distfiles="${PYPI_SITE}/v/vobject/vobject-${version}.tar.gz"
|
||||||
checksum=3df7a6f59a7696932b83ed1da0fc8f84228bbe7456faf395f8c0cbbd988859f0
|
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
1
srcpkgs/python3.4-vobject
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-vobject
|
Loading…
Add table
Reference in a new issue