mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-01 00:42:03 +01:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
30 lines
856 B
Plaintext
30 lines
856 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py3-vobject
|
|
pkgver=0.9.6.1
|
|
pkgrel=6
|
|
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() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
check() {
|
|
python3 tests.py
|
|
}
|
|
|
|
sha512sums="499f22a1a9e60398a89d3d6fa472a0b4c9dd00b98440a4ce873da824f83cef1b0a5eb9e5051267931707a3eef00a1d3fb83ff63ffe857b403c4ac3a131f18dff py3-vobject-0.9.6.1.tar.gz"
|