python-vobject: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
2ca32aa40d
commit
a7993ca598
|
@ -1,13 +1,12 @@
|
|||
# Template file for 'python-vobject'
|
||||
pkgname=python-vobject
|
||||
version=0.9.3
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="vobject-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="vobject"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-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>"
|
||||
|
@ -17,20 +16,26 @@ 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"
|
||||
vobject:change_tz:/usr/bin/change_tz2
|
||||
vobject:ics_diff:/usr/bin/ics_diff2"
|
||||
|
||||
python3.4-vobject_package() {
|
||||
python3-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}"
|
||||
replaces="python3.4-vobject>=0"
|
||||
depends="python3-setuptools python3-dateutil python3-six"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="
|
||||
vobject:change_tz:/usr/bin/change_tz3.4
|
||||
vobject:ics_diff:/usr/bin/ics_diff3.4"
|
||||
vobject:change_tz:/usr/bin/change_tz3
|
||||
vobject:ics_diff:/usr/bin/ics_diff3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3.4
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-vobject_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-vobject>=${version}_${revision}"
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-vobject
|
Loading…
Reference in New Issue