# Maintainer: Natanael Copa pkgname=py3-vobject pkgver=0.9.6.1 pkgrel=2 pkgdesc="Module for parsing and generating vCard and vCalendar files" url="http://eventable.github.io/vobject/" arch="noarch" license="Apache-2.0" depends="python3 py3-dateutil" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/eventable/vobject/archive/$pkgver.tar.gz" builddir="$srcdir"/vobject-$pkgver replaces="py-vobject" # Backwards compatibility provides="py-vobject=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } check() { cd "$builddir" python3 tests.py } sha512sums="499f22a1a9e60398a89d3d6fa472a0b4c9dd00b98440a4ce873da824f83cef1b0a5eb9e5051267931707a3eef00a1d3fb83ff63ffe857b403c4ac3a131f18dff py3-vobject-0.9.6.1.tar.gz"