diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-06-03 01:04:09 -0500 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-06-09 12:44:02 +0000 |
commit | dfc1da3f96e9b363be81dac8a04b7627c6bd3496 (patch) | |
tree | fc20f8732fc6f1a90a1521e9aa08f34b6593dde1 /testing/py-vobject | |
parent | f6481045e9ceedda81d5ea96038c9e84ba569ab1 (diff) | |
download | aports-dfc1da3f96e9b363be81dac8a04b7627c6bd3496.tar.bz2 aports-dfc1da3f96e9b363be81dac8a04b7627c6bd3496.tar.xz |
testing/py-vobject: new aport
http://vobject.skyhouseconsulting.com
Module for parsing and generating vCard and vCalendar files
Diffstat (limited to 'testing/py-vobject')
-rw-r--r-- | testing/py-vobject/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-vobject/APKBUILD b/testing/py-vobject/APKBUILD new file mode 100644 index 0000000000..f7714421e8 --- /dev/null +++ b/testing/py-vobject/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Peter Bui <pnutzh4x0r@gmail.com> +# Maintainer: +pkgname=py-vobject +_pkgname=vobject +pkgver=0.8.1c +pkgrel=0 +pkgdesc="Module for parsing and generating vCard and vCalendar files" +url="http://vobject.skyhouseconsulting.com" +arch="noarch" +license="Apache" +depends="python py-dateutil py-icu" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://vobject.skyhouseconsulting.com/${_pkgname}-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="c9686dd74d39fdae140890d9c694c076 vobject-0.8.1c.tar.gz" +sha256sums="594113117f2017ed837c8f3ce727616f9053baa5a5463a7420c8249b8fc556f5 vobject-0.8.1c.tar.gz" +sha512sums="3c7071e040172c8ef9e93bb818fb3c5f04912322adaaf56794b00005ff1ee787d54ad6860835be4fb123fa4215c104e1cbc4031dcdab53e96f7dbed771c0fa79 vobject-0.8.1c.tar.gz" |